# Wanting to write units properly [duplicate]

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.

## marked as duplicate by texenthusiast, moewe, Ludovic C., Heiko Oberdiek, WernerNov 1 '13 at 22:34

• siunitx package definitely. – azetina Nov 1 '13 at 21:02
• Do I have to download that? I mean, I'm completely new to LaTeX. – David O'Sullivan Nov 1 '13 at 21:04
• Try \si{kg.s^{-1}} by loading the package siunitx. – azetina Nov 1 '13 at 21:05
• I suppose you have miktex or texlive right? If so then download the package via the tlmgr(texlive) or package manager(miktex). – azetina Nov 1 '13 at 21:06

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}