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 {
25 InsetMathBoldSymbol();
27 void metrics(MetricsInfo & mi, Dimension & dim) const;
29 void draw(PainterInfo & pi, int x, int y) const;
31 void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
33 void drawT(TextPainter & pi, int x, int y) const;
35 void validate(LaTeXFeatures & features) const;
37 void write(WriteStream & os) const;
39 void infoize(odocstream & os) const;
41 virtual std::auto_ptr<InsetBase> doClone() const;