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;
28 void metrics(MetricsInfo & mi, Dimension & dim) const;
30 void draw(PainterInfo & pi, int x, int y) const;
32 void write(WriteStream & os) const;
34 void normalize(NormalStream & os) const;
36 void mathmlize(MathStream &) const;
38 void htmlize(HtmlStream &) const;
40 void infoize2(odocstream & os) const;
42 static bool isBigInsetDelim(docstring const &);
44 InsetCode lyxCode() const { return MATH_BIG_CODE; }
46 void validate(LaTeXFeatures &) const;
48 virtual Inset * clone() const;
50 size_type size() const;
52 double increase() const;
53 /// name with leading backslash stripped
54 docstring word() const;
57 docstring const name_;
58 /// ( or [ or \\Vert...
59 docstring const delim_;