3 * \file InsetMathBoldSymbol.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_BOLDSYMBOLINSET_H
13 #define MATH_BOLDSYMBOLINSET_H
15 #include "InsetMathNest.h"
20 /// Inset for AMSTeX's \boldsymbol
21 class InsetMathBoldSymbol : public InsetMathNest {
29 InsetMathBoldSymbol(Buffer * buf, Kind kind = AMS_BOLD);
31 docstring name() const override;
33 void metrics(MetricsInfo & mi, Dimension & dim) const override;
35 void draw(PainterInfo & pi, int x, int y) const override;
37 void metricsT(TextMetricsInfo const & mi, Dimension & dim) const override;
39 void drawT(TextPainter & pi, int x, int y) const override;
41 void validate(LaTeXFeatures & features) const override;
43 void write(TeXMathStream & os) const override;
45 void mathmlize(MathMLStream &) const override;
47 void htmlize(HtmlStream &) const override;
49 void infoize(odocstream & os) const override;
51 InsetCode lyxCode() const override { return MATH_BOLDSYMBOL_CODE; }
55 Inset * clone() const override;