\boldsymbol fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8631 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-04-08 13:06:49 +00:00
parent cd9a2a663c
commit 0062f3e03c
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -109,7 +109,7 @@ string const floatingfootnote_def =
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"