# How to write vertically in a cell

I know that with \begin{sideways} ... \end{sideways} I can write a text vertically, but it rotates the text by +90 degrees. What should I do to rotate it by -90 degrees?

-
Does \begin{turn}{-90} or \begin{turn}{270} work? –  knut Jan 19 '12 at 16:39
So, what's the best option of all these alternatives? –  Szczypawka Apr 29 at 11:28

You could use the environment turn.

Example:

\documentclass{scrartcl}
\usepackage{rotating}
\begin{document}

\begin{sideways}Test\end{sideways}

\begin{turn}{-90}Test 90\end{turn}

\begin{turn}{270}Test 270\end{turn}

\hrule

Tabular:

\begin{tabular}{ccc}
Normal
&
\begin{turn}{-90}Test 90\end{turn}
&
\begin{turn}{270}Test 270\end{turn}
\end{tabular}

\end{document}


-

You can do this with sideways:-)

\newenvironment{mysideways}
{\begin{sideways}\begin{sideways}\begin{sideways}}
{\end{sideways}\end{sideways}\end{sideways}}


Now use the mysideways environment.

-

You can try the \reflectbox command from the graphics package. If you provide a Minimal Working Example, someone might be able to help with the specifics.

-
If you're using graphics commands (and there's no reason not to) you might as well just use \rotatebox –  Seamus Jan 19 '12 at 17:49