siunitx

Numbers and quantities set the way siunitx sets them, with its defaults, so a document written for it reads the same here.

Loading

\usepackage{siunitx}

A module of its own, compiled into mLaTeX: the package's commands are defined over mLaTeX's primitives.

Commands

\A, \ampere, \ang, \arcminute, \arcsecond, \as, \astronomicalunit, \atomicmassunit, \atto, \bar, \barn, \becquerel, \bel, \bit, \byte, \C, \candela, \centi, \cm, \coulomb, \cubed, \cubic, \dalton, \day, \dB, \deca, \deci, \decibel, \DeclareSIPower, \DeclareSIPrefix, \DeclareSIUnit, \degree, \degreeCelsius, \deka, \dm, \electronvolt, \eV, \exa, \F, \farad, \femto, \fF, \fg, \fmol, \fs, \g, \GeV, \GHz, \gibi, \gibibyte, \giga, \GPa, \gram, \gray, \GW, \H, \hectare, \hecto, \henry, \hertz, \hL, \hour, \Hz, \J, \joule, \K, \kA, \katal, \kelvin, \keV, \kg, \kHz, \kibi, \kibibyte, \kilo, \kilogram, \kJ, \km, \kmol, \kN, \knot, \kohm, \kPa, \kV, \kW, \kWh, \L, \liter, \litre, \lumen, \lux, \m, \mA, \mC, \mebi, \mebibyte, \mega, \meter, \metre, \MeV, \meV, \mg, \mH, \MHz, \mHz, \micro, \milli, \minute, \mJ, \mL, \mm, \mmHg, \mmol, \MN, \mN, \Mohm, \mohm, \mol, \mole, \MPa, \ms, \mV, \MW, \mW, \N, \nA, \nano, \nauticalmile, \nC, \neper, \newton, \nF, \ng, \nm, \nmol, \ns, \num, \numlist, \numrange, \nV, \ohm, \Pa, \pA, \pascal, \per, \percent, \peta, \pF, \pg, \pico, \pm, \pmol, \ps, \pV, \qty, \qtyrange, \quecto, \quetta, \radian, \raiseto, \ronna, \ronto, \s, \second, \SI, \si, \siafter, \siamount, \siclose, \sicount, \siemens, \siempty, \sievert, \sifraction, \siinverse, \silist, \simantissa, \simark, \sinegative, \sinext, \sinumber, \sipeek, \siper, \siplaces, \siprefix, \siprefixed, \siraise, \siraised, \SIrange, \sireset, \sirest, \siseparator, \sisetup, \sisign, \sispread, \sistop, \sisymbol, \sitothe, \sitrail, \siunit, \siunits, \sivalue, \siwhole, \square, \squared, \steradian, \tablenum, \tebi, \tera, \tesla, \TeV, \THz, \tonne, \tothe, \uA, \uC, \uF, \ug, \uH, \uJ, \uL, \um, \umol, \unit, \us, \uV, \uW, \V, \volt, \W, \watt, \weber, \yocto, \yotta, \zepto, \zetta.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

siunitx.tex
\documentclass{article}
\usepackage{siunitx}
\usepackage{booktabs}
\begin{document}
\sisetup{per-mode=symbol}
\SI{9.81}{\metre\per\second\squared}, \qty{3}{\kilo\gram}, \si{\joule}, \num{12345.678}, \num{1e-3}, \ang{30}, \SIrange{1}{5}{\milli\metre}, \numlist{1;2;3}, \unit{\newton\metre}, \qtyrange{1}{2}{\hertz}.
\begin{tabular}{S[table-format=2.2]}
\toprule
{Value} \\ \midrule 1.5 \\ 12.25 \\ \bottomrule
\end{tabular}
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX