# Aligned Equations

The LATEX Equations page illustrates inline mathematics and simple equations. This page illustrates how to group and align several equations. It uses the existing {$...$} equation markup.

This page broke under PmWiki 2.2.0 beta 65; now fixed. In 2.2, the rule for evaluating character entities moved nearer the start of the evaluation sequence. This caused equation markup to evaluate before equation array markup, instead of after, so the arrays were interpreted as individual equations.

The simplest unnumbered form just aligns to the relation symbol:

Here is a group of aligned equations, with numbering (automatically set flush right):

Here is an unnumbered group of aligned equations (automatically centred):

Here is an unnumbered group of aligned equations, with 2 alignment positions, plus an intermediate line of text:

As of Wikipublisher version 2.2.7, the markup lets authors define a subequation set. Note that in the web page view, it continues the numbering where the previous equation left off. However, if an author adds a new numbered equation above this one, the image numbering does not change, as the image is generated once and stored.

(5)

References to aligned subequations are supported and it correctly counts the preceding aligned equation numbers: Equation (5) shows this.

In line with recommended LATEX practice, the recipe wraps the equations in the align environment, rather than using eqnarray.