mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
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:
parent
26063b2ef4
commit
168d6528f4
@ -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);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -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; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user