mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Output end of math environments at the beginning of a new line,
as now this should be blank line safe. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36372 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8cd4ef18c8
commit
6e41d3006d
@ -737,7 +737,7 @@ void InsetMathHull::header_write(WriteStream & os) const
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
os << "\\begin{unknown" << star(n) << '}';
|
os << "\\begin{unknown" << star(n) << "}\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -758,9 +758,9 @@ void InsetMathHull::footer_write(WriteStream & os) const
|
|||||||
|
|
||||||
case hullEquation:
|
case hullEquation:
|
||||||
if (n)
|
if (n)
|
||||||
os << "\\end{equation" << star(n) << "}\n";
|
os << "\n\\end{equation" << star(n) << "}\n";
|
||||||
else
|
else
|
||||||
os << "\\]\n";
|
os << "\n\\]\n";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case hullEqnArray:
|
case hullEqnArray:
|
||||||
@ -770,11 +770,11 @@ void InsetMathHull::footer_write(WriteStream & os) const
|
|||||||
case hullXAlignAt:
|
case hullXAlignAt:
|
||||||
case hullGather:
|
case hullGather:
|
||||||
case hullMultline:
|
case hullMultline:
|
||||||
os << "\\end{" << hullName(type_) << star(n) << "}\n";
|
os << "\n\\end{" << hullName(type_) << star(n) << "}\n";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case hullXXAlignAt:
|
case hullXXAlignAt:
|
||||||
os << "\\end{" << hullName(type_) << "}\n";
|
os << "\n\\end{" << hullName(type_) << "}\n";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case hullRegexp:
|
case hullRegexp:
|
||||||
@ -782,7 +782,7 @@ void InsetMathHull::footer_write(WriteStream & os) const
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
os << "\\end{unknown" << star(n) << '}';
|
os << "\n\\end{unknown" << star(n) << "}\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user