附录 A: 表 A.1 表 A.2 附录 B: 表 B.1 表 B.2 附录 C: 表 C.1 表 C.2
如何获得这样的输出
答案1
可能是这样?!
代码:
\documentclass{book}
\usepackage{lipsum}
% \usepackage{appendix} %% More useful. refer documentation. texdoc appendix from command prompt.
\begin{document}
\frontmatter
\tableofcontents
\cleardoublepage
\listoftables
\cleardoublepage
%\listoffigures
%\cleardoublepage
\chapter{Abstract}
\lipsum[1-2]
\mainmatter
\chapter{Test chapter}
\lipsum[1]
\begin{table}[htb]
\centering
\caption{Some other table}
A table
\end{table}
\section{First section}
\lipsum[1-5]
\appendix
%\begin{appendix} %% You can also use the environment instead of \appendix
\chapter{Appendix first}
\section{Use case one}
\begin{table}[htb]
\centering
\caption{Some other table}
A table
\end{table}
\section{Use case two}
\begin{table}[htb]
\centering
\caption{Some other table}
A table
\end{table}
\chapter{Appendix second}
\section{Use case one}
\begin{table}[htb]
\centering
\caption{Some other table}
A table
\end{table}
\section{Use case two}
\begin{table}[htb]
\centering
\caption{Some other table}
A table
\end{table}
%\end{appendix}
\backmatter
\end{document}