I have been trying to compile the following tabu environment with xelatex, but to no avail:
\documentclass{article}
\usepackage{xcolor}
\usepackage{tabu}
\begin{document}
\taburowcolors 10{green!25 .. yellow!80}
\begin{tabu}{X[-1]X}
%\everyrow{\midrule}
\repeatcell 2{
rows=10,
text/col1=Teste,
text/col2={Row number
\row$=$\thetaburow},
}
\end{tabu}
\end{document}
It generates an error: "undefined control sequence \end{tabu}."
Best Answer
Your example does not produce the error that you state. It produces:
\repeatcell
isn't defined bytabu
and thetext/col1=Teste,
syntax looks moretikz/pgf
than thantabu
.adding
fixes things.