setuplocalinterlinespace not affecting the whole group?
Hi, I have this MWE: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definebodyfontenvironment [9bp] [ normal=9bp, b=24bp, ] \setupbodyfont[9bp] \startTEXpage { \setuplocalinterlinespace[line=25.5bp] %\setupinterlinespace[line=25.5bp] \tfb One\crlf Two Three } \stopTEXpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect only the first paragraph in the group, but not the distance between the two paragraphs. Using \setupinterlinespace instead of \setuplocalinterlinespace gives the same result. (Adding a \crlf between Two and Three gives the correct visual appearance. But that's an ugly hack of course...) Any hints? Best, Denis
Denis Maier via ntg-context schrieb am 13.10.2021 um 17:52:
Hi,
I have this MWE:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definebodyfontenvironment
[9bp]
[
normal=9bp,
b=24bp,
]
\setupbodyfont[9bp]
\startTEXpage
{
\setuplocalinterlinespace[line=25.5bp]
%\setupinterlinespace[line=25.5bp]
\tfb
One\crlf
Two
Three
}
\stopTEXpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect only the first paragraph in the group, but not the distance between the two paragraphs. Using \setupinterlinespace instead of \setuplocalinterlinespace gives the same result.
(Adding a \crlf between Two and Three gives the correct visual appearance. But that’s an ugly hack of course...)
Any hints?
Add \par after Three or remove the curly braces. Wolfgang
Thanks!
Von: Wolfgang Schuster
participants (2)
-
denis.maier@unibe.ch
-
Wolfgang Schuster