From 30d99291536790e890fe2e1195fa184aa96fc089 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 10 Oct 2001 17:26:44 +0000 Subject: [PATCH] change order of ^ and _ in LaTeX output git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2860 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_atom.C | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 << "}"; + } } -- 2.39.2