Have LyX load fontspec automatically with no-math option

2023-07-23 Thread 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.

Thank you,
Mike Pugh
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: XeTeX - Load packages before fontspec

2014-06-13 Thread Michael Dean Pugh
I can see a very distinct reason for wanting to be able to modify the LyX-
generated preamble directly (without having to use a separate editor).  I'm 
using MathTime Professional II fonts and I want to use it in conjunction 
with the bm package so that I have access to the bm versions of the \bm and 
\hm modifiers.  In order for this to work, \usepackage{bm} _must_follow_ 
\usepackage{mtpro2} and with LyX generating \usepackae{bm} in its own 
preamble, the second \usepackage{bm} in my preamble is rendered useless.  I 
see this as much more of a hindrance than a feature. 



Re: XeTeX - Load packages before fontspec

2014-06-13 Thread Michael Dean Pugh
I can see a very distinct reason for wanting to be able to modify the LyX-
generated preamble directly (without having to use a separate editor).  I'm 
using MathTime Professional II fonts and I want to use it in conjunction 
with the bm package so that I have access to the bm versions of the \bm and 
\hm modifiers.  In order for this to work, \usepackage{bm} _must_follow_ 
\usepackage{mtpro2} and with LyX generating \usepackae{bm} in its own 
preamble, the second \usepackage{bm} in my preamble is rendered useless.  I 
see this as much more of a hindrance than a feature. 



Re: XeTeX - Load packages before fontspec

2014-06-13 Thread Michael Dean Pugh
I can see a very distinct reason for wanting to be able to modify the LyX-
generated preamble directly (without having to use a separate editor).  I'm 
using MathTime Professional II fonts and I want to use it in conjunction 
with the bm package so that I have access to the bm versions of the \bm and 
\hm modifiers.  In order for this to work, \usepackage{bm} _must_follow_ 
\usepackage{mtpro2} and with LyX generating \usepackae{bm} in its own 
preamble, the second \usepackage{bm} in my preamble is rendered useless.  I 
see this as much more of a hindrance than a feature.