I'd like to place a caption left/right next to my table which is rotated by 90 degrees. So the caption should be next (e.g. bottom right) to the table and both, the caption and the table should be rotated. I use \begin{sidewaystable} for the actual rotation of the table, but how can that be combined with a sidecaption?
This sidecaption should only be an exception, all other table should have their caption top of the table (caption=tableheading)
\documentclass[caption=tableheading]{scrreprt}
\usepackage{rotating}
%%%%%%%%%%%%%%%
\begin{document}
\begin{sidewaystable}[htbp]
\caption{This is the Table caption that should appear next to the table}
\begin{center}
\begin{tabular}{ |c|c|c| }
\hline
cell1 & cell2 & cell3 \\
cell4 & cell5 & cell6 \\
cell7 & cell8 & cell9 \\
\hline
\end{tabular}
\end{center}
\end{sidewaystable}
\end{document}
minipage
, similar to tex.stackexchange.com/a/29163/586 (you don't need a minipage for thetabular
).