🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.tex
Article #42

Re: Rotating \caption along with a Table or Figure

#42
From: Ian Dall
Date: Wed, 06 Feb 1991 23:48
31 lines
1916 bytes
In article <1991Feb1.104322.86250@vaxc.cc.monash.edu.au> cen466p@vaxc.cc.monash.edu.au writes:
>Hello TeXperts. Using DVIPS and rotate.tex I was able to rotate a table. But I
>could not rotate the title (\caption) of the table.

I use,

\begin{figure}
\centerline{
\begin{rotate}
\vbox{\centerline{\input{figs/nl-red-lat}}
\caption{Reduced Generalized Lattice Filter.\label{nl-red-lat}}}
\end{rotate}
}
\end{figure}

This should also work for tables. I use a style file "rot.sty" I wrote based
on rotate.tex. It is availabel for annonymous ftp from augean.ua.oz.au.
The file name is "pub/misc/rot.tar.Z" I *think*.

Essentially, \begin{rotate} takes an optional argument of l,r,f or u
which basically does the same the same as \rotl, \rotr, \rotf and
\rotu except that it also does the \setbox stuff automatically. It
also swaps the values of \hsize and \vsize which is useful for
captions and anything set in "LR mode" (actually I think this swapping
should only happen for the case of l or r and it does it always since
l is what you want it shouldn't matter).
-- 
Ian Dall          I'm not into isms, but hedonism is the most
                  harmless I can think of. -- Phillip Adams
  ACSnet: ian@sibyl.eleceng.ua.oz
internet: ian@sibyl.eleceng.ua.oz.au
Technical Details
Message-ID: <888@sibyl.eleceng.ua.OZ>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!augean!sibyl!ian
References: <1991Feb1.104322.86250@vaxc.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!augean!sibyl!ian
From: ian@sibyl.eleceng.ua.OZ (Ian Dall)
Newsgroups: aus.tex,comp.text.tex
Subject: Re: Rotating \caption along with a Table or Figure
Message-ID: <888@sibyl.eleceng.ua.OZ>
Date: 6 Feb 91 23:48:58 GMT
References: <1991Feb1.104322.86250@vaxc.cc.monash.edu.au>
Reply-To: ian@sibyl.OZ (Ian Dall)
Organization: Engineering, Uni of Adelaide, Australia
Lines: 31