3 * \file math_boldsymbolinset.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 "math_nestinset.h"
18 /// Inset for AMSTeX's \boldsymbol
19 class MathBoldsymbolInset : public MathNestInset {
22 MathBoldsymbolInset();
24 void metrics(MetricsInfo & mi, Dimension & dim) const;
26 void draw(PainterInfo & pi, int x, int y) const;
28 void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
30 void drawT(TextPainter & pi, int x, int y) const;
32 void validate(LaTeXFeatures & features) const;
34 void write(WriteStream & os) const;
36 void infoize(std::ostream & os) const;
38 virtual std::auto_ptr<InsetBase> doClone() const;