From: André Pönitz Date: Mon, 25 Nov 2002 10:15:13 +0000 (+0000) Subject: Fix \vdots problem reported by Michael X-Git-Tag: 1.6.10~17903 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f454da736fb4475ff8286a27cfeb351b63872191;p=lyx.git Fix \vdots problem reported by Michael git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5710 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_dotsinset.C b/src/mathed/math_dotsinset.C index c939ac9892..023e182e7b 100644 --- a/src/mathed/math_dotsinset.C +++ b/src/mathed/math_dotsinset.C @@ -32,8 +32,10 @@ void MathDotsInset::metrics(MathMetricsInfo & mi) const dh_ = ascent() / 2; else if (key_->name == "dotsc") dh_ = ascent() / 4; - else if (key_->name == "vdots") - dim_.w /= 2; + else if (key_->name == "vdots") { + dim_.w = (dim_.w / 2) + 1; + dh_ = ascent(); + } else if (key_->name == "ddots") dh_ = ascent(); }