Aligned systems and matrices
Multi-line derivations align on their relation symbols, and matrices are set by TEX:
A numbered alignment with several aligned columns, rows of unequal width, and equation numbers:
(1)
π
=
π
π
π
π
π
π
π
π
7
=
π
π
=
π
(2)
π
=
β
π
=
π
π
=
longΒ entry
A piecewise definition in a cases environment, with some colour that changes with the theme:
sgn
(
π₯
)
=
{
+
1
ifΒ
π₯
>
0
,
+
0
ifΒ
π₯
=
0
,
β
1
ifΒ
π₯
<
0
.