[<< wikibooks] LaTeX/Rotations
== The rotating package ==
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:

you can use three new environments:

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

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.

like turn, but it will not add any extra space.
If you want to make a float sideways so that the caption is also rotated, you can use

or

Note, though, they will be placed on a separate page.
If you would like to rotate a TikZ picture you could use sideways together with minipage.

You can also use the \rotatebox command. Let's rotate a tabular inside a table for example:


=== Options ===
Default is sidewaysfigures/sidewaystables are oriented depending on page number in two-sided documents (takes two passes).
The rotating package takes the following options.

counterclockwise/anticlockwise
In single-sided documents turn sidewaysfigures/sidewaystables counterclockwise.
clockwise
In single-sided documents turn sidewaysfigures/sidewaystables clockwise (default).
figuresright
In two-sided documents all sidewaysfigures/sidewaystables are same orientation (left of figure, table now bottom of page). This is the style preferred by the Chicago Manual of Style (broadside).
figuresleft
In two-sided documents all sidewaysfigures/sidewaystables are same orientation (left of figure, table now at top of page).


== The rotfloat package ==
When it is desirable to place the rotated table at the exact location where it appears in the source (.tex) file, rotfloat package may be used. Then one can use

just like for normal tables. The H option can not be used without this package.