12

This question already has an answer here:

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, Werner Nov 1 '13 at 22:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 9
    siunitx package definitely. – azetina Nov 1 '13 at 21:02
  • 1
    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
  • 2
    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
17

The siunitx package will interpret the units correctly

enter image description here

\documentclass{article}
\usepackage{siunitx}
\begin{document}
\noindent%
\si{kg.s^{-1}}\\
\si{\kilogram\per\second} \\
\si[per-mode=symbol]
{\kilogram\per\second}
\end{document}

Not the answer you're looking for? Browse other questions tagged or ask your own question.