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

Vladimir Lomov lomov.vl at gmail.com
Wed Mar 14 15:26:14 CET 2012


Hello,
** 阮铮 [2012-03-14 18:04:33 +0800]:

> Hi,

> I am new to LaTeX and a puzzle about using rotating package troubled me for some time.
Welcome, but you have to known that this mailing list (tex-live) is
dedicated to Tex Live development, in future use texhax mailing list,
see http://tug.org/mailman/listinfo for more information.

> 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!!

Ah, did you read rotating package documentation? E.g. run texdoc
rotating, Sec 2. Usage, last sentence in section. There is restriction
(?) how packages are loaded in LaTeX, for example, if package A loads
internally package B with option C and you in your document load package
B with other options then you get error message as you see in your
example. The simplest way to workaround in your case is just use
following

  \usepackage[demo]{rotating}

instead of bare 'rotating' (read that last sentence).

> Ruan Zheng

---
WBR, Vladimir Lomov

-- 
"I am convinced that the manufacturers of carpet odor removing powder
have included encapsulated time released cat urine in their products.
This technology must be what prevented its distribution during my mom's
reign.  My carpet smells like piss, and I don't have a cat.  Better go
buy some more."
		-- timw at zeb.USWest.COM


More information about the tex-live mailing list