
Am 21.07.25 um 10:53 schrieb Henning Hraban Ramm:
Am 21.07.25 um 10:38 schrieb Thomas Meyer:
Hi folks,
once again I have a problem that I can't solve: I would like to have a linebreak for \setupheadertexts.
\setupheadertexts [{\bf Johnson}, Uwe][{\sl Mutmassungen über Jakob}] \starttext Freiheit ist die Einsicht in die Notwendigkeit. \stoptext
*Johnson,* Uwe
should be the result. Unfortunately, what I have tried (\\, \crlf, \break) does not work.
Use a frame like in https://wiki.contextgarden.net/Command/setupheadertexts (example multi-line headers). Maybe a \vbox is enough.
Hraban
Hi Hraban, thank you for your help. I solved it this way: \def\PName{Uwe} \def\AName{Johnson} \def\BTitle{Mutmassungen über Jakob} \def\aName{\startframed[frame=off,align=flushleft,width=fit]{\vbox {{\bf \AName},}\\ \PName}\stopframed} \def\bTitle{\startframed[frame=off,align=flushright,width=fit]{\vbox {{\it \BTitle}}\\~ }\stopframed} \setupheadertexts [\aName] [\bTitle] \starttext Freiheit ist die Einsicht in die Notwendigkeit. \stoptext Without \vbox the indentation is slightly different. It may be that it is easier. Yours, Tómas