From df86edfddc6588fac299430220a06c0c539f72f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 9 Dec 2002 09:52:43 +0000 Subject: [PATCH] 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 --- src/mathed/math_dotsinset.C | 5 ++--- src/mathed/math_support.C | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mathed/math_dotsinset.C b/src/mathed/math_dotsinset.C index 084b61c92d..fe37ae08ea 100644 --- a/src/mathed/math_dotsinset.C +++ b/src/mathed/math_dotsinset.C @@ -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" + dh_ = 0; + if (key_->name == "cdots" || key_->name == "dotsb" || key_->name == "dotsm" || key_->name == "dotsi") dh_ = ascent() / 2; else if (key_->name == "dotsc") diff --git a/src/mathed/math_support.C b/src/mathed/math_support.C index 782fd1eb19..6d83d3aa74 100644 --- a/src/mathed/math_support.C +++ b/src/mathed/math_support.C @@ -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 }, -- 2.39.5