![다양한 유형의 캡션](https://rvso.com/image/254714/%EB%8B%A4%EC%96%91%ED%95%9C%20%EC%9C%A0%ED%98%95%EC%9D%98%20%EC%BA%A1%EC%85%98.png)
테이블이 4개 있어요. 첫 번째 테이블에는 이라는 캡션이 있습니다 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
. 또한 테이블 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}