确实如此,请查看texdoc amsthm
的文档。
\documentclass{article}
\usepackage{amsthm}
\newtheorem{mythmA}{ThmA}
\theoremstyle{definition}
\newtheorem{mythmB}{ThmB}
\setlength{\parindent}{0pt}
\begin{document}
This is a theorem with a custom label.
\begin{mythmA}
This is a theorem with a custom label.
\end{mythmA}
\begin{mythmB}
This is a theorem with a custom label.
\end{mythmB}
This is a theorem with a custom label.
\end{document}