]> git.lyx.org Git - features.git/blobdiff - src/mathed/formulabase.C
split super/subscript handling in new base class MathUpDownInset and
[features.git] / src / mathed / formulabase.C
index b048f29c46db02b4a74f440326277d682dc46160..91e1fd6c2f7d0243af03218415ed20daec0f6405 100644 (file)
@@ -147,6 +147,7 @@ LyXFont WhichFont(short type, int size)
 
        case LM_TC_SPECIAL: //f = Math_Fonts[0]; break;
        case LM_TC_TEXTRM:
+       case LM_TC_TEX:
        case LM_TC_RM:
                f = Math_Fonts[6];
                break;
@@ -184,6 +185,9 @@ LyXFont WhichFont(short type, int size)
        if (type != LM_TC_TEXTRM)
                f.setColor(LColor::math);
 
+       if (type == LM_TC_TEX)
+               f.setColor(LColor::latex);
+
        return f;
 }