writing the name of the section on all the pages
Hi, how could I write the name of the current \section or \subject in the outer margin, with a rotation of 90°? Best, Alex -- <stdin> Alexandre Leray graphic and media design http://stdin.fr/ Munthofstraat 27 1060 Bruxelles
how could I write the name of the current \section or \subject in the outer margin, with a rotation of 90°?
\setupbackgrounds [state=repeat] \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] \setupbackgrounds [text] [rightmargin] [background=side] Marco
Thanks Marco, I'm probably missing a piece here has it doesn't produce anything visible in my composition. I'm a newbie at context; could you detail a little bit more how to implement this or is this snippet anything I'm supposed to need? Thanks, Alex On 19/05/11 18:58, Marco wrote:
how could I write the name of the current \section or \subject in the outer margin, with a rotation of 90°?
\setupbackgrounds [state=repeat] \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] \setupbackgrounds [text] [rightmargin] [background=side]
Marco
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- <stdin> Alexandre Leray graphic and media design http://stdin.fr/ +32 (0)4 85 27 76 08 Munthofstraat 27 1060 Bruxelles
On 2011-05-19 Alexandre Leray
Thanks Marco,
I'm probably missing a piece here has it doesn't produce anything visible in my composition. I'm a newbie at context; could you detail a little bit more how to implement this or is this snippet anything I'm supposed to need?
Here is a small complete example: \setuplayout [location=doublesided] \setuppagenumbering [alternative=doublesided] \setupbackgrounds [state=repeat] \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] \setupbackgrounds [text] [rightmargin] [background=side] \starttext \dorecurse{10} {\startsection[title=Section \recurselevel] \input knuth \page \stopsection} \stoptext Works here with MkIV 2011.05.18 22:26 Marco
participants (2)
-
Alexandre Leray
-
Marco