I want the lines in this frame packed more closely together:
\starttext
\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\setupinterlinespace[0.9]\colored[r=0.000, g=0.000,
b=0.000]{\switchtobodyfont[11.0pt] \rm [My]\\Application\\(Component)}}
\stoptext
I tried a bit of fiddling, and the following changes the height of the first line only:
\starttext
\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, g=0.000,
b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm [My]\\Application\\(Component)}}
\stoptext
and if I change the value to 0.6, only the first line break gets packed somewhat. But I can’t get the entire paragraph inside the frame packed. I played around with the placing of setupinterlinespace in that snippet above, but nothing really works so far.
I left the \colored etc in, because I also need to do all of those, so I need a solution that works in the above setting.
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