mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Herbert's multline patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4900 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e1ed4d9dd4
commit
e279f7bbb8
@ -515,7 +515,11 @@ void MathHullInset::mutate(string const & newtype)
|
|||||||
}
|
}
|
||||||
setType("eqnarray");
|
setType("eqnarray");
|
||||||
mutate(newtype);
|
mutate(newtype);
|
||||||
} else {
|
} else if (newtype == "multline" || newtype == "gather") {
|
||||||
|
setType("multline");
|
||||||
|
numbered(0, false);
|
||||||
|
mutate(newtype);
|
||||||
|
} else {
|
||||||
MathGridInset::addCol(1);
|
MathGridInset::addCol(1);
|
||||||
// split it "nicely"
|
// split it "nicely"
|
||||||
pos_type pos = firstRelOp(cell(0));
|
pos_type pos = firstRelOp(cell(0));
|
||||||
|
Loading…
Reference in New Issue
Block a user