Is it possible to use \caption
between a tabu
environment?
I have tried using these packages:
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{tabu}
And when I write this in my code:
\begin{tabu} spread 2in{|X[2]|X[2]|X|X|X[2]|X[2]|}
%\caption{Marito}
\hline
1 & 2 & 3 & 4 & 5 & 6 \\
\hline
\end{tabu}
I get a lot of errors if I uncomment \caption{Marito}
.
Note: The Tabu documentation doesn't say anything about it
tabular
. The\caption
doesn't belong intabu
ortabular
.\begin{table}..\end{table}
and put the caption in thetable
environment