mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Fix bug #7252
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37288 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c0778a3d0e
commit
3d4f76cf2d
@ -74,6 +74,8 @@ bool InsetMathOverset::idxLast(Cursor & cur) const
|
||||
void InsetMathOverset::write(WriteStream & os) const
|
||||
{
|
||||
MathEnsurer ensurer(os);
|
||||
if (os.fragile())
|
||||
os << "\\protect";
|
||||
os << "\\overset{" << cell(0) << "}{" << cell(1) << '}';
|
||||
}
|
||||
|
||||
|
@ -85,6 +85,8 @@ bool InsetMathUnderset::idxUpDown(Cursor & cur, bool up) const
|
||||
void InsetMathUnderset::write(WriteStream & os) const
|
||||
{
|
||||
MathEnsurer ensurer(os);
|
||||
if (os.fragile())
|
||||
os << "\\protect";
|
||||
os << "\\underset{" << cell(0) << "}{" << cell(1) << '}';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user