Hello, list! I'm struggling to try to do something that seems simple but I'm not able to succeed. I would like to have the left margin of my document painted in red (or another color, I don't mind right now). Here is what I have: \setuppapersize[A5][A4] \setuparranging[2UP,rotated,doublesided] \setuplayout[margin=18mm, width=middle,height=middle, topspace=0cm,backspace=18mm] \setupcolors[state=start] \setupbackgrounds[text] [leftmargin] [background=color,backgroundcolor=red] But it makes as if I had no leftmargin. What am I doing wrong? Thanks for your help, A+ -AJ
Am 01.02.2009 um 12:21 schrieb Antoine Junod:
I'm struggling to try to do something that seems simple but I'm not able to succeed. I would like to have the left margin of my document painted in red (or another color, I don't mind right now).
Here is what I have:
\setuppapersize[A5][A4] \setuparranging[2UP,rotated,doublesided] \setuplayout[margin=18mm, width=middle,height=middle, topspace=0cm,backspace=18mm] \setupcolors[state=start] \setupbackgrounds[text] [leftmargin] [background=color,backgroundcolor=red]
But it makes as if I had no leftmargin. What am I doing wrong?
Make a complete (with text) example where we can see your problem (a example of the output could help), I get a red background for the left margin. Wolfgang
Hi wolfgang, and thanks for your reply.
Wolfgang Schuster
Make a complete (with text) example where we can see your problem (a example of the output could help), I get a red background for the left margin.
Here it is. And the output (processed with texexec --lua) is attached. Thanks for everything. -AJ \setuppapersize [A5][A4] \setuparranging [2UP,rotated,doublesided] \setuplayout [margin=18mm, width=middle,height=middle, topspace=0cm,backspace=18mm] \setupcolors [state=start] \setupbackgrounds [text] [leftmargin] [background=color,backgroundcolor=red] \showframe \showgrid \enableregime[utf] \starttext \section{my taylor is rich} knuthknuth \page[yes] \section{God save the Queen} knuthknuth \stoptext
Am 01.02.2009 um 14:11 schrieb Antoine Junod:
Hi wolfgang, and thanks for your reply.
Wolfgang Schuster
writes: [trying to get a red leftmargin]
Make a complete (with text) example where we can see your problem (a example of the output could help), I get a red background for the left margin.
Here it is. And the output (processed with texexec --lua) is attached.
\showframe
\showframe overwrites the \setupbackgrounds settings, comment it and you can see it. Wolfgang
Wolfgang Schuster
Am 01.02.2009 um 14:11 schrieb Antoine Junod:
Hi wolfgang, and thanks for your reply.
Wolfgang Schuster
writes: [trying to get a red leftmargin]
Make a complete (with text) example where we can see your problem (a example of the output could help), I get a red background for the left margin.
Here it is. And the output (processed with texexec --lua) is attached.
\showframe
\showframe overwrites the \setupbackgrounds settings, comment it and you can see it.
Thanks Wolfgang, that was that. A+ -AJ
participants (2)
-
Antoine Junod
-
Wolfgang Schuster