1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
這樣寫

\documentclass{book}

\begin{document}

\tableofcontnts


\chapter{One} % Chapter One
\chpter{Two} % Chapter Two
.
.
.
\appendix
\renewcommand{\thesection}{\thechapter.\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}

\chapter{...} % Appendix A
\section{...} % A.1
\section{...} % A.2

\chapter{...} % Appendix B
\section{...} % B.1
\section{...} % B.2

\end{document}

希望有幫助