Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!puppsr.Princeton.EDU!marty From: marty@puppsr.Princeton.EDU (Marty Ryba) Newsgroups: comp.text.tex Subject: Re: Problems with sideways tables in LaTeX (I got it!) Keywords: GRRRRR! Message-ID: <7475@idunno.Princeton.EDU> Date: 23 Mar 91 21:04:05 GMT References: <7473@idunno.Princeton.EDU> Sender: news@idunno.Princeton.EDU Reply-To: marty@pulsar.princeton.edu Organization: Dept. of Physics, Princeton U. Lines: 25 In article <7473@idunno.Princeton.EDU>, marty@puppsr.Princeton.EDU (Marty Ryba) writes: > I've been trying to define a new environment that uses the macros in > rotate.tex (is rotate.sty different??? I haven't seen it) to make a > table sideways. It seems straightforward, but I can't seem to be able > to define or find the box around the table in order to rotate it. > I've tried (in the environment definition) stuff like: Of course, soon after I punted, I figured it out....here's a segment of my .sty file that creates the "sidetable" environment. \input{rotate}\newbox\rotbox \newenvironment{sidetable}{\begin{table}[t] \global\setbox\rotbox\vbox\bgroup \hsize\textheight \@parboxrestore}% {\par\vskip\z@\egroup \rotl\rotbox \end{table}} You use sidetable just as you would the table environment except you cannot give it a position argument - but why would you want to for a table that has to go sideways just to fit on the page??? -- Marty Ryba | slave physics grad student Princeton University | They don't care if I exist, Pulsars Unlimited | let alone what my opinions are! marty@pulsar.princeton.edu | Asbestos gloves always on when reading mail