如何將定義與以下文字分開?

如何將定義與以下文字分開?

使用definition定理樣式 fromamsthm並不能讓讀者區分屬於定義的文字和定義後面的文字。例子:

\documentclass{scrbook}
\usepackage{amsthm}
\theoremstyle{definition}
\newtheorem{defi}{Definition}

\begin{document}

  \begin{defi}
    Some Definition.
  \end{defi}

  Some text.
\end{document}

您對如何使某些定義和以下文字之間的邊界更加清晰有什麼建議嗎?有沒有既專業又標準的解決方案?你的經驗是什麼?

我可以想到不同的解決方案:

  1. \qed在每個定義的末尾添加類似符號的內容。但我認為 qed 在這種情況下在語義上是錯誤的。
  2. 以任何方式變更字體,例如像在定理環境中一樣將其設為斜體。另一方面,這將使定義樣式變得毫無用處...
  3. 添加一些額外的空間。我不喜歡這個解決方案...

答案1

環境前後的垂直空間已經提供了視覺分離。它是一個定義這一事實也很突出,因為「定義」之前缺少縮排以及所使用的字元的不同粗細/形狀。

這是一個原因不是使用間隔段落,這使得難以區分不同部分。

不需要其他視覺線索。

例子:

\documentclass{article}
\usepackage{amsthm}
\usepackage{lipsum}

\theoremstyle{definition}
\newtheorem{defi}{Definition}

\begin{document}

\lipsum[1]

\begin{defi}
A group $G$ is called \emph{abelian} if, for all $a,b\in G$, $ab=ba$ or,
in other words, the operation on $G$ is commutative.
\end{defi}

\lipsum[3]

\end{document}

在此輸入影像描述

相關內容