Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!icdoc!inmos!frogland!des From: des@frogland.inmos.co.uk (David Shepherd) Newsgroups: comp.text.tex Subject: Re: text upside down in TeX or LaTeX Message-ID: <13117@wraxall.inmos.co.uk> Date: 26 Mar 91 10:33:58 GMT References: <91077.150516GUTEST8@cc1.kuleuven.ac.be> <91078.084301HOMH@QUCDN.QueensU.CA> <66407@eerie.acsu.Buffalo.EDU> Sender: news@inmos.co.uk Reply-To: des@frogland.inmos.co.uk (David Shepherd) Organization: INMOS architecture group Lines: 36 In article <66407@eerie.acsu.Buffalo.EDU>, xiaofei@acsu.buffalo.edu (Xiaofei Wang) writes: |> I have seen rotate.sty or rotate.tex which handles postscripts. However one |> needs a dvips/postscript printer in order to use rotate.sty[tex]. quite easy to do this with dvitops. because you can define regions in the postcript output to manipulate you can rotate the block of text you want, and with nefarious TeX-ery you can make TeX see the block as being its rotated size. \newcount\regionnum \def\newregion{\global\advance\regionnum by 1} \def\region{reg\the\regionnum} \newbox\rotatedtextbox \def\PSrotated{\setbox\rotatedtextbox=\hbox\bgroup} \def\endPSrotated{\egroup\newregion \special{dvitops: begin \region}% \rule{0mm}{\wd\rotatedtextbox}% \rule{\ht\rotatedtextbox}{0mm}% \mbox{}% \special{dvitops: origin \region}% \ht\rotatedtextbox=0mm \dp\rotatedtextbox=0mm \wd\rotatedtextbox=0mm% \box\rotatedtextbox% \special{dvitops: end}% \special{dvitops: rotate \region\space -90}% } -- -------------------------------------------------------------------------- david shepherd: des@inmos.co.uk or des@inmos.com tel: 0454-616616 x 529 inmos ltd, 1000 aztec west, almondsbury, bristol, bs12 4sq Leland says, you're going back to Missoula ... MONTANA