]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.C
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_spaceinset.C
index bf640cb4faaf90aac3b39bacf8590630ab264e32..d348218c2b857bc78b2bf0bc7fbdd9790854ca9f 100644 (file)
@@ -3,7 +3,7 @@
 #endif
 
 #include "math_spaceinset.h"
-#include "support.h"
+#include "math_support.h"
 #include "LColor.h"
 #include "Painter.h"
 #include "math_mathmlstream.h"
@@ -21,20 +21,7 @@ MathInset * MathSpaceInset::clone() const
 }
 
 
-void MathSpaceInset::write(MathWriteInfo & os) const
-{
-       if (space_ >= 0 && space_ < 6)
-               os << '\\' << latex_mathspace[space_] << ' ';
-}
-
-
-void MathSpaceInset::writeNormal(NormalStream & os) const
-{
-       os << "[space " << space_ << "] ";
-}
-
-
-void MathSpaceInset::metrics(MathMetricsInfo const & mi) const
+void MathSpaceInset::metrics(MathMetricsInfo const &) const
 {
        width_ = space_ ? space_ * 2 : 2;
        if (space_ > 3)
@@ -70,3 +57,30 @@ void MathSpaceInset::incSpace()
 {
        space_ = (space_ + 1) % 6;
 }
+
+
+void MathSpaceInset::maplize(MapleStream & os) const
+{
+       os << ' ';
+}
+
+
+void MathSpaceInset::octavize(OctaveStream & os) const
+{
+       os << ' ';
+}
+
+
+void MathSpaceInset::normalize(NormalStream & os) const
+{
+       os << "[space " << space_ << "] ";
+}
+
+
+void MathSpaceInset::write(WriteStream & os) const
+{
+       if (space_ >= 0 && space_ < 6)
+               os << '\\' << latex_mathspace[space_] << ' ';
+}
+
+