parskip 擾亂了定理與其證明之間的垂直空間

parskip 擾亂了定理與其證明之間的垂直空間

不知道為什麼,但我通常不喜歡parindent,所以我必須用 來彌補parskip。也許這是一個錯誤的決定,但我通常發現這樣更容易閱讀,尤其是在網路上。

然而,我最近注意到,透過這些設置,定理與其證明之間存在垂直空間,這對我來說有點太大了。尤其是當存在一系列定理和證明,而這些額外的空間將其錯誤地「分組」時,這一點尤其明顯——證明似乎更接近其下面的定理。

這是一個例子:

\documentclass[11pt]{article}
\usepackage{amsthm}
\usepackage{thmtools}
\declaretheorem[style=thm,parent=section]{theorem}
\parindent 0in
\parskip 1ex

\begin{document}
Some normal text.

Another paragraph.
\begin{theorem}
A theorem.
\end{theorem}
\begin{proof}
Its proof.
\end{proof}
\begin{theorem}
Another theorem.
\end{theorem}
\begin{proof}
Another proof.
\end{proof}
\end{document}

生產:

在此輸入影像描述

刪除 parskip/parindent 定義會產生以下結果:

在此輸入影像描述

定理看起來更好,但上面的段落(自然)之間沒有垂直空間。

我可能可以用 破解證明定理thmtools,但我想知道這是否是正確的方法(從技術角度來看,但也從設計角度來看)。

你怎麼認為?

相關內容