[Tex/LaTex] How to write vertically in a cell

rotatingtables

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?

Best Answer

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}

Result (extract)

Related Question