lyx_mirror/src/mathed/math_splitinset.C
André Pönitz c93e9dcbc5 some support for matrix operations with maple ('M-x math-extern maple evalm')
further cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2991 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 08:35:57 +00:00

32 lines
483 B
C

#ifdef __GNUG__
#pragma implementation
#endif
#include "math_splitinset.h"
#include "math_mathmlstream.h"
MathSplitInset::MathSplitInset(int n)
: MathGridInset(2, n)
{
setDefaults();
}
MathInset * MathSplitInset::clone() const
{
return new MathSplitInset(*this);
}
void MathSplitInset::write(WriteStream & os) const
{
if (os.fragile)
os << "\\protect";
os << "\\begin{split}";
MathGridInset::write(os);
if (os.fragile)
os << "\\protect";
os << "\\end{split}\n";
}