LaTeX Unit
You can also write units in Confluence pages using LaTeX Math for Confluence.
You can use Easy Math - LaTeX Inline macro for units.
Unlike regular formula and equations, units are handled slightly differently. LaTeX Math for Confluence uses MathJax rendering library to render TeX.
For writing units, you can refer to this community reference guide: https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference/27212#27212
Here are some examples using the app:
Single Units
Syntax: \mathrm{m}
Output:
Syntax: \mathrm{kg}
Output:
Powers of n
Syntax: 4.15\times10^{n}
Output:
Exponents
Syntax: 300\mathrm{m}^2
Output:
For complete examples, please refer to MathJax reference documentation.