如何在附錄的章節字母後面加入點

如何在附錄的章節字母後面加入點

我想用字母列舉附錄中的部分,我已經成功了。但是我要怎麼樣才能在字母後面加點呢?我嘗試像前幾行一樣使用命令 \renewcommand ,但它在附錄中不起作用。

\documentclass[12pt]{article}

\usepackage{etoolbox}
\usepackage{appendix}
\renewcommand\thesection{\arabic{section}.}

\AtBeginEnvironment{subappendices}
{\section*{Appendix}
\renewcommand\thesection{\alph{section}.}
}

\begin{document}

\section{Introduction}
Bla, bla, bla.

\begin{appendices}

\section{Proof of Proposition 1}

ABC

\end{appendices} 

\end{document}

相關內容