* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
namespace lyx {
-InsetMathBoldSymbol::InsetMathBoldSymbol(Kind kind)
- : InsetMathNest(1), kind_(kind)
+InsetMathBoldSymbol::InsetMathBoldSymbol(Buffer * buf, Kind kind)
+ : InsetMathNest(buf, 1), kind_(kind)
{}
}
+void InsetMathBoldSymbol::mathmlize(MathStream & os) const
+{
+ os << "<mstyle mathvariant='bold'>" << cell(0) << "</mstyle>";
+}
+
+
+void InsetMathBoldSymbol::htmlize(HtmlStream & os) const
+{
+ os << MTag("b") << cell(0) << ETag("b");
+}
+
+
void InsetMathBoldSymbol::infoize(odocstream & os) const
{
switch (kind_) {