}
-MathClass InsetMath::mathClass() const
-{
- return MC_ORD;
-}
-
-
InsetMath::marker_type InsetMath::marker(BufferView const *) const
{
return nargs() > 0 ? MARKER : NO_MARKER;
}
+/// write LaTeX and LyX code
+void InsetMath::writeLimits(WriteStream & os) const
+{
+ if (limits() == LIMITS) {
+ os << "\\limits";
+ os.pendingSpace(true);
+ } else if (limits() == NO_LIMITS) {
+ os << "\\nolimits ";
+ os.pendingSpace(true);
+ }
+}
+
+
void InsetMath::dump() const
{
lyxerr << "---------------------------------------------" << endl;