Math Environments (bare \begin — no $$ needed)
Bare LaTeX Math Environments
As of the 2026-06-20 renderer pass you can write LaTeX display-math
environments directly — no $$ … $$ wrapper required. This matches Mathpix
Markdown’s authoring convention, so equations pasted from a textbook or the MinerU
PDF pipeline render as-is.
Ide Pokok
A bare
\begin{align}…\end{align}now renders as display math (KaTeX,displayMode).Supported bare:
equation,align,alignat,gather,gathered,aligned,multline,split,cases,array, thematrixfamily,CD— plus*variants.\label{}on a bare environment still feeds the\eqrefnumbering scheme.$$…$$and inline$…$work exactly as before.
Bare align — no $$
You write this:
\begin{align}
\nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\
\nabla \cdot \mathbf{B} &= 0
\end{align}
…and it renders as:
gather — multiple centered equations (no alignment column)
Unlike align, gather centers each equation independently without an & alignment point:
multline — a single long equation that wraps
split inside equation — one number, multi-line derivation
Hukum Ampère umum, Pers. ??, berlaku di dalam medium maupun vakum.
cases, bmatrix, array — all bare
A piecewise definition with cases:
A rotation matrix with bmatrix:
A column-spec array:
Numbered equation + \eqref
A bare equation carrying a \label participates in the same cross-reference
system as $$-wrapped equations:
Mass–energy equivalence, Pers. ??, follows from special relativity.
Decoration operators — \vec, \hat, \mathbf, \mathcal, \mathrm
Gradient medan gravitasi dalam koordinat bola:
Operator nabla dalam koordinat bola (komponen \hat{r}, \hat{\theta}, \hat{\phi}):
Persamaan Schrödinger dalam notasi Dirac:
Nested fractions & multi-level operators
Faktor Lorentz (fraksi bersarang):
Distribusi Planck:
Luminositas total dari integrasi solid angle dan frekuensi:
Big operators: \sum, \prod, \lim
The classic $$ form still works
Inline math like \gamma = (1 - v^2/c^2)^{-1/2} renders mid-sentence, and the
traditional wrapped form is unchanged:
Relativistic momentum is Pers. ??.
Not supported (by design): \begin{flalign} and \begin{eqnarray} are left
as literal text because KaTeX cannot render them — a visible breakage beats a
silent red error. Use align instead.
Physical Quantities & Text Shorthands (siunitx subset, 2026-07-04)
A subset of the siunitx package is understood in prose — no math-mode escaping needed
for values with units.
\SI{value}{unit} — formatted quantity
- Kecepatan cahaya: 3×10⁸ m s⁻¹
- Massa Bumi: 5.97×10²⁴ kg
- Percepatan gravitasi: 9.8 m s⁻²
- Energi foton sinar-X: 10 keV
- Kerapatan inti neutron: 4×10¹⁷ kg m⁻³
Recognized prefixes: \nano \micro \milli \centi \kilo \mega \giga \tera.
Recognized units include \meter \second \kilogram \kelvin \joule \watt\newton \pascal \hertz \electronvolt \parsec \lightyear\astronomicalunit \year \day \hour. Combine with \per for a denominator
and \squared / \cubed for powers.
\num{value} — scientific notation without units
- Bilangan Avogadro: 6.022×10²³
- Konstanta Boltzmann: 1.381×10⁻²³
\ang{value} — angles, with optional DMS
- Deklinasi Polaris: 89°15′51″
- Sudut kemiringan sumbu Bumi: 23.4°
Inline formatting shorthands
Isotop 14C meluruh menjadi 14N melalui peluruhan
beta. Notasi kerapatan acuan \rho0 sering muncul dalam model bintang.
Catatan Jarak antar objek ditulis dengan tanda hubung tak-putus, misalnya
“jari-jari R_\odot“, supaya angka dan satuannya tidak terpisah baris. Titik-titik
elipsis 1, 2, \ldots, n dipakai untuk barisan yang berlanjut.
\begin{center} — centering arbitrary content
Demo: Mathpix-Style Rendering