Libertinus font and AnonymousPro

Wolfgang Engelmann engelmann at uni-tuebingen.de
Wed Jul 7 09:25:53 UTC 2021



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 <engelmann at uni-tuebingen.de>:
>>>
>>>> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AnonymousPro.23-WE.lyx
Type: application/x-lyx
Size: 2125 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210707/464e62ee/attachment.lyx>


More information about the lyx-users mailing list