* Vertical text in the margin on every page
@ 2006-02-21 10:27 Jilani Khaldi
2006-02-21 11:06 ` Johan Sandblom
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jilani Khaldi @ 2006-02-21 10:27 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Vertical text in the margin on every page
2006-02-21 10:27 Vertical text in the margin on every page Jilani Khaldi
@ 2006-02-21 11:06 ` Johan Sandblom
2006-02-21 11:15 ` luigi scarso
2006-02-22 13:53 ` Jilani Khaldi
2 siblings, 0 replies; 4+ messages in thread
From: Johan Sandblom @ 2006-02-21 11:06 UTC (permalink / raw)
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 <jilani.khaldi1@virgilio.it>:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Vertical text in the margin on every page
2006-02-21 10:27 Vertical text in the margin on every page Jilani Khaldi
2006-02-21 11:06 ` Johan Sandblom
@ 2006-02-21 11:15 ` luigi scarso
2006-02-22 13:53 ` Jilani Khaldi
2 siblings, 0 replies; 4+ messages in thread
From: luigi scarso @ 2006-02-21 11:15 UTC (permalink / raw)
In metafun-p.pdf there are some other examples (see pages 159,160 )
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Vertical text in the margin on every page
2006-02-21 10:27 Vertical text in the margin on every page Jilani Khaldi
2006-02-21 11:06 ` Johan Sandblom
2006-02-21 11:15 ` luigi scarso
@ 2006-02-22 13:53 ` Jilani Khaldi
2 siblings, 0 replies; 4+ messages in thread
From: Jilani Khaldi @ 2006-02-22 13:53 UTC (permalink / raw)
Hi,
I found this solution:
\defineoverlay[SN][{\black
\scale[factor=300]{\rotate[rotation=90]{~TR-A02-123456~}}}]
\setupbackgrounds[text][rightmargin][background=SN]
jk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-22 13:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-21 10:27 Vertical text in the margin on every page Jilani Khaldi
2006-02-21 11:06 ` Johan Sandblom
2006-02-21 11:15 ` luigi scarso
2006-02-22 13:53 ` Jilani Khaldi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).