math_symbols_["["] = MathSymbol('[');
math_symbols_["]"] = MathSymbol(']');
math_symbols_["|"] = MathSymbol('|');
- math_symbols_["/"] = MathSymbol('/');
- math_symbols_["\\"] = MathSymbol('\\', 110, LyXFont::CMSY_FAMILY);
+ math_symbols_["/"] = MathSymbol('/', 54, LyXFont::CMSY_FAMILY);
+ math_symbols_["backslash"] = MathSymbol('\\', 110, LyXFont::CMSY_FAMILY);
math_symbols_["lceil"] = MathSymbol(0x2308, 100, LyXFont::CMSY_FAMILY);
math_symbols_["rceil"] = MathSymbol(0x2309, 101, LyXFont::CMSY_FAMILY);
math_symbols_["lfloor"] = MathSymbol(0x230A, 98, LyXFont::CMSY_FAMILY);
"(", ")", "{", "}", "[", "]",
"lceil", "rceil", "lfloor", "rfloor", "langle", "rangle",
"uparrow", "Uparrow", "downarrow", "Downarrow",
- "|", "Vert", "/", "\\", ""
+ "|", "Vert", "/", "backslash", ""
};
else if (str == "lfloor") match = "rfloor";
else if (str == "rangle") match = "langle";
else if (str == "langle") match = "rangle";
- else if (str == "\\") match = "/";
- else if (str == "/") match = "\\";
+ else if (str == "backslash") match = "/";
+ else if (str == "/") match = "backslash";
else return symbol;
return form_->controller().mathSymbol(match).unicode;