#include "InsetMathNest.h"
+namespace lyx {
+
+
class latexkeys;
/// Inset for font changes
/// are we in math mode, text mode, or unsure?
mode_type currentMode() const;
///
- std::string name() const;
+ docstring name() const;
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
///
void validate(LaTeXFeatures & features) const;
///
- void infoize(std::ostream & os) const;
+ void infoize(odocstream & os) const;
+ ///
+ int kerning(BufferView const * bv) const { return cell(0).kerning(bv); }
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual Inset * clone() const;
/// the font to be used on screen
latexkeys const * key_;
};
+
+
+} // namespace lyx
#endif