On 07/20/2012 03:40 AM, Guenter Milde wrote:
Also, math-macros are document specific - defining a math-macro in one document does not make it available in other ones. This is why my documents include a file of commonly used math macros -- just like I \input a file with commonly used preamble definitions in my LaTeX documents.
Could you elaborate on the best way to include a file of commonly-used math macros, in a way which is compatible with Lyx? I tend to use a lot of \DeclareMathOperator commands in the preamble, for example. I've avoided the Lyx macro stuff so far because it has seemed to me to be *too* document specific. I don't know if it actually is, but I haven't found that information in the preliminary searches I've conducted. Any general comments on the "best" way to organize and include preamble material in a way which is compatible with Lyx would also be appreciated.