"

2 New packages examples and footnotes

[1]

Advanced packages
ams

\[
\begin{align}
E &= mc^2 \\
F &= ma
\end{align}
\]

mathtools

\[
\begin{gathered}
a \coloneqq b + c \\
x \iff y
\end{gathered}
\]

boldsymbol

\[
\boldsymbol{\alpha + \beta = \gamma}
\]

physics

\[
\dv{f}{x}, \pdv{f}{x}, \expval{A}, \ket{\psi}
\]

braket

\[
\bra{\psi} H \ket{\phi} = E \braket{\psi | \phi}
\]

mhchem

\[
\ce{2H2 + O2 -> 2H2O}
\]

textmacros

\[
\textbf{Bold} \textit{Italic} \textsc{SmallCaps} \texttt{Monospace}
\]

autobold

\[
\mathbf{A} + \mathbf{B} = \mathbf{C}
\]

color

\[
\textcolor{red}{This is red text} \quad \color{blue}This is blue text
\]

bbox

\[
\bbox[5px,border:1px solid red]{E=mc^2}
\]

gensymb

\[
90^\circ, 100\ohm, 5\perthousand
\]

unicode

\[
𝒜 ⊆ 𝔹, 𝓍² + 𝓎² = 𝓏²
\]

cancel

\[
\cancel{x} + 5 = 10
\]

enclose

\[
\enclose{circle}{x}, \enclose{box}{y}, \enclose{updiagonalstrike}{z}
\]

noerrors

\[
\text{If } x \text{ is undefined, this will not break: } x_?
\]

noundefined

\[
\text{Missing symbol: } \undefinedsymbol
\]

require

\[
\require{mhchem}
\ce{H2O}
\]

tagformat

\[
\begin{equation}
E = mc^2 \tag{Einstein}
\end{equation}
\]


  1. Dollar signs \( alpha A \chi X\)

License

Icon for the Public Domain license

This work (Os Math should be updated soon by Oscar Arzola) is free of known copyright restrictions.