On Wed, Mar 05, 2003 at 09:53:53PM -0800, Ling Li wrote: > > don't know if Andrew got an answer. > Sorry I didn't know that someone had done that before...
That should be "Andrey" not Andrew, my fault... > > There is a checkbox "Use AMS Math" in the doc setup (or prefs, I > > forget). > Yes I do know that checkbox. My thought about that box was: > 1. if some environments which require the amsmath package, such as align > and cases, are included in a LyX file, amsmath should be automatically > included. Yes. > 2. if the user doesn't include anything that intrigues the > auto-inclusion of amsmath but she/he writes some "evil-red-code" which > need the package, she/he is responsible for including amsmath by using > either that checkbox or the preamble. Yes. There is another case: what if a user creates his *own* "\cases" command ? Then the auto-detection could break his document. However, this is just like case 2), the user simply disables "Automatically use AMS math package", and that is that. > (I hope I am not raising some kind of flame.) Don't worry, I will take the heat ! :) regards, john