2 #ifndef MATH_FONTOLDINSET_H
3 #define MATH_FONTOLDINSET_H
5 #include "math_nestinset.h"
11 /** Old-style font changes
17 class MathFontOldInset : public MathNestInset {
20 explicit MathFontOldInset(latexkeys const * key);
22 MathInset * clone() const;
23 /// we write extra braces in any case...
24 bool extraBraces() const { return true; }
26 void metrics(MathMetricsInfo & mi) const;
28 void draw(MathPainterInfo & pi, int x, int y) const;
30 void metricsT(TextMetricsInfo const & mi) const;
32 void drawT(TextPainter & pi, int x, int y) const;
34 void write(WriteStream & os) const;
36 void normalize(NormalStream &) const;
38 void infoize(std::ostream & os) const;
41 /// the font to be used on screen
42 latexkeys const * key_;