]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_symbolinset.C
small up/down tweaking
[lyx.git] / src / mathed / math_symbolinset.C
index 8463bc998da5c1a60255b29b791dc132910e6a75..c317c89077f8dd2d0e7622fbab770829739344ed 100644 (file)
@@ -1,6 +1,5 @@
-
 #ifdef __GNUG__
-#pragma implementation 
+#pragma implementation
 #endif
 
 #include <config.h>
@@ -117,7 +116,7 @@ void MathSymbolInset::validate(LaTeXFeatures & features) const
 
 void MathSymbolInset::normalize(NormalStream & os) const
 {
-       os << "[symbol " << name() << "]";
+       os << "[symbol " << name() << ']';
 }
 
 
@@ -131,6 +130,17 @@ void MathSymbolInset::maplize(MapleStream & os) const
                os << name();
 }
 
+void MathSymbolInset::maximize(MaximaStream & os) const
+{
+       if (name() == "cdot")
+               os << '*';
+       else if (name() == "infty")
+               os << "INF";
+       else
+               os << name();
+}
+
+
 void MathSymbolInset::mathematicize(MathematicaStream & os) const
 {
        if ( name() == "pi")    { os << "Pi"; return;}
@@ -182,7 +192,7 @@ void MathSymbolInset::write(WriteStream & os) const
 }
 
 
-void MathSymbolInset::infoize(std::ostream & os) const
+void MathSymbolInset::infoize2(std::ostream & os) const
 {
        os << "Symbol: " << name();
 }