]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_fracinset.C
mathed67.diff
[features.git] / src / mathed / math_fracinset.C
index c9e054849a54d67ada151a6f1d4079ffafcd7d37..9d2fbf28c0a2da594dad1f306babaa8aacc498f3 100644 (file)
@@ -165,6 +165,11 @@ void MathFracInset::Metrics()
        idx_ = idxp;
 }
 
+MathParInset * MathFracInset::denom() 
+{
+       return &den_;
+}
+
 
 void MathFracInset::Write(ostream & os, bool fragile)
 {
@@ -175,11 +180,12 @@ void MathFracInset::Write(ostream & os, bool fragile)
        os << '}';
 }
 
+
 void MathFracInset::WriteNormal(ostream & os)
 {
-       os << '{' << name << ' ';
+       os << '[' << name << ' ';
        MathParInset::WriteNormal(os);
        os << " ";
        den_.WriteNormal(os);
-       os << "} ";
+       os << "] ";
 }