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 am trying to reproduce the look of the micro symbol in the siunitx documentation; see for instance the following picture:

\micro from documentation

However, when compiling the following code:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\usepackage{textcomp}
\usepackage{siunitx}  

\begin{document}

\SI{15}{\micro\metre}

\end{document}

the mu comes out with serif as in the following picture:

mu from my code

I suppose there is a font issue here but I could find how to solve it by reading the siunitx documentation.

share|improve this question
    
You can adjust the definition, but why do you expect there to be no serif here? –  Joseph Wright Feb 28 '13 at 18:46
2  
Different font, try replacing lmodern with mathpazo. –  Torbjørn T. Feb 28 '13 at 18:50
1  
Admitedly serif in a serif text is rather normal. However some people find that the serif on the mu look odd and also (mainly) the mu in the documentation are sans-serif even in serif text. I was wondering how you achieved that. –  Alfred M. Feb 28 '13 at 18:50

2 Answers 2

up vote 4 down vote accepted

In this particular case, you're using a font different to that of the manual. Replace lmodern with mathpazo to get the same font. (This will of course influence the entire document.)

share|improve this answer

Finding the 'correct' micro symbol is tricky as a lot of fonts do not include the appropriate (upright, roman font, 'matching') micro or mu. The siunitx package therefore provides two options which control the symbol used here: math-micro and text-micro. These are used to set the symbol in math and text mode, respectively. Simply pick a formulation you like and use \sisetup to activate it

\sisetup{math-micro = <your-choice-here>, text-micro = <your-choice-here>}
share|improve this answer

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.