Getting a Header Line to Start from Left Margin
Hi All, I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter begins in the left margin, there is no line on top of the chapter heading text in the margin. How can I get the line to also start in the margin where the chapter heading text begins? Thanks Emmanuel
On 2012-03-09 Emmanuel Asante
I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter begins in the left margin, there is no line on top of the chapter heading text in the margin. How can I get the line to also start in the margin where the chapter heading text begins?
Honestly, I had to read your post three times to understand what you want to achieve. \setuplayout [leftmargindistance=0pt] \setupbackgrounds [header] [leftmargin,text] [bottomframe=on] I'd like to know, if there's a simple solution (I would write a MetaPost three-liner for this) without touching the leftmargindis- tance. Regards Marco
On Fri, Mar 9, 2012 at 10:32 AM, Marco
On 2012-03-09 Emmanuel Asante
wrote: I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter begins in the left margin, there is no line on top of the chapter heading text in the margin. How can I get the line to also start in the margin where the chapter heading text begins?
Honestly, I had to read your post three times to understand what you want to achieve.
\setuplayout [leftmargindistance=0pt] \setupbackgrounds [header] [leftmargin,text] [bottomframe=on]
I'd like to know, if there's a simple solution (I would write a MetaPost three-liner for this) without touching the leftmargindis- tance.
Regards
Marco
Thanks. I had to do some trial and error before I got what I wanted, but it pointed me in the right direction.
___________________________________________________________________________________
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
___________________________________________________________________________________
On 9 Mar 2012, at 18:32, Marco wrote:
On 2012-03-09 Emmanuel Asante
wrote: I have a chapter heading text starting in the left margin and a hairline below my header texts spanning the full width of the header. Since the chapter begins in the left margin, there is no line on top of the chapter heading text in the margin. How can I get the line to also start in the margin where the chapter heading text begins?
Honestly, I had to read your post three times to understand what you want to achieve.
\setuplayout [leftmargindistance=0pt] \setupbackgrounds [header] [leftmargin,text] [bottomframe=on]
I'd like to know, if there's a simple solution (I would write a MetaPost three-liner for this) without touching the leftmargindis- tance.
You could consider setting up a layer, filling the layer with the line (your three-liner in Metapost) and flush it in the headertext setup Willi
Regards
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)
-
Emmanuel Asante
-
Marco
-
Willi Egger