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"
21 /// Inset for AMSTeX's \boldsymbol
22 class InsetMathBoldSymbol : public InsetMathNest {
30 InsetMathBoldSymbol(Kind kind = AMS_BOLD);
32 void metrics(MetricsInfo & mi, Dimension & dim) const;
34 void draw(PainterInfo & pi, int x, int y) const;
36 void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
38 void drawT(TextPainter & pi, int x, int y) const;
40 void validate(LaTeXFeatures & features) const;
42 void write(WriteStream & os) const;
44 void infoize(odocstream & os) const;
48 virtual Inset * clone() const;