From: André Pönitz Date: Wed, 10 Oct 2001 17:26:44 +0000 (+0000) Subject: change order of ^ and _ in LaTeX output X-Git-Tag: 1.6.10~20500 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=30d99291536790e890fe2e1195fa184aa96fc089;p=features.git change order of ^ and _ in LaTeX output git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2860 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_atom.C b/src/mathed/math_atom.C index c583e1d77e..0ab4f7737b 100644 --- a/src/mathed/math_atom.C +++ b/src/mathed/math_atom.C @@ -353,17 +353,17 @@ void MathAtom::write(std::ostream & os, bool fragile) const } else os << "{}"; - if (up()) { - os << "^{"; - up()->write(os, fragile); - os << "}"; - } - if (down()) { os << "_{"; down()->write(os, fragile); os << "}"; } + + if (up()) { + os << "^{"; + up()->write(os, fragile); + os << "}"; + } }