节下定理的垂直间距行为

节下定理的垂直间距行为

我正在尝试在 Overleaf 中使用 Legrand Orange 模板。我无法理解为什么如果定理环境直接位于节下方,则节下方的垂直空间会被忽略,但如果先有文本,则垂直空间会被尊重。我通过弄乱模板和垂直间距命令对此进行了测试。

这是一个简单的例子,没有改变 temple structure.tex 文件中的任何内容:

\chapter{In-text Elements}

\section{Definitions}

This is an example of a definition. A definition could be mathematical or it could define a concept.

\begin{definition}[Definition name]
Given a vector space $E$, a norm on $E$ is an application, denoted $||\cdot||$, $E$ in $\mathbb{R}^+=[0,+\infty[$ such that:
\begin{align}
& ||\mathbf{x}||=0\ \Rightarrow\ \mathbf{x}=\mathbf{0}\\
& ||\lambda \mathbf{x}||=|\lambda|\cdot ||\mathbf{x}||\\
& ||\mathbf{x}+\mathbf{y}||\leq ||\mathbf{x}||+||\mathbf{y}||
\end{align}
\end{definition}

\section{Definitions Under Section}

\begin{definition}[Definition name]
Given a vector space $E$, a norm on $E$ is an application, denoted $||\cdot||$, $E$ in $\mathbb{R}^+=[0,+\infty[$ such that:
\begin{align}
& ||\mathbf{x}||=0\ \Rightarrow\ \mathbf{x}=\mathbf{0}\\
& ||\lambda \mathbf{x}||=|\lambda|\cdot ||\mathbf{x}||\\
& ||\mathbf{x}+\mathbf{y}||\leq ||\mathbf{x}||+||\mathbf{y}||
\end{align}
\end{definition}

输出显示第二个定义太靠近部分(如果我增加部分或定理的垂直间距,这种情况仍然会发生)在此处输入图片描述

提前感谢对此提供的任何解决方案!

相关内容