Helin Gai wrote:
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?
you need to make sure that the second box has the same height \hbox to\hsize{ \setupframed[frame=off]% \switchtobodyfont[20pt]% \vtop{chapter \switchtobodyfont[20pt] 1}\quad \vtop{\inframed[width=6cm,align=right]{Test}} } or \hbox to\hsize{ \setupframed[frame=off]% \setbox0=\vtop{chapter \switchtobodyfont[20pt] 1} \setbox2=\vtop{\inframed[width=6cm,align=right]{Test}} \ht2=\ht0 \box0\quad\box2 } \inframed does the lowering ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------