I try to rescale a table with a caption, but it doesn't work. First i put the tabular into a center environment and the rescaling (via resizebox or scalebox) worked perfectly. But in the center environment it isn't possible to add a caption-tag, so I changed the center to table, but then the rescaling doesn't work anymore, no matter whether I use the resizebox or the scalebox.
Here is the code:
Code: Select all
\begin{frame}[c]{test-table}
\scalebox{0.5}{
%\resizebox{100px}{!}{
\begin{center}
%\begin{table}
%\caption{test}
\begin{tabular}{rclrrrr}
\toprule
& \phantom{ } && \textbf{test} & \textbf{test} & \textbf{test} & \textbf{test} \\
\bottomrule
\end{tabular}
\end{center}
%\end{table}
}
\end{frame}
Thanks in advance!