On Thu, Apr 11, 2002 at 12:20:08PM +0200, Jean-Marc Lasgouttes wrote: > Yes, probably. This amounts to saying that a matharray is actually a > kind of mathatom.
Guess what. We already have MathBraceInset, which are MathNestInsets with a single cell (MathArray) that get written to LaTeX as '{', contents, '}'. So we could reformulate this as: Currently: MathFracInset == MathNestInset with two MathArrays MathArray == vector<MathAtom> MathAtom == smartpointer<MathInset> Is this what you want: MathFracInset == MathNestInset with two MathAtoms MathAtom == smartpointer<MathInset> MathBraceInset == some special Mathinset == vector<MathAtom> ? This would look feasible. And it would actually memory usage a bit since a MathAtom is smaller than a MathArray with one entry... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)