Is there a way to skip these margin texts momentarily, e.g. on the first page of a new chapter?

Julian

2011/5/20 Wolfgang Schuster <schuster.wolfgang@googlemail.com>

Am 19.05.2011 um 23:59 schrieb <alexandre@stdin.fr>:

> Thanks again,
>
> it works very well. However I still have one question: is it possible to decide of the placement of the overlay and its alignment? With your example the section name is centered both horizontally and vertically. I'd like to flush it right at least.

In many cases you can replace your overlay with a layer (\setlayer etc.) but in your case you can replace

\setupbackgrounds [state=repeat]
\defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}]
\setupbackgrounds [text] [rightmargin] [background=side]

with

\setuptexttexts [margin]
 [][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}]
 [\leftaligned{\rotate[rotation=90]{\getmarking[section]}}][]

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________



--
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_beck16@uni-muenster.de

"Keep thy heart with all diligence; for it is the wellspring of life."