As the title says: How can I rotate a page 180 degrees in LaTeX?
A:
\usepackage{lscape}
\begin{landscape}
Some text
\end{landscape}
Or for the whole document:
\documentclass[landscape]{article}
Edit: This would of course only rotate the page by 90°... Sorry. ;)
Lennart
2009-06-04 11:46:42
That would be 90 degrees, wouldn't it?
PhilS
2009-06-04 11:53:24
Oh. Well... Yes. :) Shame on me. Sorry.
Lennart
2009-06-04 12:38:19
+2
A:
Have you tried the rotating package?
See http://en.wikibooks.org/wiki/LaTeX/Packages/Rotating
This would rotate the content you put between begin and end. Do you need a designated page to be rotated you can achieve it using \newpage
and \clearpage.
:
To answer your question in the comments, I don't know how to achieve this within one single environment if you are going to use different types of content (text, images...) within the turn
environment. That depends a lot on what you exactly want to achieve.
\documentclass{article}
\usepackage{rotating}
\title{Test document}
\author{Wesho}
\date{18/06/2009}
\begin{document}
\maketitle
\newpage
\begin{rotate}{180}
\includegraphics{graphic.pdf}
\end{rotate}
\clearpage
\end{document}
Wesho
2009-06-04 11:53:51
I can use rotating for certain objects. But how would I do to rotate an entire page? Simply putting all the code between \begin{rotate}{180} and \end{rotate} gives me "Not in outer par mode" errors.
kotlinski
2009-06-04 13:20:13
Very simplified:\begin{turn}{180}\begin{figure}\includegraphics{fig}\end{figure}\end{turn}
kotlinski
2009-06-04 14:47:44
I cannot test this at the moment, but try removing the figure environment:\begin{turn}{180} \includegraphics{fig} \end{turn} Or if you want to have it for the options at least move the begin/end of figure outside the turn environment:\begin{figure} \begin{turn}{180} \includegraphics{fig} \end{turn} \end{figure}
Wesho
2009-06-04 15:06:56
Another problem example: \begin{rotate}{180}\begin{center}hello\end{center}\end{rotate}gives:"Something's wrong--perhaps a missing \item."
kotlinski
2009-06-04 15:19:06
Again, move the center out of the rotate environment: "\begin{center} \begin{rotate}{180} hello \end{rotate} \end{center}"The center environment internally uses trivlist, that's where the error comes from. I tested the graphic example now and it works OK.
Wesho
2009-06-04 22:59:51
OK, but how would I do if I want to rotate an entire page? I don't want to rotate all objects individually. I hope you agree it's not the same thing.
kotlinski
2009-06-08 08:32:27