ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: ai2472206007@yeah.net
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Draft vertical text in margins
Date: Mon, 03 Jun 2024 09:35:09 -0000	[thread overview]
Message-ID: <171740730911.1996.8667532799233185101@cgl.ntg.nl> (raw)
In-Reply-To: <d9bb91babc094bf91a8c41ade50ff3933368360b.camel@thevertigo.com>

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}}]
                       []

\starttext
\chapter{C:Some Word}
\dorecurse{5}{
\section{S:Some Word}
\input knuth}
\stoptext
%%%
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2024-06-03  9:35 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 [this message]
2024-06-03 15:04   ` Wolfgang Schuster
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=171740730911.1996.8667532799233185101@cgl.ntg.nl \
    --to=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).