From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: text on every page howto
Date: Fri, 2 Feb 2018 14:08:07 +0100 [thread overview]
Message-ID: <A868F1EF-CE2B-41F1-B88D-CB9401525C3F@gmail.com> (raw)
In-Reply-To: <C62BD53A-0290-499A-BFFC-9B8D3F78595F@ziggo.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1441 bytes --]
Hi,
I think the following can solve your problem, but I don’t know whether it is the optimal way to achieve what you are looking for: in any case you can play with the dimensions used here as an example, in order to find the correct location.
Best regards: OK
%% begin rotated-text.tex
\define\myrotatedtext{%
\rotate[rotation=90]{%
\scale[width=50mm]{\startcolor[darkred] my rotated text\stopcolor}
}
}
\definelayer[myrotatedlayer]
[width=30mm,
height=100mm,
repeat=yes]
\setlayer[myrotatedlayer]
[x=180mm,y=100mm]
{\myrotatedtext}
\setupbackgrounds[page][background=myrotatedlayer]
\starttext
\input knuth
\stoptext
%% end rotated-text.tex
> On 2 Feb 2018, at 12:41, dr. Hans van der Meer <havdmeer@ziggo.nl> wrote:
>
> I would like to put a (rotated) text on every page in the margin.
> Please, how do I accomplish this?
>
> Hans van der Meer
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4677 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2018-02-02 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-02 11:41 dr. Hans van der Meer
2018-02-02 13:08 ` Otared Kavian [this message]
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=A868F1EF-CE2B-41F1-B88D-CB9401525C3F@gmail.com \
--to=otared@gmail.com \
--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).