0

How do I get a clean looking \micro symbol µ ?

enter image description here

I want a micro symbol, not a greek \mu, because that is another symbol. However tex does not render the proper symbol, and the symbol that is does render looks like it was stolen from a different font.
The 2nd variant is not much better.

How do I get a \micro symbol that actually looks like it was not copy-pasted from comic-sans?

% !TEX encoding = UTF-8 Unicode
\documentclass{standalone}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage[euler]{textgreek}
%\usepackage{textcomp}
\usepackage[active,tightpage,psfixbb]{preview}
\PreviewEnvironment{pgfpicture}

\setlength\PreviewBorder{0pt}
\begin{document}
\begin{tikzpicture}[x=1pt,y=1pt]
  \begin{scope}
  \path[clip] (  0.00,  0.00) rectangle (433.62,252.94);
  \definecolor{drawColor}{RGB}{0,0,0}

  \node[text=drawColor,anchor=base,inner sep=0pt, outer sep=0pt, scale=  1] at (242.01, 10.00) 
{Time in μ $\text{\textmu{}} \text{seconds}$, $n = 125\,000$};
% the unicode char "μ" does not render. And it has better not look like #2 above >-:< 
  \end{scope}
\end{tikzpicture}
\end{document}
  • 9
    (1) welcome, (2) why don't you take a step back and look into the siunitx package. (3) using language like "looks like it was drawn by a 2-year old" does not really make others want to help you. – daleif Feb 12 at 14:54
  • 2
    My alternative here, of slanting the italic Greeks into an upright posture, is another possibility you can reject: tex.stackexchange.com/questions/145926/… – Steven B. Segletes Feb 12 at 14:58
  • 1
    and I thought my handwriting was bad.... ;-) – JPi Feb 12 at 15:01
  • @StevenB.Segletes, I'd love to try it, but MikTex cannot find \usepackage{mathptmx} anywhere. – Johan - reinstate Monica Feb 12 at 15:11
  • 4
    The unicode symbol in your question is Unicode Character 'GREEK SMALL LETTER MU' (U+03BC), so it is quite unclear what you mean by not wanting a greek mu. – Ulrike Fischer Feb 12 at 15:12
4

As you don't like the micro symbol from siunitx, I try something else:

Use unicode-math with XeLaTeX or LuaLaTeX

enter image description here

\documentclass[margin=3mm]{standalone}
\usepackage{unicode-math}
\begin{document}
10 $\symup{\mu}$s
\end{document}

Edit:

As @Mico stated in the comments, you should combine unicode-math with siunitx by defining a new command – it is more natural IMHO:

\documentclass{article} 
\usepackage{unicode-math,siunitx} 
\newcommand\upmicro{\symup{\mu}} 
\begin{document} 
\SI{10}{\upmicro\second}
\end{document}
  • Thank you, although not technically very serif-ish, it does match the curvyness of CMU computer modern nicely. Much easier on the eyes. – Johan - reinstate Monica Feb 12 at 16:55
  • 1
    +1. It's straightforward to combine this method with the siunitx package and its \SI macro. E.g., \documentclass{article} \usepackage{unicode-math,siunitx} \newcommand\upmicro{\symup{\mu}} \begin{document} \SI{10}{\upmicro\second} \end{document}. – Mico Feb 12 at 17:46

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.