Diferentes tipos de legendas

Diferentes tipos de legendas

Eu tenho quatro mesas. A primeira tabela tem uma legenda de Table A: Title. As outras três tabelas têm legendas de Table 1: Title, Table 2: Titlee Table 3: Title.

Quando eu uso

 \caption{Title}

isso me dá Table 1: Title, Table 2, Table 3, e Table 4, mas não quero esse formato.

Responder1

Você precisa alterar a numeração Alphda primeira tabela e depois alterá-la novamente para arabic. Além disso, você precisa recuar uma unidade no contador da mesa, para não obter a tabela A seguida pela tabela 2.

\documentclass{article}
\begin{document}
\renewcommand\thetable{\Alph{table}}
%
\begin{table}
\centering\rule{2cm}{2cm} %Replace with tabular
\caption{The first}
\end{table}
%
\addtocounter{table}{-1}
\renewcommand\thetable{\arabic{table}}
%
\begin{table}
\centering\rule{2cm}{2cm} %Replace with tabular
\caption{The second}
\end{table}
%
\begin{table}
\centering\rule{2cm}{2cm} %Replace with tabular
\caption{The third}
\end{table}
\end{document}

informação relacionada