I am trying to create a papersize for a business card (Japanese sized). I want a 3 mm border/edge and the rest of the space available for text space. I'm able to get new this for the vertical dimension, but the horizontal text area is about 20 mm shorter than desired or (intented) setyp values. How can I get this to provide a text are width of 85 mm and not the 65 mm I am currently getting, even tough I only spacife 3mm right and left edges? Thanks % Minimal example follows: \definepapersize[business-card][width=91mm,height=55mm] \setuppapersize[business-card][business-card] \setuppagenumbering[location=] \setuplayout[leftedge=0mm, leftedgedistance=0mm, leftmargin=0mm, leftmargindistance=0mm, backspace=3mm, rightedge=0mm,rightedgedistance=0mm,rightmargin=0mm,rightmargindistance=0mm, topspace=3mm, top=0mm, topdistance=0mm, header=0mm, headerdistance=0mm, footerdistance=0mm, footer=0mm,bottomdistance=0mm, bottom=0mm, makeupwidth=85mm ] \starttext \showframe \midaligned{Hello World!} \showlayout \stoptext
On 2013–10–09 hwitloc@gmail.com wrote:
I want a 3 mm border/edge and the rest of the space available for text space.
\definepapersize [business-card] [width=91mm, height=55mm] \setuppapersize [business-card] \setuplayout [backspace=3mm, topspace=3mm, margin=0mm, header=0mm, footer=0mm, width=middle, height=middle] \starttext \showframe \midaligned{Hello World!} \showlayout \stoptext Marco
Am 09.10.2013 um 14:38 schrieb Marco Patzer
On 2013–10–09 hwitloc@gmail.com wrote:
I want a 3 mm border/edge and the rest of the space available for text space.
\definepapersize [business-card] [width=91mm, height=55mm]
\setuppapersize [business-card]
\setuplayout [backspace=3mm, topspace=3mm, margin=0mm, header=0mm, footer=0mm, width=middle, height=middle]
You can also modify the “page” layout. \setuplayout[page][backspace=3mm,topspace=3mm] \setuplayout[page] Wolfgang
Marco, thanks for demonstrating a clean way to set up custom layout sizes. This is very usefull and will be applied to various target documents and paper sizes depending on the need. Regards Marco Patzer wrote:
On 2013–10–09 hwitloc@gmail.com wrote:
I want a 3 mm border/edge and the rest of the space available for text space.
\definepapersize [business-card] [width=91mm, height=55mm]
\setuppapersize [business-card]
\setuplayout [backspace=3mm, topspace=3mm, margin=0mm, header=0mm, footer=0mm, width=middle, height=middle]
\starttext \showframe \midaligned{Hello World!} \showlayout \stoptext
Marco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
hwitloc@gmail.com
-
Marco Patzer
-
Wolfgang Schuster