![如何删除附录标题中的“附录”一词](https://linux22.com/image/459131/%E5%A6%82%E4%BD%95%E5%88%A0%E9%99%A4%E9%99%84%E5%BD%95%E6%A0%87%E9%A2%98%E4%B8%AD%E7%9A%84%E2%80%9C%E9%99%84%E5%BD%95%E2%80%9D%E4%B8%80%E8%AF%8D.png)
答案1
如果不知道你正在使用的课程,很难回答。使用标准article
课程,一切都运行良好:
\documentclass{article}
\usepackage{amsmath,amsthm}
\newtheorem{lemma}{Lemma}[section]
\begin{document}
\appendix
\section{Optimal Values of Weighted Averages}
Below, we will prove two lemmas [...]
\begin{lemma}
Suppose $a \geq b$ and $\lambda \in [0,1]$. Then $a \geq a\lambda +
b(1 - \lambda) \geq b$.
\end{lemma}
\end{document}
你遇到的问题似乎是对 的错误修改\appendix
。尝试这样写
\renewcommand{\appendix}{\par
\setcounter{section}{0}
\setcounter{subsection}{0}
\gdef\thesection{\Alph{section}}
}