On Mon, May 8, 2023 at 3:14 PM Wolfgang Engelmann
<engelm...@uni-tuebingen.de> wrote:
>
> where would
> unicode-math and the \mathrm macro. > \mathrm
> be set in LyX?

In Document->Settings->Fonts->Math (the non-TeX option loads
unicode-math). Regarding \mathrm,
it is a macro that you probably used in the body of the document.

>
> and in the preamble I use
>
> \usepackage{libertinus-otf}
> \setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}

Ah, I see! so that is the origin of the problem. It seems that
libertinus-otf loads unicode-math.
So either use \symrm instead of \mathrm, as mentioned in the previous
mail, or pass the nomath
option to libertinus-otf, but that would prevent libertinus-otf to
change the math font altogether.

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

Reply via email to