I have the following in an environment file. In the document I then
\def\workingtitle and \def\workdir, and this text is written in the
left margin. I am sure you will get better suggestions from others who
actually know what they are doing ...
Johan
\definecolor[logogray][s=.6]
\definelogo
[mrc]
[footer]
[leftmargin]
[state=start,
command=\hbox to 8.5mm{%
\hfill%
\vbox to \makeupheight{%
\hbox{%
\framed
[width=8.5mm,
background=color,
backgroundcolor=black,
align={middle,lohi}]
{\switchtobodyfont[sans,24pt]\rotate{\white\bf MRC}}}
\vfill%
\hbox{%
\vbox{%
\switchtobodyfont[sil-gentium,10pt]
\logogray{\rotate{\currentdate \workdir}}}
\vbox{%
\switchtobodyfont[sil-gentium,10pt]
\logogray{\rotate{'\workingtitle' text text text text}}}}
\hbox{\vbox to 3mm{}}
\hbox{%
\framed
[width=8.5mm,
background=color,
backgroundcolor=black,
align={middle,lohi}]
{\switchtobodyfont[sans,24pt]\rotate{\white\bf MRC}}}}
\hfill}]
2006/2/21, Jilani Khaldi
Hi, In a technical report I need to put a vertical text on every page of the document in the right margin. This 2 lines text should be written in a little font. I have struggled for a while with ConTeXt but could'nt get a good result. Any hint? Thanks! jk
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell