2

Code

\documentclass{article}
\usepackage[amsmath]
\begin{document}
ionizing collisions is about $132 \, \mu \text{m}$
\end{document}

giving

enter image description here

where I think the $\mu$ should be not cursive. I tried unsuccessfully putting the symbol within the text -environment.

What is the correct environment of the symbol for non-cursive text?

  • Would this answer suffice: http://tex.stackexchange.com/questions/145926/upright-greek-font-fitting-to-computer-modern/230220#230220? – Steven B. Segletes Sep 08 '15 at 11:51
  • I inserted the definition to the top and added unslant at the beginning of the \mu and run in XeLaTeX but get Undefined control sequence. Can you give a specific example for article in XeLaTeX, please. – Léo Léopold Hertz 준영 Sep 08 '15 at 12:01
  • 1
    The cited approach works in pdflatex, but apparently the pdf specials are not available to xelatex. – Steven B. Segletes Sep 08 '15 at 12:04
  • 1
    In your case I'd strongly suggest using siunitx to typeset your numbers with units. From this brief snippet I'd make a wild guess that you're going to be printing rather a lot of number/unit pairs. The mu for microns is handled correctly there. You are correct that the SI governing body says the mu shoudl be upright: http://www.bipm.org/en/publications/si-brochure – Chris H Sep 08 '15 at 12:14
  • @ChrisH To all cases? I am thinking where is the borderline. Like for $N_{P} = 27$ ion pairs/cm too? – Léo Léopold Hertz 준영 Sep 08 '15 at 12:48
  • 1
    I believe there's no reason why you can't do things like ion pairs/cm, either by setting up a new unit or as ion pair\si{\per\centi\metre} (which is probably how I'd do it). – Chris H Sep 08 '15 at 13:21

1 Answers1

4

The textcomp symbols (encoding TS1) contains an upright \textmu. An alternative for setting numbers and units offer the powerful package siunitx:

\documentclass{article}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{siunitx}

\begin{document}
ionizing collisions is about $132 \, \text{\textmu m}$
or \SI{132}{\micro\meter}.
\end{document}

Result

Heiko Oberdiek
  • 271,626