fix macro order for newsubfloat

This commit is contained in:
Juergen Spitzmueller 2013-10-13 11:45:59 +02:00
parent b93f2c20d3
commit 36730a2f3f

View File

@ -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";
}
}