3 * \file InsetMathLefteqn.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_LEFTEQNINSET_H
13 #define MATH_LEFTEQNINSET_H
15 #include "InsetMathNest.h"
21 /// Support for LaTeX's \\lefteqn command
23 class InsetMathLefteqn : public InsetMathNest {
26 explicit InsetMathLefteqn(Buffer * buf);
28 docstring name() const;
30 void metrics(MetricsInfo & mi, Dimension & dim) const;
32 void draw(PainterInfo & pi, int x, int y) const;
34 void infoize(odocstream & os) const;
36 InsetCode lyxCode() const { return MATH_LEFTEQN_CODE; }
39 virtual Inset * clone() const;