About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Latest news 2020-05-02: new blog post "Book Samples."


7.3 Sideways Floats

The rotating package provides the sidewaysfigure environment:

\begin{sidewaysfigure}

and the sidewaystable environment:

\begin{sidewaystable}

which are like figure and table, respectively, but rotate the entire float (including caption) sideways. This sideways float is always placed on a page of its own.

If you have used the twoside class option (or you are using a class like scrbook, which defaults to that option) then the sideways floats will be rotated clockwise or anti-clockwise, depending on whether they fall on an even (verso) or odd (recto) numbered page. (Requires a second LaTeX run to get it correct.)

Example:

\begin{sidewaysfigure}
 \centering
 \includegraphics[width=0.75\textheight]{shapes}
 \caption{A Sideways Figure}
 \label{fig:sideways}
\end{sidewaysfigure}

The above code produces Figure 7.4.

Figure 7.4: A Sideways Figure
A sideways figure

This book is also available as A4 PDF or 12.8cm x 9.6cm PDF or paperback (ISBN 978-1-909440-00-5).

© 2012 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs