文章附录

文章附录

我正在尝试向文章添加附录,但一直出现错误。这是我的代码:

\usepackage{makeidx} 
\usepackage[toc]{appendix}

\documentclass[12pt,a4paper]{article}
\usepackage[english]{babel}
\begin{document}
\tableofcontents

\appendix
\addcontentsline{toc}{section}{Appendix}
\section{Velocity} \label{ap:velocity}

在 Overleaf 中,文章被编译后会出现一个“附录”,但它不是用字母编号,而是用数字编号,就像是一个章节一样,而且它还显示命令有错误。如能得到任何帮助,我将不胜感激。

相关内容