#define MATH_SCRIPTINSET_H
#include "InsetMathNest.h"
+#include "FontEnums.h"
namespace lyx {
InsetMathScript(Buffer * buf, MathAtom const & at, bool up);
///
mode_type currentMode() const override { return MATH_MODE; }
+ /// whether the inset has limit-like sub/superscript
+ Limits limits() const override;
+ /// sets types of sub/superscripts
+ void limits(Limits lim) override;
///
MathClass mathClass() const override;
///
size_type lastIdx() const override { return 0; }
/// write LaTeX and Lyx code
- void write(WriteStream & os) const override;
+ void write(TeXMathStream & os) const override;
/// write normalized content
void normalize(NormalStream &) const override;
/// write content as something readable by Maple
/// write content as something readable by Mathematica
void mathematica(MathematicaStream &) const override;
/// write content as MathML
- void mathmlize(MathStream &) const override;
+ void mathmlize(MathMLStream &) const override;
/// write content as HTML
void htmlize(HtmlStream &) const override;
/// write content as something readable by Octave
/// subscript to the left.
int nker(BufferView const * bv) const;
/// do we we have to draw the scripts above/below nucleus?
- bool hasLimits(FontInfo const &) const;
+ bool hasLimits(MathStyle const &) const;
/// clean up empty cells and return true if a cell has been deleted.
bool notifyCursorLeaves(Cursor const & old, Cursor & cur) override;