LaTeX forum ⇒ Graphics, Figures & TablesHow to \includegraphics with 90 degrees rotation? Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
User avatar
jiapei100
Posts: 28
Joined: Sat Jan 12, 2008 7:23 pm

How to \includegraphics with 90 degrees rotation?

Postby jiapei100 » Thu Jul 01, 2010 7:21 am

Hi, all:

How can I \includegraphics with 90 degree rotation?
For example, my figure is of size 640*480, which can't fit into a page when being inserted to the page normally (horizontally).
If I rotate it with 90 degrees, I may obtain a picture of size 480*640, together with a rotated caption.

Can anybody give me a hand?
Is there such a demo?

Thank you very much

Best Regards
JIA

Recommended reading 2021:

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

Exclusive June 2024 offer: All LaTeX eBooks (PDF, EPBUB) for $9.99 or €8.99

LaTeX books

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

How to \includegraphics with 90 degrees rotation?  Topic is solved

Postby frabjous » Thu Jul 01, 2010 7:29 am

Just use the angle/origin options:

E.g., to rotate 90 degrees anti-clockwise, with the axis being the center of the file:

 \includegraphics[angle=90,origin=c]{file}


See the graphics bundle documentation for more info.

Another option might be the sidewaysfigure or turn environment from the rotating package, especially if you want the caption rotated too.

\begin{sidewaysfigure}
    \includegraphics{file}
\caption{My caption}
\end{sidewaysfigure}

User avatar
jiapei100
Posts: 28
Joined: Sat Jan 12, 2008 7:23 pm

Re: How to \includegraphics with 90 degrees rotation?

Postby jiapei100 » Thu Jul 01, 2010 8:16 am

Thank you so so so so so so so much !!!!!
Thanks

Cheers
JIA


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 49 guests