#11899: Replace libertine font by libertinus font

Kornel Benko kornel at lyx.org
Fri Jul 3 14:19:09 UTC 2020


Am Fri, 3 Jul 2020 15:30:44 +0200
schrieb Kornel Benko <kornel at lyx.org>:

> Am Fri, 03 Jul 2020 14:30:55 +0200
> schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> 
> > Am Freitag, den 03.07.2020, 12:54 +0200 schrieb Kornel Benko:  
> > > Thanks, but I seem unable to enter a _working_ entry into
> > > lib/latexfonts.
> > > 
> > > All I get in Document->Fonts is either
> > >         libertinus Serif (not installed)
> > > or if that is corrected, then the tex-preamble does not show
> > > \usepackage{libertinus}
> > > 
...
> > 
> > Both libertinus and libertinus-type1 should work. Did you add the
> > package to chkconfig.ltx and reconfigure?
> > 
> > Jürgen  
> 
> Reconfigured yes. But forgot chkconfig.ltx.
> 
> 	Kornel

Next problem. Libertinus has options to select serif, sans etc.

But if I define for rm
	Package libertinus
	PackageOptions serif
for sans
	Package libertinus
	PackageOptions sans
and for tt
	Package libertinus
	PackageOptions mono=true

In the document set scale for sans 90, and for tt 80.

The resulting tex output is
	\usepackage[serif,osf]{libertinus}
	\usepackage[sans,ScaleSF=0.9]{libertinus}
	\usepackage[mono=true,ScaleTT=0.8]{libertinus}

which pdflatex does not like.
OTOH, using
	\usepackage[serif,osf,sans,ScaleSF=0.9,mono=true,ScaleTT=0.8]{libertinus}
is OK.

How can we achieve that?

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200703/b8b5f237/attachment.asc>


More information about the lyx-devel mailing list