Re: [NTG-context] Chapter/section text inmargin

2006-07-11 Thread Jason Knight
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
 

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Chapter/section text inmargin

2006-07-03 Thread Jason Knight
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.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context