LibreOffice Math: Integral, Sum, and Product Formatting

LibreOffice Math provides a comprehensive set of markup commands to render and format integral, summation, and product symbols. This guide covers the syntax options for single and multiple integrals, contour integrals, standard summations, products, coproducts, and the methods used to position their upper and lower limits.

Integrals

LibreOffice Math supports various types of standard and contour integrals. You can create indefinite, definite, double, and line integrals using distinct keyword commands.

Basic Syntax and Multiple Integrals

Contour and Closed-Path Integrals

Adding Limits to Integrals

Limits can be positioned using the from and to operators, or by using subscript (_) and superscript (^) syntax: * Using from and to: int from {a} to {b} f(x) dx * Using sub/superscripts: int_{a}^{b} f(x) dx * Lower limit only: int from {0} f(x) dx or int_{0} f(x) dx * Upper limit only: int to {infinity} f(x) dx or int^{infinity} f(x) dx


Summations

The summation symbol (\(\sum\)) is rendered using the sum keyword.

Standard Formatting


Products and Coproducts

LibreOffice Math provides commands for both the standard capital Pi product operator (\(\prod\)) and the coproduct operator (\(\coprod\)).

Product Operator

Coproduct Operator


Limit Positioning and Layout Adjustments

The placement and appearance of limits can be adjusted using specific formatting techniques:

from/to vs. Subscript/Superscript

Grouping Complex Limits

When upper or lower bounds contain multiple terms, spaces, or operations, wrap the expressions inside curly braces {} to ensure correct parsing: * Correct: sum from {i = 0, j = 0} to {infinity} {a_{i,j}} * Incorrect: sum from i = 0, j = 0 to infinity {a_{i,j}}

Size Scaling

To manually resize operators along with their limits, prefix the command with the size modifier: * Example: size +4 {int from {0} to {1} f(x) dx}