如何在定理环境中将点改为冒号?
最小工作示例:
\documentclass{book}
\usepackage{amsthm}
\newtheorem*{test}{Test}
\begin{document}
\begin{test}
\end{test}
\end{document}
不是重复的 我可以在 amsthm 中将 Proof 后的点改为冒号吗? 因为没有答案,所以没有工作。
答案1
答案2
您可以像这样定义一个新的定理样式:
\newtheoremstyle{mystyle}% name of the style to be used
{}% measure of space to leave above the theorem. E.g.: 3pt
{}% measure of space to leave below the theorem. E.g.: 3pt
{}% name of font to use in the body of the theorem
{}% measure of space to indent
{}% name of head font
{:}% punctuation between head and body
{ }% space after theorem head; " " = normal interword space
{\thmname{#1}\thmnumber{ #2}\thmnote{ #3}}
\theoremstyle{mystyle}
只需在第一次使用 \newtheorem 之前添加它即可。