How can I rotate a page 180 degrees in LaTeX?
\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. ;)
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}
It depends on the task, but \rotatebox{180}
together with \minipage
can do the job:
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{rotating}
\usepackage{lipsum}
\begin{document}
\lipsum[1-3]
\newpage
\noindent\rotatebox{180}{\noindent\begin{minipage}{\textwidth}
\lipsum[1]
\begin{center}\includegraphics{image01.jpg}\end{center}
\lipsum[2]
\begin{center}
\begin{tabular}{cc}
\hline
1 & 2 \\
3 & 4 \\
\hline
\end{tabular}
\end{center}
\lipsum[3]
\end{minipage}}
\clearpage
\lipsum[1-3]
\end{document}
For Rotating the pages into 180 degree(landscape mode)
\usepackage{geometry}
\geometry{top=2cm,bottom=1.1cm,left=0.5cm,right=0.5cm, landscape, a4paper}
In the above code the landscape
is used to rotate the pages.
The advantage of this method is both header and footer also rotated, but the lscape
or an pdflscape
packages only rotate the body not an header and footer
The disadvantage is that landscape
rotate all the pages, you can't rotate a single page in a set of pages.
© 2022 - 2024 — McMap. All rights reserved.