Am I doing anything wrong? If not, is there a workaround?
Thanks,
Felipe Barbosa
Code: Select all
\documentclass{article}
\usepackage{booktabs}
\usepackage{trivfloat}
\trivfloat{boxx}
\begin{document}
\begin{table}[htb]
\caption{Table title}
\centering
\begin{tabular}{ l c c }
\toprule[2pt]
A1 & A2 & A3 \\
\midrule
A1 & A2 & A3 \\
A1 & A2 & A3 \\
A1 & A2 & A3 \\
A1 & A2 & A3 \\
\bottomrule[2pt]
\end{tabular} \label{tab:table1}
\end{table}
\begin{boxx}[htb]
\caption{Box Title}
\centering
\begin{tabular}{ l c c }
\toprule[2pt]
A1 & A2 & A3 \\
\midrule
A1 & A2 & A3 \\
A1 & A2 & A3 \\
A1 & A2 & A3 \\
A1 & A2 & A3 \\
\bottomrule[2pt]
\end{tabular}
\label{tab:box1}
\end{boxx}
\end{document}