From f454da736fb4475ff8286a27cfeb351b63872191 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 25 Nov 2002 10:15:13 +0000 Subject: [PATCH] Fix \vdots problem reported by Michael git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5710 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_dotsinset.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); } -- 2.39.5