3 * \file math_binominset.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_BINOMINSET_H
13 #define MATH_BINOMINSET_H
15 #include "math_fracbase.h"
18 /// Binom like objects
19 class MathBinomInset : public MathFracbaseInset {
22 explicit MathBinomInset(bool choose = false);
24 void write(WriteStream & os) const;
26 void normalize(NormalStream &) const;
28 void metrics(MetricsInfo & mi, Dimension & dim) const;
30 void draw(PainterInfo &, int x, int y) const;
32 bool extraBraces() const;
34 virtual std::auto_ptr<InsetBase> doClone() const;