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: tex.stackexchange.com/questions/145926/…? – Steven B. Segletes Sep 8 '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 8 '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 8 '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: bipm.org/en/publications/si-brochure – Chris H Sep 8 '15 at 12:14
  • 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 8 '15 at 13:21
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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