![不同類型的字幕](https://rvso.com/image/254714/%E4%B8%8D%E5%90%8C%E9%A1%9E%E5%9E%8B%E7%9A%84%E5%AD%97%E5%B9%95.png)
我有四張桌子。第一個表的標題為Table A: Title
。其他三個表的標題為Table 1: Title
、Table 2: Title
和Table 3: Title
。
當我使用
\caption{Title}
它給了我Table 1: Title
、Table 2
、Table 3
和Table 4
,但我不想要這種格式。
答案1
您需要將第一個表的編號更改為Alph
,然後將其改回arabic
。此外,您需要將表格計數器後退 1,這樣就不會得到表 A 後跟表 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}