mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #7233: amsthm does not work with the redefined \[ command of fixltx2e.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37187 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
645f9fdf6d
commit
c99a8a702c
@ -581,7 +581,6 @@ char const * simplefeatures[] = {
|
||||
"framed",
|
||||
"soul",
|
||||
"textcomp",
|
||||
"fixltx2e",
|
||||
"pmboxdraw",
|
||||
"bbding",
|
||||
"ifsym",
|
||||
@ -701,6 +700,12 @@ string const LaTeXFeatures::getPackages() const
|
||||
if (!params_.useNonTeXFonts && !loadAMSPackages().empty())
|
||||
packages << loadAMSPackages();
|
||||
|
||||
// fixltx2e must be loaded after amsthm, since amsthm produces an error with
|
||||
// the redefined \[ command (bug 7233). Load is as early as possible, since
|
||||
// other packages might profit from it.
|
||||
if (mustProvide("fixltx2e"))
|
||||
packages << "\\usepackage{fixltx2e}\n";
|
||||
|
||||
// wasysym is a simple feature, but it must be after amsmath if both
|
||||
// are used
|
||||
// wasysym redefines some integrals (e.g. iint) from amsmath. That
|
||||
|
Loading…
Reference in New Issue
Block a user