mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
\hat & subscript
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2742 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3367b31201
commit
d9738adfd7
@ -1215,7 +1215,7 @@ void MathCursor::interpret(string const & s)
|
||||
|
||||
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);
|
||||
|
@ -30,7 +30,11 @@ bool MathDecorationInset::upper() const
|
||||
|
||||
bool MathDecorationInset::isScriptable() const
|
||||
{
|
||||
return true;
|
||||
return
|
||||
name_ == "overbrace" ||
|
||||
name_ == "underbrace" ||
|
||||
name_ == "overleftarrow" ||
|
||||
name_ == "overrightarrow";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user