How to rotate table-headline in Latex table

Posted by pagid on Stack Overflow See other posts from Stack Overflow or by pagid
Published on 2010-03-25T21:54:46Z Indexed on 2010/03/26 1:53 UTC
Read the original article Hit count: 260

Filed under:
|

Hi,

is there a way to rotate the "Demo 1", "Demo2" and "Demo 3" headlines 90° in the following LaText table?

\documentclass[a4paper,twoside,10pt]{report}
\begin{document}
\begin{tabular}{|l|l|l|l|}
\hline
 & Demo1 & Demo2 & Demo3 \\
\hline
Person 1 & x &  &    \\
\hline
Person 2 & x &  &  x  \\
\hline
Person 3 & x & x &    \\
\hline
Person 4 &  & x &  x  \\
\hline
\end{tabular}
\end{document}

Thanks

© Stack Overflow or respective owner

Related posts about latex

Related posts about pdflatex