#include "InsetMath.h"
+#include "Font.h"
namespace lyx {
///
explicit InsetMathSymbol(docstring const & name);
///
- void metrics(MetricsInfo & mi, Dimension & dim) const;
+ bool metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo &, int x, int y) const;
///
- int width() const { return width_; }
+ int kerning() const { return kerning_; }
///
bool isRelOp() const;
+ ///
+ bool isOrdAlpha() const;
/// do we take scripts?
bool isScriptable() const;
/// do we take \limits or \nolimits?
void infoize2(odocstream & os) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual std::auto_ptr<Inset> doClone() const;
///
latexkeys const * sym_;
///
mutable int h_;
- /// cached width
- mutable int width_;
+ /// cached superscript kerning
+ mutable int kerning_;
///
mutable bool scriptable_;
};