+2004-04-08 Angus Leeming <leeming@lyx.org>
+
+ * lyx_sty.C (boldsymbol_def): modify so that it outputs
+ "\providecommand" rather than "\newcommand", thereby preventing
+ clashes with packages that define "\boldsymbol" themselves.
+ Eg, beamer.
+
2004-04-08 Angus Leeming <leeming@lyx.org>
* lyxrc.C (read): don't try to set the color of none, inherit, ignore
string const boldsymbol_def =
"%% Bold symbol macro for standard LaTeX users\n"
- "\\newcommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n";
+ "\\providecommand{\\boldsymbol}[1]{\\mbox{\\boldmath $#1$}}\n";
string const binom_def =
"%% Binom macro for standard LaTeX users\n"