Am 01.12.21 um 20:18 schrieb Herbert Voss:


Am 01.12.21 um 18:36 schrieb Wolfgang Engelmann:


\usepackage{libertinus}
\setmathfont{STIX2Math.otf}


I inserted your
\usepackage{libertinus}
\setmathfont{STIX2Math.otf}

(I had before
\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}
>the second one in one line, i.e. [...]{AnonymousPro}

that is also ok, libertinus is a wrapper for libertinus-otf and libertinus-type1




which gives an error message
! Package fontspec Error: The font "STIX2Math" cannot be found.


it is  part of a full texlive installation.  You can try the file name:

\setmathfont{STIXTwoMath-Regular.otf}

it it doesn't help, then try to install STIXTwo:
https://ctan.org/tex-archive/fonts/stix2-otf?lang=de

Maybe that Ubuntu has an own package for that.

Herbert
Thanks, Herbert

I do have the sticks2 fonts, as shown by

/usr/local/texlive/2021/texmf-dist/fonts$ find -iname 'stix2*'

May be, I have to set a PATH to it? ow?

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

Reply via email to