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;
33 void metrics(MetricsInfo & mi, Dimension & dim) const;
35 void draw(PainterInfo & pi, int x, int y) const;
37 void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
39 void drawT(TextPainter & pi, int x, int y) const;
41 void validate(LaTeXFeatures & features) const;
43 void write(WriteStream & os) const;
45 void mathmlize(MathStream &) const;
47 void infoize(odocstream & os) const;
49 InsetCode lyxCode() const { return MATH_BOLDSYMBOL_CODE; }
53 virtual Inset * clone() const;