void MathCharInset::normalize(NormalStream & os) const
{
- os << "[char " << char_ << ' ' << "mathalpha]";
+ os << "[char " << char_ << " mathalpha]";
}
}
+void MathCharInset::mathmlize(MathMLStream & ms) const
+{
+ switch (char_) {
+ case '<': ms << "<"; break;
+ case '>': ms << ">"; break;
+ case '&': ms << "&"; break;
+ default: ms << char_; break;
+ }
+}
+
+
bool MathCharInset::isRelOp() const
{
return char_ == '=' || char_ == '<' || char_ == '>';