Correct space between number and unit.

If we are writing document, some time we have to worry whether we should give space between number and its unit, if we should give space then how much space it should be. There is a very good solution for it in LaTeX. We have to use siunitx package to correct the spaces between number and unit.

At preamble add the following:
\usepackage{siunitx}
Now at the main document, where you want to write number with unit you have to right it like the following
\SI{<number>}{<unit>}
for example
\SI{5}{\ohm}
Please note that command 'SI' is in capital letter.

Hope this will help.

Cheers
APaul

Comments

Popular posts from this blog

Test blog for MathJax

Welcome to my LaTeX blog