Graphics, Figures & TablesPortrait figure and caption as landscape

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Murindi
Posts: 1
Joined: Mon Mar 21, 2011 3:37 pm

Portrait figure and caption as landscape

Post by Murindi »

I wish to rotate both figure and caption so that to have them appear as landscape. I have tried the following and I got an error message.
missing number treated as zero
. Help me out :o
\begin{figure}
\begin{landscape}
\includegraphics[scale=0.5]{Figures/Schematic.pdf}
\caption{Layout of the CO$_2$ absorption plant}\label{schem}
\end{landscape}
\end{figure}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Portrait figure and caption as landscape

Post by localghost »

Use the sidewaystable environment from the rotating package. Note that this will start a new page and occupy it entirely. Other possible solutions are described in the document »Using Imported Graphics in LaTeX and pdfLaTeX«.


Best regards and welcome to the board
Thorsten
Post Reply