[NTG-context] Setting vertical spacing of lines inside a \framed[align=]

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Fri Apr 24 17:54:44 CEST 2020


Gerben Wierda schrieb am 24.04.2020 um 17:38:
> I have been experimenting with \startpacked..\stoppacked but it doesn’t 
> seem to work. What is the preferred way of getting lines in a normal 
> paragraph (actually, we’re talking about a \framed with align, so a full 
> paragraph in a TeX \vbox)

Do you want to have a linebreak at the end of the frame

\starttext

\startframed
\samplefile{knuth}
\stopframed

\startframed[width=max,align=normal]
\samplefile{knuth}
\stopframed

\stoptext

or do you want to change to change the spacing

\starttext

\startframedtext[width=max,style={\setupinterlinespace[medium]}]
\samplefile{knuth}
\stopframedtext

\startframedtext[width=max,style={\setupwhitespace[medium]}]
\samplefile{knuth}
\stopframedtext

\stoptext

Wolfgang


More information about the ntg-context mailing list