我希望以编号和斜体形式陈述主张,但不使用粗体。
我可以做一个单独的:
\newtheorem*{claim1}{\textnormal{\textit{Claim 1}}}
对于每个数字。但末尾的句号仍然以粗体显示。我该如何修复?
答案1
只需创建您自己的\theoremstyle
:
\documentclass{article}
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheoremstyle{claim}% name
{\topsep}% space above
{\topsep}% space below
{}% body font
{}% indent amount
{\itshape}% theorem head font
{}% punctuation after theorem head
{.5em}% space after theorem head
{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}% theorem head spec
\theoremstyle{claim}
\newtheorem{claim}{Claim}
\begin{document}
\begin{theorem}
A theorem
\end{theorem}
\begin{theorem}[Name]
A named theorem
\end{theorem}
% ---
\begin{definition}
A description
\end{definition}
\begin{definition}[Name]
A named definition
\end{definition}
% ---
\begin{claim}
A claim
\end{claim}
\begin{claim}[Name]
A named claim
\end{claim}
\end{document}