fix drawing glitch (wrong font sizes in displayed arrays)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2716 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-09-10 09:35:12 +00:00
parent 26063b2ef4
commit 168d6528f4
2 changed files with 9 additions and 0 deletions

View File

@ -37,3 +37,10 @@ void MathArrayInset::write(std::ostream & os, bool fragile) const
os << "\\protect"; os << "\\protect";
os << "\\end{array}\n"; os << "\\end{array}\n";
} }
void MathArrayInset::metrics(MathStyles st) const
{
MathGridInset::metrics(st == LM_ST_DISPLAY ? LM_ST_TEXT : st);
}

View File

@ -18,6 +18,8 @@ public:
/// ///
void write(std::ostream &, bool fragile) const; void write(std::ostream &, bool fragile) const;
/// ///
void metrics(MathStyles st) const;
///
bool isArray() const { return true; } bool isArray() const { return true; }
}; };