Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to show unit symbols of micro, nano, kilo, mega .. Is there a recommend front for this usage?

ex: 10µ Ω

share|improve this question
1  
No one uses the units package anymore? –  Manuel Kuehner Jun 9 at 11:19
    
I am developing a scientific app! –  simo Jun 9 at 11:21
    
@ManuelKuehner why should I use the units package over siunitx? I'm genuinely curious. –  Argo Jun 9 at 11:24
    
@Argo: The package is much simpler and stable. I experienced that I used siunitx and then I updated my LaTeX installation a couple of months later and I had an error due to changed in the code of siunitx. Of course siunitx is more powerful. But in normal day to day work units is good enough and I don't need to remember many commands. And I love the nicefrac option. All of that is highly subjective! –  Manuel Kuehner Jun 9 at 11:54
    
I see, I'll look into it. I had to typeset some imperial units for an exam in physics and that was kinda a pain to do manually properly. –  Argo Jun 9 at 12:03
show 1 more comment

2 Answers 2

up vote 11 down vote accepted

Use the siunitx package, it's pretty much the best way to typeset (SI)units, since you don't have to take care of spacing, symbols and whatnot.

Example:

\documentclass{article}
\usepackage{siunitx}
\begin{document
This is an example of the siunitx package: \SI{10}{\micro\ohm}
\end{document

Gives the following:

enter image description here

share|improve this answer
    
Also the \num command by itself is very useful: it inserts thin spaces between triplets of digits in five-digit or higher numbers. So, \num{10000} would output 10 000 (with a thin space). –  WChargin Jun 9 at 15:48
1  
@WChargin agreed, although I don't use it for the space between digits, but rather for scientific notation. \num{8,85e-12} is faster than $8,85\cdot 10^{-12}$ (and it probably handles the spacing as well). –  Argo Jun 9 at 16:14
add comment
\documentclass[12pt]{report}
\usepackage{amsmath}
\usepackage{upgreek}
\begin{document}

$10\,\upmu\Omega$

\end{document}

enter image description here

Have a look at package siunitx. It makes life easier for writing values and units.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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