LaTeX/Packages/Rotating

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search


The package rotating gives you the possibility to rotate any object of an arbitrary angle. Once you have loaded it with the standard command in the preamble:

\usepackage{rotating}

you can use three new environments:

\begin{sideways}

it will rotate the whole argument by 90 degrees counterclockwise. Moreover:

\begin{turn}{30}

it will turn the argument of 30 degrees. You can give any angle as an argument, whether it is positive or negative. It will leave the necessary space to avoid any overlapping of text.

\begin{rotate}{30}

like turn, but it will not add any extra space.


NOTE: Many DVI viewers do not support rotating of text and tables. The text will be displayed normally. You must convert your DVI file to a PDF document and view it in a PDF viewer to see the rotation in effect.

Personal tools