7

I have following table:

\begin{table}[ht]\footnotesize
\centering
\begin{tabular}{|lp{1cm}p{1cm}}
\hline
   \begin{sideways}Parameter\end{sideways} & 
   \begin{sideways}Long header name ... \end{sideways} & 
   \begin{sideways}Long header..\end{sideways} \\ \hline
 \end{tabular}

\caption{Summary}
\label{tab:summary}
\end{table}

How to break side-wayed headers, so the can take two lines?

6

Use a minipage environment or a \parbox of a certain width.

\begin{sideways}\parbox{4cm}{Long header name ...}\end{sideways}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.