9 Dec
2019
9 Dec
'19
9:14 p.m.
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 which doesn't create a paragraph unless you us additional command which create a paragraph.
\definelayer[testlayer] \setlayer[testlayer][x=1cm,y=3cm]{% \startInfoText \stopInfoText }
Simpler method: \setlayer [testlayer] [x=1cm, y=3cm] {\framed[framecolor=red]{TEXT}} or \setlayerframed [testlayer] [x=1cm, y=3cm] [framecolor=red] {TEXT} Wolfgang