# [tex-live] Help about using rotating package in LaTeX

Wed Mar 14 11:04:33 CET 2012

Hi,

I am new to LaTeX and a puzzle about using rotating package troubled me for some time.

Here is example my code:

\documentclass{article}
\usepackage[english]{babel}
% \usepackage{rotating}
\usepackage{blindtext}
\usepackage[demo]{graphicx}
\pagestyle{empty}
\begin{document}
\section{Including a picture}
\blindtext
% \begin{sidewaysfigure}
\begin{figure}
\centering
\includegraphics{test}
\end{figure}
% \end{sidewaysfigure}
\end{document}

The code above can pass the compiler of pdflatex in my laptop. However, if I uncommented the code, there arouse an error message. What's more, I further found even if I only uncommented the first %, ie, only loading the rotating package, I will also get a compiling error. How can I rotate the picture in my example?

Could anyone give me some hints? Thanks a billion!!

Ruan Zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20120314/99680c38/attachment.html>