Have LyX load fontspec automatically with no-math option

Herbert Voss Herbert.Voss at fu-berlin.de
Mon Jul 24 05:03:42 UTC 2023



Am 23.07.23 um 22:27 schrieb Michael Dean Pugh:
> Hello!
>
> Is there a way to get LyX to load fontspec with the no-math option 
> from within LyX.  I know that it loads fontspec automatically when I 
> check the Use non-TeX fonts box in Document Settings -> Fonts and that 
> is what I want.  But I want to handle math entirely separately.  I 
> have found a workaround by putting the commands in the preamble, but 
> that causes other problems because load order is important.


use it as document class option: no-math

All options for the documentclass are also passed to _all_ loaded
packages.

Herbert


More information about the lyx-users mailing list