Add font to recognized fonts

Lorenzo Bertini lorenzobertini97 at gmail.com
Mon Aug 29 20:44:41 UTC 2022


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?

Thanks in advance

Lorenzo


More information about the lyx-devel mailing list