The Temml supported functions page includes working examples of some environments, but there are several other Temml environments that are only referenced in that page, not fully displayed.

This test page shows more of the environments.

Also, there is a section below on \tags, \labels, and \refs.

Environments

abcd\begin{matrix}
   a & b \\
   c & d
\end{matrix}
abcd\begin{array}{cc}
   a & b \\
   c & d
\end{array}
ab1.23.5\begin{matrix*}
   a & b \\
   1.2 & 3.5
\end{matrix*}
abcd\begin{darray}{cc}
   a & b \\
   c & d
\end{darray}
(abcd)\begin{pmatrix}
   a & b \\
   c & d
\end{pmatrix}
[abcd]\begin{bmatrix}
   a & b \\
   c & d
\end{bmatrix}
(ab1.23.5)\begin{pmatrix*}[r]
   a & b \\
   1.2 & 3.5
\end{pmatrix*}
[ab1.23.5]\begin{bmatrix*}[r]
   a & b \\
   1.2 & 3.5
\end{bmatrix*}
|abcd|\begin{vmatrix}
   a & b \\
   c & d
\end{vmatrix}
abcd\begin{Vmatrix}
   a & b \\
   c & d
\end{Vmatrix}
|ab1.23.5|\begin{vmatrix}
   a & b \\
   1.2 & 3.5
\end{vmatrix*}
ab1.23.5\begin{Vmatrix}
   a & b \\
   1.2 & 3.5
\end{Vmatrix*}
{ab1.23.5}\begin{Bmatrix}
   a & b \\
   1.2 & 3.5
\end{Bmatrix*}
abcdefghi\begin{array}{c|c:c}
  a & b & c \\ \hline
   d & e & f \\
   \hdashline
   g & h & i
\end{array} 
{ab1.23.5}\begin{Bmatrix*}[r]
   a & b \\
   1.2 & 3.5
\end{Bmatrix*}
abcdefghi\begin{array}{c|c:c}
  a & b & c \\ \hline
   d & e & f \\
   \hdashline
   g & h & i
\end{array} 
x={aif bcif dx = \begin{cases}
   a &\text{if } b \\
   c &\text{if } d
\end{cases}
aif bcif d}\begin{rcases}
   a &\text{if } b \\
   c &\text{if } d
\end{rcases}⇒
x={aif bcif dx = \begin{dcases}
   a &\text{if } b \\
   c &\text{if } d
\end{dcases}
aif bcif d}\begin{drcases}
   a &\text{if } b \\
   c &\text{if } d
\end{drcases}⇒
abcd\begin{smallmatrix}
   a & b \\
   c & d
\end{smallmatrix}

iΛ0<j<n

\sum_{\begin{subarray}{l}
   i\in\Lambda\\
   0<j<n
\end{subarray}}
1ABC2DEF(123ABCDEF)123ABCDEF\bordermatrix{
      & 1 & 2 & 3 \cr
   1 & A & B & C \cr
   2 & D & E & F \cr}
1ABC2DEF[123ABCDEF]123ABCDEF\bordermatrix[{[]}]{
      & 1 & 2 & 3 \cr
   1 & A & B & C \cr
   2 & D & E & F \cr}
abcd\matrix{a&b\\c & d}

a=b+c=e+f

\begin{equation}
\begin{split}
   a &=b+c\\
   &=e+f
\end{split}
\label{eqn}
\end{equation}

10x+3y=23x+13y=4

\begin{align}
   10&x+ &3&y = 2 \\
   3&x+&13&y = 4
\end{align}

a=b+c=e+f

\begin{equation*}
\begin{split}
   a &=b+c\\
   &=e+f
\end{split}
\end{equation*}

10x+3y=23x+13y=4

\begin{align*}
   10&x+ &3&y = 2 \\
   3&x+&13&y = 4
\end{align*}
a=be=b+c\begin{gathered}
a=b \\
e=b+c
\end{gathered}\
10x+3y=23x+13y=4\begin{aligned}
   10&x+ &3&y = 2 \\
   3&x+&13&y = 4
\end{aligned}

a=be=b+c

\begin{gather}
   a=b \\
   e=b+c \label{g}
\end{gather}

10x+3y=23x+13y=4

\begin{alignat}{2}
   10&x+ &3&y = 2 \\
   3&x+&13&y = 4
\end{alignat}

a=be=b+c

\begin{gather*}
   a=b \\
   e=b+c
\end{gather*}

10x+3y=23x+13y=4

\begin{alignat*}{2}
   10&x+ &3&y = 2 \\
   3&x+&13&y = 4
\end{alignat*}

AaBbcC=D

\begin{CD}
A @>a>> B \\
@VbVV @AAcA \\
C @= D
\end{CD}
10x+3y=23x+13y=4\begin{alignedat}{2}
   \10&x+ &3&y = 2\\
   3&x+&13&y = 4 \\
\end{alignedat}\

a=be=b+c

\begin{gather}
a=b \notag \\
e=b+c \\
\end{gather}

unodostres

\begin{multline}
   \rm uno \\
   \rm dos \\
   \rm tres
\end{multline}

a=be=b+c

\begin{gather}
a=b \nonumber\\
e=b+c\\
\end{gather}

Tags, Labels, and Refs

Here, we’ll show tests of tags, labels, and refs as they interact with environments. Some tags are already visible above, those being the AMS auto-numbers. There are also two labels above that we can target with refs. The first ref is: , which is an instance of the code: \ref{eqn}. Then we have , created via \eqref{g}.

While we are looking at AMS environments, let’s show a case in which a tag over-writes the automatic number.

a=b(90)e=b+c

\begin{gather}
   a=b \tag{90}\\
   e=b+c
\end{gather}

Let's add a label to that one:

a=b(91)e=b+c

\begin{gather}
   a=b \tag{91} \label{g2}\\
   e=b+c
\end{gather}

...and show an eqref to the label: , via the code: \eqref{g2}.

Next, we have a non-AMS environment with a tag:

abcd(hi!)

\begin{matrix}
   a & b \tag{hi!} \\
   c & d
\end{matrix}

The tag is applied to the entire math zone, not just one row. That is consistent with LaTeX. We can then add a label:

abcd(yo!)

\begin{matrix}
   a & b \tag{yo!} \label{m} \\
   c & d
\end{matrix}

Now an eqref to that label: , via the code: \eqref{m}.