* Chapter/section text inmargin
@ 2006-07-03 19:46 Jason Knight
2006-07-11 10:06 ` Taco Hoekwater
0 siblings, 1 reply; 3+ messages in thread
From: Jason Knight @ 2006-07-03 19:46 UTC (permalink / raw)
I'm attempting to do some formatting similar to Bringhurst's Elements of
Typographic Style and am getting a bit stymied, where section titles
are in the margin right next to the text.
Here's what I've got so far in ConTeXt (and it gets me close):
\setupheads[sectionnumber=no]
\setuphead[chapter][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
\setuphead[subsection][textcommand=\inmargin,style=\scx,before=\nowhitespace,after=\nowhitespace]
This places the chapter/section/subsection titles in the margin alright,
but it is still above the text it refers to. How do I get it alongside?
Thanks for your help!
Jason Knight
--
Jason Knight
Systems-Analyst-at-large
"They fix 'em, I break 'em. Thus, analysis."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chapter/section text inmargin
2006-07-03 19:46 Chapter/section text inmargin Jason Knight
@ 2006-07-11 10:06 ` Taco Hoekwater
2006-07-11 15:04 ` Jason Knight
0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2006-07-11 10:06 UTC (permalink / raw)
Jason Knight wrote:
> I'm attempting to do some formatting similar to Bringhurst's Elements of
> Typographic Style and am getting a bit stymied, where section titles
> are in the margin right next to the text.
>
> Here's what I've got so far in ConTeXt (and it gets me close):
>
> \setupheads[sectionnumber=no]
> \setuphead[chapter][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
> \setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
> \setuphead[subsection][textcommand=\inmargin,style=\scx,before=\nowhitespace,after=\nowhitespace]
>
> This places the chapter/section/subsection titles in the margin alright,
> but it is still above the text it refers to. How do I get it alongside?
The head is always at least one line high, even if it is in the margin.
Something as simple as this may be sufficient for you needs:
\setuphead
[section]
[textcommand=\inmargin,
style=\tfa,
before=\nowhitespace,
after={\kern -12pt}]
Good luck, Taco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chapter/section text inmargin
2006-07-11 10:06 ` Taco Hoekwater
@ 2006-07-11 15:04 ` Jason Knight
0 siblings, 0 replies; 3+ messages in thread
From: Jason Knight @ 2006-07-11 15:04 UTC (permalink / raw)
Thanks, Taco -- this gets me going in the direction I want to go.
jason
Taco Hoekwater wrote:
>
> Jason Knight wrote:
>
>>I'm attempting to do some formatting similar to Bringhurst's Elements of
>> Typographic Style and am getting a bit stymied, where section titles
>>are in the margin right next to the text.
>>
>>Here's what I've got so far in ConTeXt (and it gets me close):
>>
>>\setupheads[sectionnumber=no]
>>\setuphead[chapter][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
>>\setuphead[section][textcommand=\inmargin,style=\tfa,before=\nowhitespace,after=\nowhitespace]
>>\setuphead[subsection][textcommand=\inmargin,style=\scx,before=\nowhitespace,after=\nowhitespace]
>>
>>This places the chapter/section/subsection titles in the margin alright,
>>but it is still above the text it refers to. How do I get it alongside?
>
>
> The head is always at least one line high, even if it is in the margin.
> Something as simple as this may be sufficient for you needs:
>
> \setuphead
> [section]
> [textcommand=\inmargin,
> style=\tfa,
> before=\nowhitespace,
> after={\kern -12pt}]
>
> Good luck, Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-11 15:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-03 19:46 Chapter/section text inmargin Jason Knight
2006-07-11 10:06 ` Taco Hoekwater
2006-07-11 15:04 ` Jason Knight
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).