Here is an example taken from the
LaTeX Cookbook, Chapter 10, Advanced Mathematics:
Code: Select all
Code, edit and compile here:
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
We get:

- inequality.png (14.04 KiB) Viewed 160435 times
Now we load the
mathtools
package, use the
\adjustlimits
command right before the
\lim
operator, insert
\smashoperator
to remove that big white space before
\sum
, and change
x^2
to
\cramped{x^2}
to slightly lower the exponent, at both places:
Code: Select all
Code, edit and compile here:
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
We get:

- finetuned.png (12.5 KiB) Viewed 160435 times
You can see that the limits onm the left side have been adjusted vertically, and some more mentioned finetuning. The
mathtools manual gives further information.
Stefan
Here is an example taken from the [url=https://www.packtpub.com/hardware-and-creative/latex-cookbook]LaTeX Cookbook[/url], Chapter 10, Advanced Mathematics:
[code]\documentclass[border=10pt,preview]{standalone}
\usepackage{dsfont}
\begin{document}
\[
\lim_{n\to\infty} \sup_{x\in\mathds{R}} f_n(x^2)
< n \Big(\sum_{x\in\mathds{R}, n\in\mathds{N}}
\big| f_n(x^2) \big| \Big)
\]
\end{document}[/code]
We get:
[attachment=1]inequality.png[/attachment]
Now we load the [latex]mathtools[/latex] package, use the [latex]\adjustlimits[/latex] command right before the [latex]\lim[/latex] operator, insert [latex]\smashoperator[/latex] to remove that big white space before [latex]\sum[/latex], and change [latex]x^2[/latex] to [latex]\cramped{x^2}[/latex] to slightly lower the exponent, at both places:
[code]\documentclass[border=10pt,preview]{standalone}
\usepackage{dsfont}
\usepackage{mathtools}
\begin{document}
\[
\adjustlimits\lim_{n\to\infty} \sup_{x\in\mathds{R}}
f_n(\cramped{x^2})
< n \Big( \smashoperator{\sum_{x\in\mathds{R},
n\in\mathds{N}}}
\big\lvert f_n(\cramped{x^2}) \big\rvert \Big)
\]
\end{document}[/code]
We get:
[attachment=0]finetuned.png[/attachment]
You can see that the limits onm the left side have been adjusted vertically, and some more mentioned finetuning. The [doc]mathtools[/doc] manual gives further information.
Stefan