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