On Sat, Jan 28, 2006 at 01:59:56PM +0100, Georg Baum wrote: > Am Freitag, 27. Januar 2006 03:20 schrieb Beck, Andrew Thomas - BECAT001: > > OK, here is a better formatted patch, preserving encoding etc. Thanks > > for the feedback. The update is still being done in metrics() in the > > same way that the macro expansion was being done previously. I have > > changed it to cast away the const-ness rather than make cells_ mutable. > > Assuming that the interface & function of the patch is acceptable I > > will now implement a doDispatch(). In addition to changing the name > > & number of arguments, I will also remove the expansion from metrics(). > > This will also negate the need for the mutable on MathMacro::tmpl_ and > > MathMacro::expanded_. > > Good.
I just had a thought. Why not give the template a fixed numerb of cells gain. A LaTeX macro can have at most nine 'regular' arguments, so something like eleven fixed cells should do... Andre'