Libertinus font and AnonymousPro
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Tue Jul 6 07:18:24 UTC 2021
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
I put according to Voss this in the latex preamble:
\usepackage {libertinus-otf}
\setmonofont{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85}
in Document>settings
but get:
Requested font "AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85" at
10.94997p
t
-> font not found, using "nullfont"
! Package fontspec Error: The font
(fontspec)
"AnonymousPr[Scale=MatchLowercase,FakeStretch=0.85"
(fontspec) cannot be found.
At the end of the book it says:
\requirePackage[libertinus-otf]
\setmonofont{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll9]{AnonymouPro}
but this gave also an error:
Runaway argument?
{AnonymousPr[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll\ETC.
! Paragraph ended before \setmonofont was complete.
Voss offers this command to check for the installed fonts:
pdffonts 04-02-6.pdf | sed 's/^.*+/ /g' | (sed -u 2q; sort -k1,1 -u)
but I get:
I/O Error: Couldn't open file '04-02-6.pdf': No such file or directory.
and the command
I use LyX Version 2.3.6 (Friday, November 27, 2020)
under Debian 11 and use the non-TeX fonts setting
What should I do in order to use these fonts?
Wolfgang
More information about the lyx-users
mailing list