ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	ai2472206007@yeah.net
Subject: [NTG-context] Re: Draft vertical text in margins
Date: Mon, 3 Jun 2024 17:04:21 +0200	[thread overview]
Message-ID: <238bcf95-efa2-fc9f-9076-9649f18a3aa1@gmail.com> (raw)
In-Reply-To: <171740730911.1996.8667532799233185101@cgl.ntg.nl>

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
___________________________________________________________________________________
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	other threads:[~2024-06-03 15:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-03  0:45 [NTG-context] " Kip Warner
2024-06-03  7:50 ` [NTG-context] " Henning Hraban Ramm
2024-06-03  9:35 ` ai2472206007
2024-06-03 15:04   ` Wolfgang Schuster [this message]
2024-06-04  4:39     ` Kip Warner
2024-06-26  0:12       ` [NTG-context] Letter module broken? Kip Warner
2024-06-26  6:31         ` [NTG-context] " Henning Hraban Ramm
2024-06-26 19:08           ` Kip Warner
2024-06-26 19:17             ` Wolfgang Schuster
2024-06-26 19:33               ` Kip Warner
2024-06-26 19:46                 ` Pablo Rodriguez via ntg-context
2024-06-26 22:47                   ` Kip Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=238bcf95-efa2-fc9f-9076-9649f18a3aa1@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ai2472206007@yeah.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).