# Tag Info

20


12

The operators + and - in += and -= should be relational operators as seen in egreg's answer, because TeX does not set a space between +/- and = and the whole expression +=/-= becomes a relational symbol regarding the spacing before and after. This answer tries an automatic solution. The + and - symbols are made active in math mode only. Then the active ...

4


3

A suggestion for \sumn, using the sum code from Werner's answer here I generously gifted an optional argument defaulting to n if omitted. \documentclass[12pt]{article} \newcommand{\sumn}[1][n]{% \sum_{-\infty}^{\infty}\mathop{}_{\mkern-5mu {#1}}% } \usepackage{mathtools} \begin{document} \begin{align*} E &= \sumn f(x) \\ F &= \sumn[m] ...

1


1

There are two choices: 1) install esint.sty (precise method depends on which LaTeX distro one uses); or 2) in LyX go to Document -> Settings... -> Math Options and uncheck "Use esint package automatically". This option will only work if you are not using any of the 'advanced' integral signs that esint provides (double integrals, path integrals, etc.), but ...

Only top voted, non community-wiki answers of a minimum length are eligible