Add font to recognized fonts

Jürgen Spitzmüller jspitzm at gmail.com
Tue Aug 30 06:58:19 UTC 2022


Am Montag, dem 29.08.2022 um 22:44 +0200 schrieb Lorenzo Bertini:
> Hello,
> 
> I noticed there are some fonts available for Latex that do not appear
> in 
> Lyx's document settings: an example is Caladea Font. This font comes
> in 
> "texlive-font-extra" package in Debian, so it's something commonly
> used.
> 
> Right now I use "\usepackage{caladea}" in an "AddToPreamble" custom 
> layout section. How would I add it to Lyx's menu of recognized fonts?
> To 
> be clear: document settings -> fonts section -> roman dropdown menu.
> 
> Things I've found so far: GuiDocument uses FontModule class to fill
> up the menu. Where would I go from here?

lib/latexfonts. The file has some documentation.

If you copy this file to your local lyx folder, you don't need to
recompile.

> 
> Thanks in advance
> 
> Lorenzo

HTH,

-- 
Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220830/c05472f0/attachment.asc>


More information about the lyx-devel mailing list