change order of ^ and _ in LaTeX output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2860 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-10-10 17:26:44 +00:00
parent ba61c3aa4c
commit 30d9929153

View File

@ -353,17 +353,17 @@ void MathAtom::write(std::ostream & os, bool fragile) const
} else } else
os << "{}"; os << "{}";
if (up()) {
os << "^{";
up()->write(os, fragile);
os << "}";
}
if (down()) { if (down()) {
os << "_{"; os << "_{";
down()->write(os, fragile); down()->write(os, fragile);
os << "}"; os << "}";
} }
if (up()) {
os << "^{";
up()->write(os, fragile);
os << "}";
}
} }