I found it used in https://chemistry.stackexchange.com/a/76935
From the above we can see that the first and second coefficients
in the polynomial fit correspond directly to $A$ and $B$,
respectively. In this example, the energies are in wavenumbers
($\pu{cm^{-1}}$). Most quantum packages print in atomic units
(Hartrees) and dynamics packages print in kJ/mol, which is fine,
but be aware that in the above fit the units are incorporated into
$A$ and $B$.
A proper LaTeX setting would be with the siunitx
package:
\documentclass{article}
\usepackage{siunitx}
\begin{document}
From the above we can see that the first and second
coefficients in the polynomial fit correspond directly
to $A$~and~$B$, respectively. In this example, the energies
are in wavenumbers~(\si{\per\centi\meter}). Most quantum
packages print in atomic units (Hartrees) and dynamics
packages print in~\si[per-mode=symbol]{\kilo\joule\per\mol},
which is fine, but be aware that in the above fit the units
are incorporated into $A$~and~$B$.
\bigskip
From the above we can see that the first and second
coefficients in the polynomial fit correspond directly
to $A$~and~$B$, respectively. In this example, the energies
are in wavenumbers~(\si{cm^{-1}}). Most quantum
packages print in atomic units (Hartrees) and dynamics
packages print in~\si{kJ/mol},
which is fine, but be aware that in the above fit the units
are incorporated into $A$~and~$B$.
\end{document}
You can directly use representations of the symbols, but it's
much more flexible when names are used.
mhchem
package.MathJax mhchem
! it is widely used in chemistry stackexchange for putting units.