Am 08.05.23 um 11:32 schrieb Udicoudco:
On Mon, May 8, 2023 at 12:11 PM Wolfgang Engelmann
<engelm...@uni-tuebingen.de> wrote:

In my lyx document (Koma script book) under no TeX (via LuaTX) I get
these errors:

Missing character: There is no 𝜇 (U+1D707) in font
[LibertinusSerif-Regular.o
tf]:mode=base;script=latn;language=dflt;+tnum;+lnum;!
.
<argument> ...rdinate) and growth rate ($\mathrm {\mu m/sec}$
                                                    , red, right
ordinate) of ...


Looks like you are using

 will switch to the text font, which does not contain some
of the mathematical symbols (greek letters in this case). Use \symup
or \symrm instead.

If you want you can pass the option mathrm=sym to unicode math
so that \mathrm will work as \symrm, but that can prevent kerning
in operator names (\sin etc.).

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Thanks, Udicoudco

where would
unicode-math and the \mathrm macro. > \mathrm
be set in LyX?
I can't see having done it anywhere in my document.
In Documents> settings > math options
I have set all options on
load automatically except ansmath

and in the preamble I use

\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}

and

% provides caption formatting
%\usepackage[font={it}]{caption}
\setkomafont{captionlabel}{\bfseries}
%\setkomafont{caption}{\footnotesize\itshape}
\setkomafont{caption}{\itshape}

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to