Welcome Post: Math and Citations Demo
This post demonstrates equation numbering, cross-references, and citations.
Numbered Equations
A single numbered equation:
\[ e^{i\pi} + 1 = 0 \tag{1}\]
We can reference Equation 1 using Quarto cross-references. Let me test Section 1 works for the section as well. Hello?
OK, what about inline math? \(a\) it works.
Does the custom command work? \(\bbZ\) Good!
Let me test a norm: \(\norm{\mathbf{A}}\).
\[ \abs{S} \ge 2 \]
The complexity is denoted by \(\tO(n)\) or \(\poly(k)\)
Align Environment
The align environment also produces numbered equations:
\[ \begin{align} \nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \label{eq:gauss} \\ \nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \label{eq:faraday} \end{align} \]
We can reference these with \eqref: see \(\eqref{eq:gauss}\) and \(\eqref{eq:faraday}\).
Citations
Pandoc-style citations work as expected (Jiang & Yun, 2025).