[NTG-context] How to align baselines?

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Mar 13 10:23:24 CET 2007

2007/3/13, Helin Gai <helin.gai at gmail.com>:
> Hi all,
> I have some difficulty lining up the baselines of two frames... Here's
> what I did:
> \hbox to\hsize{%
> \setupframed[frame=off]%
> \vtop{chapter \switchtobodyfont[20pt] 1}\quad%
> \vtop{\framed[width=6cm,align=right]{Test}}
> Any idea what's going wrong here?
> Thanks a lot!
> Helin
> --
> Helin (Colin) Gai

Hi Helin,

if you want to make your own chapter layout, use the command option
in the \setuphead setup.

To get a frame that is lined up with the current baseline use the \inframed
command instead of the normal \framed command.



   \vtop{chapter \switchtobodyfont[20pt] 1}\quad%


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20070313/8fc1bd14/attachment.html 

More information about the ntg-context mailing list