Could anyone explain how I write units properly in LaTeX? In the form kg.s^-1. They come out all slanted and squished together when i use math mode and \frac.
Asked
Active
Viewed 9.8k times
19
pluton
- 16,421
David O'Sullivan
- 245
1 Answers
27
The siunitx package will interpret the units correctly

\documentclass{article}
\usepackage{siunitx}
\begin{document}
\noindent%
\si{kg.s^{-1}}\\
\si{\kilogram\per\second} \\
\si[per-mode=symbol]
{\kilogram\per\second}
\end{document}
David Carlisle
- 757,742
azetina
- 28,884
siunitxpackage definitely. – azetina Nov 01 '13 at 21:02\si{kg.s^{-1}}by loading the packagesiunitx. – azetina Nov 01 '13 at 21:05