我知道您可以在数学模式中应用不同的字体大小,例如\scriptstyle
和\scriptscriptstyle
。我正在寻找一种既能获得该“大小”又能保留“样式”的方法\displaystyle
。
具体来说,我想在分数的分子和分母中设置极限,这\displaystyle
使得表达式几乎超出分数线。这是我使用的代码...
$\displaystyle\lim_{x\to c}\left(\frac fg\right)=\frac{\displaystyle\lim_{x\to c}f}{\displaystyle\lim_{x\to c}g},$ provided $\displaystyle\lim_{x\to c}g\ne0.$
答案1
\documentclass{article}
\begin{document}
You have
$\displaystyle\lim_{x\to c}\left(\frac fg\right)=\frac{\displaystyle\lim_{x\to c}f}{\displaystyle\lim_{x\to c}g},$ provided $\displaystyle\lim_{x\to c}g\ne0.$
However it should be (compare the final dot):
$\displaystyle\lim_{x\to c}\left(\frac fg\right)=\frac{\displaystyle\lim_{x\to c}f}{\displaystyle\lim_{x\to c}g},$ provided $\displaystyle\lim_{x\to c}g\ne0$.
You want to either
$\lim_{x\to c}\limits\left(\frac fg\right)=\frac{\textstyle\lim_{x\to c}\limits f}{\strut\textstyle\lim_{x\to c}\limits g},$ provided $\lim_{x\to c}\limits g\ne0$.
or:
$\lim_{x\to c}\limits\left(\frac fg\right)=\frac{\lim_{x\to c}\limits f}{\lim_{x\to c}\limits g},$ provided $\lim_{x\to c}\limits g\ne0$.
\end{document}