Answers for "LaTeX adjusting \sum limits"

0

LaTeX adjusting \sum limits

\documentclass{article}
\usepackage{mathtools}% http://ctan.org/pkg/mathtools
\begin{document}
\begin{align*}
  A &= \sum_{n=-\infty}^{+\infty} f(x) \\
  B &= \smashoperator[r]{\sum_{n=-\infty}^{+\infty}} f(x) \\
  C &= \sum_{\mathclap{n=-\infty}}^{+\infty} f(x) \\
  D &= \sum_{\substack{n={}\\-\infty}}^{+\infty} f(x) \\
  E &= \sum_{-\infty}^{\infty}\mathop{}_{\mkern-5mu n} f(x)
\end{align*}
\end{document}
Posted by: Guest on July-12-2021

Browse Popular Code Answers by Language