使 \lim 成为多行而不是单行

使 \lim 成为多行而不是单行

我用这个来表示一个限制:

\lim _{b\rightarrow \infty }

但是极限表达式位于极限符号的一侧。

在此处输入图片描述

我希望它在限制之下。

我发现在一些 LaTeX 表示版本中,它以正确的方式出现。

我使用以下软件包:

\usepackage{mathtools}
\usepackage[utf8]{inputenc}
\usepackage[osf,slantedGreek]{mathpazo}

答案1

textstyle 布局的设计不会干扰周围段落的行间距。如果您强制对数学运算符使用 limits 样式,或者更糟的是,强制对整个内联表达式使用 displaystyle,行间距就会被打乱,很难将段落视为一个文本单元。如果表达式足够复杂以至于需要这样做,最好使用诸如而\[\]不是 inline 之类的显示构造来设置它。

在此处输入图片描述

\documentclass{article}
\usepackage{amsmath}


\begin{document}

\section{inline textstyle}
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
$\lim_{b\to-\infty} \frac{x}{b} = ?$
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 


\section{inline textstyle with limits}
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
$\lim\limits_{b\to-\infty} \frac{x}{b} = ?$
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 

\section{inline displaystyle}
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
$\displaystyle\lim_{b\to-\infty} \frac{x}{b} = ?$
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 

\section{display}
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
\[\lim_{b\to-\infty} \frac{x}{b} = ?\]
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 
The cat sat on the mat. The cat sat on the mat. The cat sat on the mat. 







\end{document}

相关内容