0

I am writing a document with the memoir class. What happens, for no apparent reason, is that latex starts rotating pages containing single figure at a certain point. I basically end up with a document where those pages, and only those, are rotated by 90°.

Snippet of code for the figure, to show that I didn't ask for this:

\documentclass[]{memoir} 

\usepackage[UKenglish]{babel}
\usepackage{graphicx, color}
\usepackage{amsmath, amssymb}
\usepackage{tipa}
\usepackage{cite, epigraph}
\usepackage[colorlinks]{hyperref}
\usepackage{url}
\usepackage{wasysym}
\usepackage{titlesec}
\usepackage{float}

\begin{document}

\begin{figure}
 \begin{center}
  \includegraphics[width=0.8\columnwidth]{./path/cfig.eps}
 \caption{mycaption}\label{fig:langs15}
 \end{center}
\end{figure}

\end{document}

The eps file I'm using is available at https://dl.dropboxusercontent.com/u/32068837/cfig.eps

My document is large, and it started having this problem when I added this figure, but I don't think it has anything wrong.

  • 1
    I think this may be a problem with the eps file. Can you make it available for download and add a link to your question? – Ian Thompson Jul 7 '14 at 14:28
  • Your code should begin with \documentclass{memoir} and end with \end{document} so that we can copy/paste and compile it. Maybee something in the preamble is the cause of that behavior? + @IanThompson is right, to have the eps file could help us. – Clément Jul 7 '14 at 14:29
  • @IanThompson Yes, I edited the question. – martina Jul 7 '14 at 14:36
  • You forgot (at least) the \usepackage{graphicx}. When I add this package, I can compile your MWE and the figure is not rotated. – Clément Jul 7 '14 at 14:39
  • 1
    The answer to the question linked by @GonzaloMedina fixed the problem on my machine. – Ian Thompson Jul 7 '14 at 14:51

Browse other questions tagged or ask your own question.