mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 15:18:45 +00:00
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:
parent
ba61c3aa4c
commit
30d9929153
@ -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 << "}";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user