ai2472206...@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to