mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
fix macro order for newsubfloat
This commit is contained in:
parent
b93f2c20d3
commit
36730a2f3f
@ -1680,7 +1680,8 @@ void LaTeXFeatures::getFloatDefinitions(odocstream & os) const
|
||||
// effect. (Lgb)
|
||||
}
|
||||
if (cit->second)
|
||||
os << "\n\\newsubfloat{" << from_ascii(fl.floattype()) << "}\n";
|
||||
// The subfig package is loaded later
|
||||
os << "\n\\AtBeginDocument{\\newsubfloat{" << from_ascii(fl.floattype()) << "}}\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user