Am 06.07.21 um 20:32 schrieb Herbert Voss:
Am 06.07.21 um 14:34 schrieb Wolfgang Engelmann:Am 06.07.21 um 10:34 schrieb Kornel Benko:Am Tue, 6 Jul 2021 09:18:24 +0200 schrieb Wolfgang Engelmann <[email protected]>:I would like to use the Libertinus font and AnonymousPro as recommended in the book of Herbert Voss 'Die wissenschaftliche Arbeit mit Latex''page 44. This font is not listed in the Document>font \RequirePackage {libertinus-otf}\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}I am using a full installed TeXLive on Ubuntu and LyX 2.3.4.2 (which should not be important): - creating a new document - insert into the document's preamble the two lines \usepackage{libertinus-otf}\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}- running lualatex or xelatex works fine.If you are using the TeXLive from Ubuntu, installed with the package manager,then you need a sudo apt install texlive-fonts-extra Herbert
Herbert, thanks
I followed your advice, installed Texlive 2021,
added the two lines you provided
\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}
reconfigured lyx but get this: Requested font "AnonymousPro" at 10.94997pt -> font not found, using "nullfont" ! Package fontspec Error: The font "AnonymousPro" cannot be found.In the appended lyx file (originally provided by Kornel) it tells me under Document>Fonts
that the Libertinus fonts are not installed. Could somebody try this file and see whether it works? I am using Debian 11 and Texlive 2021. Wolfgang
AnonymousPro.23-WE.lyx
Description: application/lyx
-- lyx-users mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-users
