On Sat, Oct 04, 2003 at 08:06:41AM +0200, Herbert Voß wrote: > Paul Smith schrieb: > >Dear All, > > > >I would like to know whether it is possible to insert, by pressing a > >button, > >a \dfrac into a LyX document. Could somebody here please help me ? > > as far as I know, LyX doesn't know the dfrac macro. You can > write into the preamble > > \usepackage{amsmath} > \let\frac\dfrac > > then every frac is written as a \dfrac macro.
Or create a \dfrac macro with two arguments and write '\frac' in the second macro box. This way, the thing will be displayed as '\frac' but exported as \dfrac. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)