* Getting a Header Line to Start from Left Margin
@ 2012-03-09 16:27 Emmanuel Asante
2012-03-09 17:32 ` Marco
0 siblings, 1 reply; 4+ messages in thread
From: Emmanuel Asante @ 2012-03-09 16:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 362 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 424 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting a Header Line to Start from Left Margin
2012-03-09 16:27 Getting a Header Line to Start from Left Margin Emmanuel Asante
@ 2012-03-09 17:32 ` Marco
2012-03-09 19:21 ` Emmanuel Asante
2012-03-09 21:39 ` Willi Egger
0 siblings, 2 replies; 4+ messages in thread
From: Marco @ 2012-03-09 17:32 UTC (permalink / raw)
To: ntg-context
On 2012-03-09 Emmanuel Asante <emmanuela.asante@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.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting a Header Line to Start from Left Margin
2012-03-09 17:32 ` Marco
@ 2012-03-09 19:21 ` Emmanuel Asante
2012-03-09 21:39 ` Willi Egger
1 sibling, 0 replies; 4+ messages in thread
From: Emmanuel Asante @ 2012-03-09 19:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1508 bytes --]
On Fri, Mar 9, 2012 at 10:32 AM, Marco <netuse@lavabit.com> wrote:
> On 2012-03-09 Emmanuel Asante <emmanuela.asante@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.
>
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2463 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting a Header Line to Start from Left Margin
2012-03-09 17:32 ` Marco
2012-03-09 19:21 ` Emmanuel Asante
@ 2012-03-09 21:39 ` Willi Egger
1 sibling, 0 replies; 4+ messages in thread
From: Willi Egger @ 2012-03-09 21:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 9 Mar 2012, at 18:32, Marco wrote:
> On 2012-03-09 Emmanuel Asante <emmanuela.asante@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
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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-09 21:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-09 16:27 Getting a Header Line to Start from Left Margin Emmanuel Asante
2012-03-09 17:32 ` Marco
2012-03-09 19:21 ` Emmanuel Asante
2012-03-09 21:39 ` Willi Egger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).