On Mon, Apr 03, 2006 at 12:04:35PM +0300, Martin Vermeer wrote: > Looking at tfrac and dfrac, I would rather merge them with frac too, as > they are so small that separate insets is overkill. IMHO.
The only overkill is having lots of small files turning into 200k monsters in a debug compile. [I personally wouldn't mind having all frac-like insets in a single (pair of) file(s). But that does match the rest of LyX.] Apart from that the 'multiple insets' solution is cleaner and faster at run time. No 'if' etc. Your 'combined' version is basically hand-crafted 'polymorphy' on top of the already existing inset hierarchy. Andre'