On 07/11/2011 02:52 PM, Liviu Andronic wrote:
> On Tue, Jul 14, 2009 at 4:45 PM, nuke <sila.raz...@gmail.com> 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.
Does the elsarticle class use something other than \maketitle to make
the title? This too can be controlled, as can where \title and \author
go. Some classes require them in the preamble.


Reply via email to