// returns position of first relation operator in the array
// used for "intelligent splitting"
- int firstRelOp(MathArray const & ar)
+ MathArray::size_type firstRelOp(MathArray const & ar)
{
for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
if ((*it)->isRelOp())
bool MathHullInset::ams() const
{
return true;
-
+/*
return
objtype_ == LM_OT_ALIGN ||
objtype_ == LM_OT_MULTLINE ||
objtype_ == LM_OT_ALIGNAT ||
objtype_ == LM_OT_XALIGNAT ||
objtype_ == LM_OT_XXALIGNAT;
+*/
}
void MathHullInset::validate(LaTeXFeatures & features) const
{
if (ams())
- features.require("amsstyle");
+ features.require("amsmath");
// Validation is necessary only if not using AMS math.