To type mathematical equations, enclose them using \(⋯\) or $⋯$ as you would in LaTeX. To type a dollar sign, precede it with a blackslash as in \\$. To show an equation in display mode, use \[⋯\].
A few macros have been defined for convenience:
-
\$ket{\psi}\$gives $\ket{\psi}$ -
\$bra{\phi}\$gives $\bra{\phi}$ -
\$braket{\phi}{\psi}\$gives $\braket{\phi}{\psi}$ -
\$twobyone{a}{b}\$gives $\twobyone{a}{b}$ -
\$onebytwo{c}{d}\$gives $\onebytwo{c}{d}$ -
\$twobytwo{a}{b}{c}{d}\$gives $\twobytwo{a}{b}{c}{d}$