- LyXFont font;
- whichFont(font, LM_TC_VAR, mi);
- mathed_char_dim(font, 'M', ascent_, descent_, width_);
- switch (name_[0]) {
- case 'l': dh_ = 0; break;
- case 'c': dh_ = ascent_ / 2; break;
- case 'v': width_ /= 2;
- case 'd': dh_ = ascent_; break;
+ mathed_char_dim(mi.base.font, 'M', dim);
+ dh_ = 0;
+ if (key_->name == "cdots" || key_->name == "dotsb"
+ || key_->name == "dotsm" || key_->name == "dotsi")
+ dh_ = dim.asc / 2;
+ else if (key_->name == "dotsc")
+ dh_ = dim.asc / 4;
+ else if (key_->name == "vdots") {
+ dim.wid = (dim.wid / 2) + 1;
+ dh_ = dim.asc;