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-05-30 07:09:54 +00:00
|
|
|
void draw(MathPainterInfo &, int x, int y) const;
|
2001-10-18 13:21:21 +00:00
|
|
|
///
|
2001-11-09 08:35:57 +00:00
|
|
|
void write(WriteStream & os) const;
|
2001-10-18 13:21:21 +00:00
|
|
|
///
|
2001-11-09 08:35:57 +00:00
|
|
|
void normalize(NormalStream &) const;
|
2001-10-18 13:21:21 +00:00
|
|
|
///
|
2002-05-30 07:09:54 +00:00
|
|
|
void metrics(MathMetricsInfo & st) const;
|
2001-10-18 13:21:21 +00:00
|
|
|
};
|
|
|
|
#endif
|