Re: [NTG-context] text on every page howto

2018-02-02 Thread Otared Kavian
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  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
> ___

___
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
___

[NTG-context] text on every page howto

2018-02-02 Thread dr. Hans van der Meer
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
___