void draw(PainterInfo & pi, int x, int y) const override;
/// we need package color
void validate(LaTeXFeatures & features) const override;
+ /// we inherit the mode
+ mode_type currentMode() const override { return current_mode_; }
///
- void write(WriteStream & os) const override;
+ void write(TeXMathStream & os) const override;
/// FIXME XHTML For now, we do nothing with color.
- void mathmlize(MathStream &) const override {}
+ void mathmlize(MathMLStream &) const override {}
/// FIXME XHTML For now, we do nothing with color.
void htmlize(HtmlStream &) const override {}
///
bool oldstyle_;
/// Our color. Only valid LaTeX colors are allowed.
docstring color_;
+ /// the inherited mode
+ mutable mode_type current_mode_;
};