On Fri, Aug 01, 2008 at 06:39:01PM +0100, José Matos wrote: > On Friday 01 August 2008 18:23:38 Enrico Forestieri wrote: > > LyX is quite versatile and you really don't need to write a class for > > including whatever you like by default. For example, I attach here a > > simple layout file which adds a "article (lm fonts)" to the document > > class combo. After you put it in ~/.lyx/layouts and reconfigure, you > > will have another article format which uses LM fonts by default. > > Of course, you can load it with whatever you deem absolutely necessary > > for producing beatiful documents. > > This is the wrong way to use layouts. :-) > > The use of a template here is the right thing to do, because if you start > this > trend and you add another package to the combination you need 2 more layouts, > one with lmodern and package B and another with just \usepackage{B} in the > preamble. > > Clearly this is sheer madness no matter if you like lmodern to be the default > or not. :-)
I had already suggested the use of a template, but it did not stop the discussion, so I was trying something else ;-) -- Enrico