tas@tasman.cc.utas.edu.au (Tasman Derk Van Ommen) (12/11/90)
It is sometimes highly desirable to rotate the contents of 1 page of a TeX/LaTeX document by 90 degrees so that a very wide table, for example is effectively in landscape mode. (Note, we do not want the page number to be rotated. The question is, how do you print the body of a page in landscape mode? We print on an Apple LaserWriter using DVIPS. At the moment, the only solution I can think of is to print the table in question, and then pick up the postscript, rotate it and include it as a postscript graphics file. Tas van Ommen email: tas@physvax.phys.utas.edu.au
kaul@icarus.eng.ohio-state.edu (Rich Kaul) (12/11/90)
In article <tas.660887899@tasman> tas@tasman.cc.utas.edu.au (Tasman Derk Van Ommen) writes: It is sometimes highly desirable to rotate the contents of 1 page of a TeX/LaTeX document by 90 degrees so that a very wide table, for example is effectively in landscape mode. (Note, we do not want the page number to be rotated. [ ... ] We print on an Apple LaserWriter using DVIPS. Good choice. Using Rokicki's dvips it's straightforward. Include the rotate.tex file (with either a documentstyle[rotate]{article} or \include rotate), make an hbox around the table and rotate. Here's an example, where I didn't rotate the caption of the table, nor touch the page number. \begin{table} \caption{SPICE model parameters} \centerline{ \setbox0=\hbox{ \begin{tabular}{|c|l|c|c|c|} \hline {\bf SPICE} & & {\bf N-channel} & {\bf P-channel} & \\ {\bf keyword} & {\bf Parameter description} & {\bf value} & {\bf value} & {\bf Units} \\ \hline \hline LEVEL & model index & 2 & 2 & --- \\ \hline NSUB & substrate doping & 1.85E+16 & 6.0E+15 & $cm^{-3}$ \\ \hline TOX & gate oxide thickness & 400E-10 & 400E-10 & $m$ \\ \hline \end{tabular}} \rotl{0} } \end{table} -- Rich Kaul | Every man is given the key to the door kaul@icarus.eng.ohio-state.edu | of heaven; unfortunately, the same key or ...!osu-cis!kaul | opens the door to hell.
idall@augean.ua.OZ.AU (Ian Dall) (12/12/90)
In article <tas.660887899@tasman> tas@tasman.cc.utas.edu.au (Tasman Derk Van Ommen) writes: >It is sometimes highly desirable to rotate the contents of 1 page of >a TeX/LaTeX document by 90 degrees so that a very wide table, for example >is effectively in landscape mode. (Note, we do not want the page number >to be rotated. > >The question is, how do you print the body of a page in landscape mode? The rotate package I have made available for anonymous ftp from augean.oz.au (pub/misc/rotate.tar.Z) does exactly what you want. There is one definition which needs to be changed when going from dvi2ps to dvips, but both definitions are their. Just uncomment one. The package contains TeX/LaTeX files which are all you need if you are simply rotating tex output. If you want to also rotate included postscript, there are modification to the dvi2ps prologue files to support this. I have no idea whether dvips needs similar modifications or not. -- Ian Dall life (n). A sexually transmitted disease which afflicts some people more severely than others. ACSnet: idall@augean.oz Internet: idall@augean.oz.au