Wednesday, May 28, 2008

Placing limits above/below a math symbol

Placing limits above/below a math symbol: "


The are symbols in the math environment which usually come with limits like:


\max, \; \sum, \; \int.


By default, latex will place the limits just after the symbol which is obviously not the way we want to have it:


\max_k, \; \sum_{i=0}^n, \; \int_0^1.


Placing the limits above and below the symbol is actually simple and can be done with the limits-command which is placed just after the symbol:


 


\max\limits_k \rightarrow\; \max\limits_k

\sum\limits_{i=0}^n \rightarrow\; \sum\limits_{i=0}^n

\int\limits_0^1 \rightarrow\; \int\limits_0^1

 


"



(Via Blog on Latex Matters.)

No comments:

Twitter Updates