On Tue, Jul 14, 2009 at 4:45 PM, nuke <[email protected]> wrote: > At the present I am writing a journal article to be submitted to a journal of > Elsevier publishing company. I am supposed to use a special class > (elsarticle.cls) based on article.cls. However, my document does't look good > after LyX compilation to dvi/ps/pdf. I have found that LyX adds two lines > which ruin the layout: > ... > \maketitle > ... > \addcontentsline{toc}{section}{\refname} > ... > [..]
> Does anyone know how to set LyX to do not put these lines? Or any other way > how to solve the problem? > Are you using elsarticle.layout shipped by LyX? Or some home-brewed .layout file? In any case, LyX controls adding \maketitle via the 'InTitle' command in the .layout file. See Help > Customization > 5.3.6. I'm not sure about the second line of code, though. Liviu
