support for \dots, Part II

fix drawing of \odots


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5796 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-12-09 09:52:43 +00:00
parent 094190ca46
commit df86edfddc
2 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,8 @@ MathInset * MathDotsInset::clone() const
void MathDotsInset::metrics(MathMetricsInfo & mi) const
{
mathed_char_dim(mi.base.font, 'M', dim_);
if (key_->name == "ldots" || key_->name == "dotsm")
dh_ = 0;
else if (key_->name == "cdots" || key_->name == "dotsb"
if (key_->name == "cdots" || key_->name == "dotsb"
|| key_->name == "dotsm" || key_->name == "dotsi")
dh_ = ascent() / 2;
else if (key_->name == "dotsc")

View File

@ -308,6 +308,7 @@ named_deco_struct deco_table[] = {
{"mathring", ring, 0 },
// Dots
{"dots", hline3, 0 },
{"ldots", hline3, 0 },
{"cdots", hline3, 0 },
{"vdots", hline3, 1 },