[Tex/LaTex] Definition of \limits

math-mode

I am trying to understand how the \limits comand works in math mode but I cannot find its definition anywhere. So far, I've tried latex.ltx and amsmath.sty but I am now assuming it is stored somewhere else.

Best Answer

\limits is a tex primitive. from victor eijkhout's "tex by topic" (pp. 287, 289):

  • \limits (primitive command) Place limits over and under a large operator. This is the default position in display style.
  • \nolimits (primitive command) Place limits of a large operator as subscript and superscript expressions. This is the default position in text style.

  • \displaylimits (primitive command) Restore default placement for limits.

chapter 37 of "tex by topic" is a glossary of tex primitives. if you are using a tex live system with documentation loaded, you can refer to this book online by texdoc texbytopic.