Typesetting math formulas with standard LaTeX

TeX is designed so that it can handle complex mathematical expressions. It’s also important, it’s designed in such a way that most of these expressions are easy to input. The general idea is to compose a complicated formula from less complicated formulas by putting them together in a simple way. The complexity of such combinations decreases as the formula is being decomposed until we come to some atomic elements of the formula. From the typist’s point of view, if you can type simple formulas and combine them into larger ones, you can handle any formula at all. And LaTeX, being a macro extension of TeX, makes it even easier to do certain things. We will start with simple formulas.

Typesetting mathematics is one of LaTeX’s defining strengths. Built directly on Donald Knuth’s TeX typesetting algorithms, LaTeX gives you fine-grained, programmable control over inline expressions, multi-line displayed equations, variable-sized delimiters, and specialized mathematical notation. Within Aspose.TeX for .NET, the Object TeX engine processes standard LaTeX math environments and built-in math packages natively inside managed .NET workflows, requiring no external TeX installation.

Math Modes: Inline vs. Display

LaTeX separates mathematical notation from body text by switching into dedicated math modes, each applying distinct spacing, font rules, and operator sizing:

Core capabilities covered in this chapter

The articles in this section progress from basic formula syntax to advanced layout tuning and symbol references:

Building blocks and syntax

Compound structures and grouping

Layout, alignment and reference