Template:Eqn

Usage
Used to add new rows of aligned math text.

  needs to be called first.

You can add a new general row in the following manner:

The different possible variables that can be used are:
 * 1) n - Right at the very far left (when needed), to be used for numbering, i.e. for labels.
 * 2) lll - Furthest left column.
 * 3) ll - Next furthest left column.
 * 4) lo - Next furthest left column (usually for operators on multi-line equations).
 * 5) l - General left column.
 * 6) o - Operator, defaults to $=$.
 * 7) ro - For operators on multi-line expressions.
 * 8) r</tt> - General right column.
 * 9) rr</tt> - Next furthest right column.
 * 10) rrr</tt> - Furthest right column.
 * 11) c</tt> - Comment.
 * 12) cc</tt> - Extra comment.

All columns are optional, but if o is omitted, it defaults to $=$.

Math delimiters (i.e.  $ ... $ </tt>, or  \( ... \) </tt> etc.) must be used only on the c</tt> and cc</tt> lines.

Once the full equation is completed,  </tt> must be called.

Warning
Do not put two closing curly brackets together, e.g.  }} </tt> because the interpreter thinks this marks the end of the template and it breaks the syntax.

Put a space between them:  } } </tt>

Also beware: the vertical bar character $|$ can not be included anywhere in $\LaTeX$ used to define equations using this template. These commands should also be used in conjunction with \left</tt> and \right</tt> commands for automatic sizing.
 * Use \vert</tt> instead of |</tt>: it produces $\vert$.
 * Use <tt>\Vert</tt> instead of <tt>||</tt> or <tt>\|</tt>: it produces $\Vert$.

Other constructs may also misbehave. Please beware.

Example
gives:

|-
 * align="right" |
 * align="right" | \(\displaystyle \)
 * align="right" | \(\displaystyle \)
 * align="right" | \(\displaystyle \)
 * align="right" | \(\displaystyle \)
 * align="center" | \(\)
 * align="left"  | \(\displaystyle \)
 * align="left"  | \(\displaystyle \)
 * align="left"  | \(\displaystyle \)
 * align="left"  | \(\displaystyle \)
 * align="left"  |
 * align="left"  |