[NTG-context] chapter and section titles in margin of each page

C. metan0r at gmx.de
Thu Mar 31 19:17:30 CEST 2011


Hello,

this is nice:
http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_and_cent
ered_headings
However, the text in the margin has not the same interlinespace as the main
text and that looks weird.
See http://i52.tinypic.com/91rc.png
The only solution I came up with is using \framed:

\startsetups[text a] 
	\framed[align=flushleft,
		height=24\lineheight,
		width=\rightmarginwidth,
		frame=off
		]
	{\getmarking[section]}
\stopsetups

The drawback seems to be that with this, I can not use \raised , so I have
to enlarge the frame  (It says "A box is expected here" when I try to raise
the frame).

Is there a better solution?

P.S: Bonus points: Align baselines of margin text and main text.



More information about the ntg-context mailing list