Hi, Wolfgang suggested this to put text in the margin but since some updates it does not work anymore : \setuplayout [width=12cm, rightmargin=5cm] \defineuserdata [margintext] [alternative=margintext] \defineuserdataalternative [margintext] [renderingsetup=userdata:margintext] \startsetups [userdata:margintext] \margindata [inright] [%style=\smallbodyfont, style={\switchtobodyfont[9pt]}, width=\rightmarginwidth, align={flushleft,broad}] {{\bf Exemple — }\getinlineuserdata} \stopsetups \starttext \startuserdata[margintext] \input ward \stopuserdata \stoptext Thank you. Fabrice
Fabrice Couvreur schrieb am 10.04.2019 um 11:58:
Hi, Wolfgang suggested this to put text in the margin but since some updates it does not work anymore :
\setuplayout [width=12cm, rightmargin=5cm]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
\startsetups [userdata:margintext] \margindata [inright] [%style=\smallbodyfont, style={\switchtobodyfont[9pt]}, width=\rightmarginwidth, align={flushleft,broad}] {{\bf Exemple — }\getinlineuserdata} \stopsetups
\starttext \startuserdata[margintext] \input ward \stopuserdata \stoptext
Put text (\dontleavehmode works also because it starts a paragraph) after \stopuserdata to flush the content of the margin block. Wolfgang
participants (2)
-
Fabrice Couvreur
-
Wolfgang Schuster