[NTG-context] Getting a Header Line to Start from Left Margin

Willi Egger context at boede.nl
Fri Mar 9 22:39:23 CET 2012

On 9 Mar 2012, at 18:32, Marco wrote:

> On 2012-03-09 Emmanuel Asante <emmanuela.asante at gmail.com> 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

> Regards
> Marco
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at 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
> ___________________________________________________________________________________

More information about the ntg-context mailing list