lyx_mirror/src/mathed/InsetMathBM.h
Bernhard Roider a99c5828f8 Add support for \bm from bm.sty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23520 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-06 20:49:59 +00:00

48 lines
934 B
C++

// -*- C++ -*-
/**
* \file InsetMathBM.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Bernhard Roider
*
* Full author contact details are available in file CREDITS.
*/
#ifndef MATH_BMINSET_H
#define MATH_BMINSET_H
#include "InsetMathNest.h"
namespace lyx {
/// Inset for \bm
class InsetMathBM : public InsetMathNest {
public:
///
InsetMathBM();
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
void metricsT(TextMetricsInfo const & mi, Dimension & dim) const;
///
void drawT(TextPainter & pi, int x, int y) const;
///
void validate(LaTeXFeatures & features) const;
///
void write(WriteStream & os) const;
///
void infoize(odocstream & os) const;
private:
virtual Inset * clone() const;
};
} // namespace lyx
#endif