Jon Wong schrieb am 06.12.2019 um 04:13:
\setupwhitespace[line] % A line's spacing between paragraphs.
\starttext
\definetextbackground[InfoText][
location=paragraph, frame=on]
You can't use "location=paragraph" because the argument of the \setlayer
command is a simple horizontal box
\setupwhitespace[line] % A line's spacing between paragraphs.
\starttext
\definetextbackground[InfoText][
location=paragraph, frame=on]
\definelayer[testlayer]
\setlayer[testlayer][x=1cm,y=3cm]{%
\startInfoText
\stopInfoText
}
\flushlayer[testlayer]
\stoptext
Doesn’t work. Only works if