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) m - Available middle column for expressions of the form $a < x < b$
 * 8) mo</tt> - Operator appearing to the right of m</tt>.
 * 9) ro</tt> - For operators on multi-line expressions.
 * 10) r</tt> - General right column.
 * 11) rr</tt> - Next furthest right column.
 * 12) rrr</tt> - Furthest right column.
 * 13) c</tt> - Comment.
 * 14) 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 <tt>\right</tt> commands for automatic sizing.
 * Use <tt>\vert</tt> instead of <tt>|</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" style="padding-left: 10px" |
 * align="right" style="padding: 3px 0px" |
 * align="right" style="padding: 3px 0px" |
 * align="right" style="padding: 3px 0px" |
 * align="right"  |\(\displaystyle \)
 * align="center" style="padding: 3px 5px" |\(\)
 * align="left" style="padding: 3px 0px"  |
 * align="center" style="padding: 3px 0px" |
 * align="left" style="padding: 3px 0px"  |
 * align="left"   |\(\displaystyle \)
 * align="left" style="padding: 3px 0px"  |
 * align="left" style="padding: 3px 0px"  |
 * align="left" style="padding: 3px 0px"  |
 * align="left" style="padding: 3px 0px"  |