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:...Apparently, it is possible to compile elsarticle doc correctly with either frontmatter or maketitle, but not with both of them. After removing frontmatter, it works perfectly.
Code: Select all
...
\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?
Thanks