The “sum" and “int" commands can (optionally) take in the parameters “from" and “to". These are used for lower and upper limits respectively. These parameters can be used singly or together. Limits for integrals are usually treated as subscripts and superscripts.
Markup
Result
sum from k = 1 to n a_k
int from 0 to x f(t) dt or int_0^x f(t) dt
or
int from Re f
sum to infinity 2^{-n}
For more details on integrals and sums, see the
Writer Guide.