In my document I'm largely using \sidewaysfigure
. However, this results pictures with inconsistent placement and direction of included pictures and captions. By inconsistent I mean that figures and captions are not rotated to one side always (eg, to the right). EG, on page 1 the caption is on the left side, and on page 2 on the right side.
MWE:
\documentclass[12pt]{book}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{mwe} % just for dummy pictures
\begin{document}
\begin{sidewaysfigure}
\centering
\includegraphics{example-image-a}
\caption{Foo}
\end{sidewaysfigure}
\begin{sidewaysfigure}
\centering
\includegraphics{example-image-b}
\caption{Bar}
\end{sidewaysfigure}
\end{document}
I wonder if there is a simple option with \sidewaysfigure
that would force the whole thing (pics and captions) to be rotated for 180 degrees.
Best Answer
The behaviour is perfectly consistent, in that the caption is always rotated toward the outer edge of the page. This is default if the
twoside
argument is given to the documentclass, which is default for thebook
class.To override this, add either
figuresleft
orfiguresleft
as an (optional) argument to therotating
package, i.e.as described in the manual, section 2.1: