2001-10-18 13:21:21 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
#ifndef MATH_LEFTEQNINSET_H
|
|
|
|
#define MATH_LEFTEQNINSET_H
|
|
|
|
|
|
|
|
#include "math_nestinset.h"
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-10-19 11:25:48 +00:00
|
|
|
/// Support for LaTeX's \\lefteqn command
|
2001-10-18 13:21:21 +00:00
|
|
|
|
|
|
|
class MathLefteqnInset : public MathNestInset {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
MathLefteqnInset();
|
|
|
|
///
|
|
|
|
MathInset * clone() const;
|
|
|
|
///
|
2002-08-05 07:09:11 +00:00
|
|
|
string name() const;
|
2001-10-18 13:21:21 +00:00
|
|
|
///
|
2002-08-05 07:09:11 +00:00
|
|
|
void metrics(MathMetricsInfo & mi) const;
|
2001-10-18 13:21:21 +00:00
|
|
|
///
|
2002-08-05 07:09:11 +00:00
|
|
|
void draw(MathPainterInfo & pi, int x, int y) const;
|
2001-10-18 13:21:21 +00:00
|
|
|
};
|
|
|
|
#endif
|