Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rotated equation environments in LaTeX

1,003 views
Skip to first unread message

Dave Gilbert

unread,
Mar 3, 1992, 2:27:32 AM3/3/92
to

I am in need of a rotated maths style file.
I already have Sebastian Rahtz's ROTATE.STY file (1991 version), but
it does not seem to work everytime when I include maths environments.
Below is an example that flags errors when LaTeX is envoked.
I would gratefully appreciate any help.

\begin{sideways}
\begin{tiny}
\begin{equation}
%
\pmatrix{i_{A}\cr i_{a}\cr i_{B}\cr i_{b}\cr i_{C}\cr i_{c}\cr}\,=\,
\pmatrix{
% The rest of a very large matrix
}
%
\end{equation}
\end{tiny}
\end{sideways}


Thankx in advance

Dave Gilbert
gil...@stargate.elec.canterbury.ac.nz

Timothy Van Zandt

unread,
Mar 3, 1992, 7:33:18 AM3/3/92
to

Rotation macros typically put their argument in an \hbox, which is
the correct thing to do. It is then up to the user to but appropriate
\hbox material. Equations need to go in vertical mode. Thus, you
should everything in a \vbox, as in:
\begin{sideways}
\vbox{%
\begin{tiny}
\begin{equation}


\pmatrix{i_{A}\cr i_{a}\cr i_{B}\cr i_{b}\cr i_{C}\cr i_{c}\cr}\,=\,
\pmatrix{
% The rest of a very large matrix
}
%
\end{equation}
\end{tiny}}
\end{sideways}

The equation, with numbering and all, will use the horizontal width
currently in effect on the page. For a rotated equation, you might
want a different horizontal size. E.g., to change to size to 8 inches,
put

\hsize 8in

just have the \vbox{ command.

You can also use LaTeX's \parbox, as in:

\begin{sideways}
\parbox{8in}{%
\begin{tiny}
\begin{equation}


\pmatrix{i_{A}\cr i_{a}\cr i_{B}\cr i_{b}\cr i_{C}\cr i_{c}\cr}\,=\,
\pmatrix{
% The rest of a very large matrix
}
%
\end{equation}
\end{tiny}}
\end{sideways}

Tim
--
Timothy Van Zandt (609)258-4050 t...@Princeton.EDU (NeXTMail)
Dept. of Economics, Princeton University, Princeton, NJ 08544

0 new messages