On 14-6-2011 1:54, Wolfgang Schuster wrote:
Am 14.06.2011 um 12:54 schrieb luigi scarso:
\ifodd\realpageno\relax
\hbox to\textwidth{\rotate[rotation=90]{\externalfigure[cow]}\hfill}
\else
\hbox to\textwidth{\hfill\rotate[rotation=270]{\externalfigure[cow]}}
\fi
}
ConTeXt has commands for all these things:
\doifoddpageelse
{\leftaligned {\rotate[rotation=90] {...}}}
{\rightaligned{\rotate[rotation=270]{...}}}
since a few days the beta also has rotation=left|right|inner|outer per
request by taco (although no final word yet on if i need to swap 'm)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________