ai2472206007@yeah.net schrieb am 03.06.2024 um 11:35:
you can try 'setuptext' and '\setuptexttexts' to put "draft" in margin.and use 'orientation' to change direction.
%%%% \defineframed [marginframe] [width=max, height=max, style=\ss, corner=08, location=lohi, frame=off] \setuptext [style={\ss}] \setuptexttexts [margin] [] [\marginframe{\hbox orientation 1 {DRAFT}}] [\marginframe{\hbox orientation 1 {DRAFT}}]
There is no need for low level option when you use \rotate, e.g. [\marginframe{\rotate[rotation=270]{DRAFT}}] \framed has a orientation key but it's not so easy to use in this case because you have to set length for width and height, e.g. \defineframed [marginframe] [width=\textheight, height=\rightmarginwidth, orientation=270] Wolfgang