[lltx] no µ in UMTypewriter?
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Sun Jul 1 03:25:09 CEST 2012
On Sun, Jul 01, 2012 at 12:44:49AM +0200, Reinhard Kotucha wrote:
> ------------------------------
> \documentclass[12pt]{minimal}
> \usepackage{fontspec}
>
> \begin{document}
> \setmonofont{LatinModern Mono}
> \texttt{-Ω-µ-}
>
> \setmonofont{UMTypewriter}
> \texttt{-Ω-µ-}
> \end{document}
> ------------------------------
>
> there is no µ in the second line (UMTypewriter) in the output.
There are two "mu"s in Unicode:
U+00B5: MICRO SIGN
U+03BC: GREEK SMALL LETTER MU
LatinModern Mono supports the first variant, whereas UMTypewriter
the second letter.
Also Ohm/Omega is available in two variants:
U+2126: OHM SIGN
U+03A9: GREEK CAPITAL LETTER OMEGA
LatinModern Mono supports both variants and UMTypewriter
the Greek letter only.
\documentclass[12pt]{minimal}
\pagestyle{empty}
\usepackage{fontspec}
\begin{document}
\newcommand*{\TestString}{%
-\textohm-^^^^2126-;-^^^^03a9-|-\textmu-^^^^03bc-;-^^b5-%
% -\textohm-Ω-;-Ω-|-\textmu-μ-;-µ-%
}
\setmonofont{LatinModern Mono}
\texttt{\TestString}
\setmonofont{UMTypewriter}
\texttt{\TestString}
\end{document}
Yours sincerely
Heiko Oberdiek
More information about the lualatex-dev
mailing list