ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kip Warner <kip@thevertigo.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: ai2472206007@yeah.net
Subject: [NTG-context] Re: Draft vertical text in margins
Date: Mon, 03 Jun 2024 21:39:18 -0700	[thread overview]
Message-ID: <68777ad7e727721c8b483ce2df41f51f9c09da4b.camel@thevertigo.com> (raw)
In-Reply-To: <238bcf95-efa2-fc9f-9076-9649f18a3aa1@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1382 bytes --]

On Mon, 2024-06-03 at 17:04 +0200, Wolfgang Schuster wrote:
> 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

Thank you kindly, Wolfgang et al. Very helpful.

-- 
Kip Warner
OpenPGP signed/encrypted mail preferred
https://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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-04  4:42 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
2024-06-04  4:39     ` Kip Warner [this message]
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=68777ad7e727721c8b483ce2df41f51f9c09da4b.camel@thevertigo.com \
    --to=kip@thevertigo.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).