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"
22 /// Inset for \\bigl & Co.
23 class InsetMathBig
: public InsetMath
{
26 InsetMathBig(docstring
const & name
, docstring
const & delim
);
28 docstring
name() 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 infoize2(odocstream
& os
) const;
40 static bool isBigInsetDelim(docstring
const &);
42 InsetCode
lyxCode() const { return MATH_BIG_CODE
; }
44 virtual Inset
* clone() const;
46 size_type
size() const;
48 double increase() const;
51 docstring
const name_
;
52 /// ( or [ or \\Vert...
53 docstring
const delim_
;