\Configure{aligned}
{\HCode{\string\begin{aligned}}}
{\HCode{\string\end{aligned}}}
{}
{\HCode{\string\\}}
{\ifnum \HCol>1\HCode{\a:math:amp}\fi} {}
\Configure{alignedat}
{\HCode{\string\begin{alignedat}}}
{\HCode{\string\end{alignedat}}}
{}
{\HCode{\string\\}}
{\ifnum \HCol>1\HCode{\a:math:amp}\fi} {}
-_-_-
\Configure{cases}
{}{}
{\HCode{\string\cases\l:brace}}
{\ifvmode \IgnorePar\fi \HCode{\r:brace}}
{\ifnum \HRow>1 \HCode{\string\cr\space}\fi}
{}
{<.mtd matrix.>}
{} -_-_-
\Configure{matrix}
{\HCode{\string\matrix\l:brace}}
{\HCode{\r:brace}}
{\ifnum \HRow>1 \HCode{\string\cr\space}\fi}
{}
{<.mtd matrix.>}
{} -_-_-
The grouping below is handle the case that the matrix is a base of an exponent.
\Configure{pmatrix} {\bgroup} {\egroup}
-_-_-
The grouping below is handle the case that the matrix is a base of an exponent.
The \, configurations is for facilitating the catching of left subscripts and
superscripts.
\Configure{quad}{{\ifmathltx \ifmtext \o:quad:\else
{\HCode{\string\quad\space}}\fi
\else \o:quad: \fi}}
\Configure{qquad}{{\ifmathltx \ifmtext \o:qquad:\else
{\HCode{\string\qquad\space}}\fi
\else \o:qquad: \fi}}
\Configure{,}
{{\HCode{\string\,}}}
-_-_-