Category Archives: LaTeX

Customising exponents in siunitx

Typesetting SI units in LaTeX can be done using the siunitx package.  One disadvantage is that siunitx doesn’t like math-mode inside the numbers it has to print. This makes it a little tricky to add unusual exponents or do other formatting that is easy in math-mode.  Therefore, siunitx includes a parser that figures out such things as \SI{5 x 2}{\metre} should appear as follows: Continue reading