I'm trying to make a rotated table using the sidewaystable
package, and I cannot get the text to wrap. It compiles, but it I haven't been able to wrap the text within the columns or define the width of the columns.
The code is rather messy but here is an extract:
\begin{sidewaystable}[htbp]
\centering
\caption{bla bla bla}
\begin{threeparttable}[b]
\begin{tabular}{rrr}
\toprule
Awesome intro\\
\midrule
\multicolumn{1}{l}{bla bla} & \multicolumn{1}{l}{more bla} & \multicolumn{1}{l}{final bla} \\
\bottomrule
\end{tabular}%
\begin{tablenotes}\footnotesize
\item Source: bla bla
\end{tablenotes}
\end{threeparttable}
\label{tab:xx}%
\end{sidewaystable}%
Edit:
- It is also going on a seperate page in the appendix, if that makes a difference..
- I am using the
threeparttable
to be add "footnotes" to the tables.
\begin{tabular}{rrr}
try\begin{tabular}{p{5cm}p{8cm}p{4cm}}
or whatever width you need. – Gonzalo Medina Jun 5 '13 at 23:15\multicolumn{1}{l}{text}
which are overriding thep{<length>}
column type:\begin{tabular}{p{3cm}p{3cm}p{3cm}} \toprule a \ \midrule bla bla & more bla & final bla \\ \bottomrule \end{tabular}
– Gonzalo Medina Jun 6 '13 at 0:29.tex
file, starting with\documentclass
and ending with\end{document}
? It is easier to reproduce the issue you're having if I can just paste your code into my editor and hit "compile":-)
. – John Wickerson Jun 6 '13 at 4:57