]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDots.cpp
typo
[lyx.git] / src / mathed / InsetMathDots.cpp
index a89da08b340c6a554ee8ae82fa1418752a5961dd..63c54c950e03d96603eac45bbe4f8caca1af9b77 100644 (file)
@@ -43,8 +43,6 @@ void InsetMathDots::metrics(MetricsInfo & mi, Dimension & dim) const
        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 == "ddots" || key_->name == "adots"
                        || key_->name == "iddots" || key_->name == "vdots")
                dh_ = dim.asc;
@@ -58,7 +56,7 @@ void InsetMathDots::draw(PainterInfo & pi, int x, int y) const
                --y;
        else if (key_->name == "vdots")
                x += (dim.width() - 2) / 2;
-       mathed_draw_deco(pi, x + 2, y - dh_, dim.width() - 2, dim.ascent(),
+       mathed_draw_deco(pi, x + 1, y - dh_, dim.width() - 2, dim.ascent(),
                        key_->name);
 }
 
@@ -107,7 +105,7 @@ void InsetMathDots::mathmlize(MathMLStream & ms) const
                        ent = "⋮";
                else LASSERT(false, ent = "…");
        }
-       ms << MTag("mi") << from_ascii(ent) << ETag("mi");
+       ms << MTagInline("mi") << from_ascii(ent) << ETagInline("mi");
 }