[pstricks] rotate figures according to page number
Arnaud Schmittbuhl
aschmittbuhl at libertysurf.fr
Thu Sep 9 20:04:06 CEST 2004
boulen ben foulen a écrit / wrote :
> i want to rotate figures according to the page number: for example :
> odd pages --> angle=-90
> even pages --> angle=90
> is it possible to do it with Latex or PSTriks
>
> Thanks
\documentclass{article}
\usepackage{ifthen,graphicx}
\begin{document}
\def\rotation{%
\ifthenelse{\isodd{\value{page}}} % test
{\rotatebox{-90}{texte}} % odd
{\rotatebox{90}{texte}}} % even
\rotation\clearpage\rotation\clearpage\rotation
\end{document}
Arnaud
More information about the PSTricks
mailing list