![さまざまな種類のキャプション](https://rvso.com/image/254714/%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E7%A8%AE%E9%A1%9E%E3%81%AE%E3%82%AD%E3%83%A3%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3.png)
表が 4 つあります。最初の表のキャプションは ですTable A: Title
。他の 3 つの表のキャプションはTable 1: Title
、Table 2: Title
、 ですTable 3: Title
。
使うときは
\caption{Title}
Table 1: Title
、、、および が返されますがTable 2
、この形式は不要です。Table 3
Table 4
答え1
最初のテーブルの番号を に変更しAlph
、その後 に戻す必要がありますarabic
。さらに、テーブル A の後にテーブル 2 が続くことがないように、テーブル カウンターを 1 つ戻す必要があります。
\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}