if (s == "\\over" || s == "\\choose" || s == "\\atop") {
MathArray ar = array();
if (s == "\\over" || s == "\\choose" || s == "\\atop") {
MathArray ar = array();
- MathInset * p = createMathInset(in_word_set(s.substr(1)));
+ MathInset * p = createMathInset(s.substr(1));
p->cell(0).swap(array());
pos() = 0;
niceInsert(p);
p->cell(0).swap(array());
pos() = 0;
niceInsert(p);
bool MathDecorationInset::isScriptable() const
{
bool MathDecorationInset::isScriptable() const
{
+ return
+ name_ == "overbrace" ||
+ name_ == "underbrace" ||
+ name_ == "overleftarrow" ||
+ name_ == "overrightarrow";