]> git.lyx.org Git - lyx.git/blob - src/mathed/math_lefteqninset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_lefteqninset.h
1 // -*- C++ -*-
2 /**
3  * \file math_lefteqninset.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_LEFTEQNINSET_H
13 #define MATH_LEFTEQNINSET_H
14
15 #include "math_nestinset.h"
16
17
18 /// Support for LaTeX's \\lefteqn command
19
20 class MathLefteqnInset : public MathNestInset {
21 public:
22         ///
23         MathLefteqnInset();
24         ///
25         std::string name() const;
26         ///
27         void metrics(MetricsInfo & mi, Dimension & dim) const;
28         ///
29         void draw(PainterInfo & pi, int x, int y) const;
30         ///
31         void infoize(std::ostream & os) const;
32 private:
33         virtual std::auto_ptr<InsetBase> doClone() const;
34 };
35 #endif