]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/support.C
use stream-like syntax for LaTeX output
[lyx.git] / src / mathed / support.C
index d1fba3094a8dc07d9ffe695c56dce6869d82e708..9cb0cd114e5775116baad1b792ea3ce3d434954a 100644 (file)
@@ -355,7 +355,7 @@ double const slash[] = {
 
 
 double const hline[] = {
-       1, 0.05, 0.5, 0.95, 0.5,
+       1, 0.00, 0.5, 1.0, 0.5,
        0
 };
 
@@ -550,10 +550,8 @@ int mathed_char_descent(MathTextCodes type, MathStyles size, unsigned char c)
 int mathed_char_width(MathTextCodes type, MathStyles size, unsigned char c)
 {
        LyXFont const font = whichFont(type, size);
-       LyXFont const f1 = whichFont(LM_TC_TEXTRM, size);
-#warning why f1 is used ?
        if (isBinaryOp(c, type))
-               return lyxfont::width(c, font) + 2 * lyxfont::width(' ', f1);
+               return lyxfont::width(c, font) + 2 * lyxfont::width(' ', font);
        else
                return lyxfont::width(c, font);
 }