]> git.lyx.org Git - features.git/blobdiff - lib/templates/elsarticle.lyx
elsarticle.layout: switch from \maketitle to \begin{frontmatter}, see #7977
[features.git] / lib / templates / elsarticle.lyx
index 020ffacd2c147c87be42ec4f16e88bcb2ffbd4b9..516c8258aa4b016f83e904773488bc464502285f 100644 (file)
@@ -6,6 +6,9 @@
 \begin_preamble
 % specify here the journal
 \journal{Example: Nuclear Physics B}
+
+% use this if you need line numbers
+%\usepackage{lineno}
 \end_preamble
 \use_default_options false
 \begin_modules
@@ -117,6 +120,19 @@ http://www.ctan.org/get/macros/latex/contrib/elsarticle/elsdoc.pdf
 \end_inset
 
 
+\end_layout
+
+\begin_layout BeginFrontmatter
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Keep this empty!
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Title
@@ -701,6 +717,49 @@ MSC
 \end_inset
 
 
+\end_layout
+
+\begin_layout EndFrontmatter
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Keep this empty!
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Use here the command 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+linenumbers 
+\end_layout
+
+\end_inset
+
+ and enable the package 
+\series bold
+lineno
+\series default
+ in the preamble if you need line numbers.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section