]> git.lyx.org Git - features.git/commitdiff
change order of ^ and _ in LaTeX output
authorAndré Pönitz <poenitz@gmx.net>
Wed, 10 Oct 2001 17:26:44 +0000 (17:26 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 10 Oct 2001 17:26:44 +0000 (17:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2860 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_atom.C

index c583e1d77ea2fbcbcdb6d4a277bab508488d0a83..0ab4f7737bbff8fe69e8914d9cb7566488f566df 100644 (file)
@@ -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 << "}";
+       }
 }