Hi,

How do you get a uniform line spacing in the following frames where it's not
the case ?

\setuplayout[header=0pt,footer=0pt]

\def\myFrameSetupA{\setupframed[width=\textwidth,frame=on,top=\vss,bottom=\vss,align=middle]}
\def\myFrameSetupB{\setupframed[width=\textwidth,frame=on,location=middle,align=middle,offset=15pt]}

\def\myFrameTextA{Text\\In A\\Frame}
\def\myFrameTextB{Text\blank[medium]In A\blank[medium]Frame}

\def\myFrameA{\framed[height=50mm]{\bf\myFrameTextA}}
\def\myFrameB{\framed[height=50mm]{\bf\myFrameTextB}}
\def\myFrameC{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextA}}
\def\myFrameD{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextB}}

\def\myFrameOne{\myFrameSetupA\myFrameA}  % OK
\def\myFrameTwo{\myFrameSetupA\myFrameB}   % OK
\def\myFrameThree{\myFrameSetupA\myFrameC}  % line spacing is not uniform
\def\myFrameFour{\myFrameSetupA\myFrameD}  % line spacing is not uniform

\def\myFrameFive{\myFrameSetupB\myFrameA}  % OK
\def\myFrameSix{\myFrameSetupB\myFrameB}   % OK
\def\myFrameSeven{\myFrameSetupB\myFrameC} % line spacing is not uniform
\def\myFrameEight{\myFrameSetupB\myFrameD}  % line spacing is not uniform

\starttext
 \myFrameOne
 \blank
 \myFrameTwo
 \blank
 \myFrameThree
 \blank
 \myFrameFour

 \page

 \myFrameFive
 \blank
 \myFrameSix
 \blank
 \myFrameSeven
 \blank
 \myFrameEight
\stoptext

-- 
Best,
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to