# Table (tabu) rotate text sideways (90 degrees)

how can I rotate text in a tabu environment by 90 degrees? I export my tables from Excel using a plugin and it puts the text which should be rotated into \begin{sideways} ... \end{sideways} but Latex throws an error. Here is my code:

\documentclass[10pt,DIV=12,a4paper,numbers=noenddot]{scrreprt}

\usepackage{tabu}
\usepackage{booktabs}

\begin{document}

\begin{table}

\begin{tabu} to \textwidth {X[L] X[L]}

\toprule

AAAAAA & BBBBBB \\

% \begin{sideways}AAAAAA\end{sideways} & \begin{sideways}BBBBBB\end{sideways} \\

\end{tabu}

\end{table}

\end{document}
-
how about using a rotatebox? –  Rico Feb 10 '13 at 11:14
You can try one of the methods outlined in Rotated column titles in tabular or in How to write vertically in a cell –  egreg Feb 10 '13 at 11:14
Cool thanks. I will try turn and rotate and see how far I get. Thanks for these two started –  Josh Feb 10 '13 at 11:21