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_BIGINSET_H
13 #define MATH_BIGINSET_H
15 #include "InsetMath.h"
20 /// Inset for \\bigl & Co.
21 class InsetMathBig : public InsetMath {
24 InsetMathBig(docstring const & name, docstring const & delim);
26 docstring name() const;
27 /// class is different for l(eft), r(ight) and m(iddle)
28 MathClass mathClass() const;
30 void metrics(MetricsInfo & mi, Dimension & dim) const;
32 void draw(PainterInfo & pi, int x, int y) const;
34 void write(WriteStream & os) const;
36 void normalize(NormalStream & os) const;
38 void mathmlize(MathStream &) const;
40 void htmlize(HtmlStream &) const;
42 void infoize2(odocstream & os) const;
44 static bool isBigInsetDelim(docstring const &);
46 InsetCode lyxCode() const { return MATH_BIG_CODE; }
48 void validate(LaTeXFeatures &) const;
50 virtual Inset * clone() const;
52 size_type size() const;
54 double increase() const;
55 /// name with leading backslash stripped
56 docstring word() const;
59 docstring const name_;
60 /// ( or [ or \\Vert...
61 docstring const delim_;