mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Load amsthm after amsmath.
This follows a strong advice in the masthm manual and fixes #7233.
This commit is contained in:
parent
88c274eee7
commit
880715c5a5
@ -1299,8 +1299,6 @@ bool LaTeXFeatures::needBabelLangOptions() const
|
||||
string const LaTeXFeatures::loadAMSPackages() const
|
||||
{
|
||||
ostringstream tmp;
|
||||
if (mustProvide("amsthm"))
|
||||
tmp << "\\usepackage{amsthm}\n";
|
||||
|
||||
if (mustProvide("amsmath")
|
||||
&& params_.use_package("amsmath") != BufferParams::package_off) {
|
||||
@ -1313,6 +1311,9 @@ string const LaTeXFeatures::loadAMSPackages() const
|
||||
tmp << "\\usepackage{amstext}\n";
|
||||
}
|
||||
|
||||
if (mustProvide("amsthm"))
|
||||
tmp << "\\usepackage{amsthm}\n";
|
||||
|
||||
if (mustProvide("amssymb")
|
||||
&& params_.use_package("amssymb") != BufferParams::package_off)
|
||||
tmp << "\\usepackage{amssymb}\n";
|
||||
|
Loading…
Reference in New Issue
Block a user