[NTG-context] text on every page howto

Otared Kavian otared at gmail.com
Fri Feb 2 14:08:07 CET 2018


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 at 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 at 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
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180202/23d64ec9/attachment.html>


More information about the ntg-context mailing list