Paul A. Rubin wrote:
Ivan Werning wrote:
I would like to compile my lyx document without amsymb and amsfonts package (but I do want the amsmath) loaded automatically because I would like to add another font package, lucimatx, that defines substitutes for it and dos things differently. see explanation here
http://www.pctex.com/kb/58.html

The bottom line is that my font packages conflict with amsymb and amsfonts and I need to turn the latter off. How can do this?

I added the necessary preamble lines to load my font packages in Documents>Settings>Preamble but going through the pdflatex log I see that lyx is calling amssymb and I cannot access the lyx default for that in any menu that I could find.

Thanks!

-Ivan

You can suppress loading of the AMS packages in Document -> Settings... -> Math Options (deselect both the first two choices). Then add \usepackage{amsmath} in the preamble.

/Paul



Ivan asked me to post the follow-up to this. (We continued the discussion offline.)

Turns out I was wrong. If you turn off AMS loading but then use an AMS symbol in a formula somewhere (such as \mathbb{R}), LyX spots this and automatically loads the amssymb and amsfonts packages, which are incompatible with lucimatx. The best solution would probably be a couple more check boxes to allow the user to suppress automatic loading of those packages as well.

/Paul

Reply via email to