5 #include "math_scriptinset.h"
6 #include "support/LOstream.h"
9 MathScriptInset::MathScriptInset(bool up, bool down)
10 : MathUpDownInset(up, down)
14 MathInset * MathScriptInset::clone() const
16 return new MathScriptInset(*this);
20 void MathScriptInset::WriteNormal(std::ostream & os) const
23 os << "[superscript ";
24 cell(0).WriteNormal(os);
29 cell(1).WriteNormal(os);
35 void MathScriptInset::idxDelete(int & idx, bool & popit, bool & deleteit)
42 deleteit = !(up() || down());