I have a rather wide table that doesn't fit to page width, so I rotated it. The fit is nice, but my idea was to have text wrapped around this rotated table.
So far I found two choices that are mutually exclusive. If I use wraptable
,
\begin{wraptable}{l}{0.3\textwidth}
\begin{sideways}
...
\end{sideways}
\end{wraptable}
I get a nice flipped and wrapped table, but the caption doesn't follow and it looks weird, having a 0.3\textwidth
caption above a slim table.
If I use sidewaystable
\begin{sidewaystable}
\begin{tabular}...
...
\end{tabular}
\end{sidewaystable}
the table and caption looks OK, but it's placed on a new page and I can't figure out how to align it to one of the margins and have text wrapped around it.
Question: How to rotate table, caption, push the table to one of the margins and have text wrapped around the sides of the table?