[Tex/LaTex] Numbering tables A1, A2, etc in Latex

floatsnumbering

I have main tables and appendix tables in my paper. I would like to number the appendix tables "A1", "A2", "A3", etc OR, at the very least, re-start the table numbering at 1 in the appendix. Any suggestions on how to do that?

Best Answer

The documentclass might provide more elegant options. But the following should do the trick, inserted where the appendix starts:

\setcounter{table}{0}
\renewcommand{\thetable}{A\arabic{table}}