]> git.lyx.org Git - lyx.git/blobdiff - lib/templates/elsarticle.lyx
Trac browse SVN -> GIT
[lyx.git] / lib / templates / elsarticle.lyx
index f076fc8f6a43a3bedf6925bb4cc9ac962178f938..d8553722e9a8b60403c2c671a304dd2a15f1ea64 100644 (file)
@@ -1,55 +1,75 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 341
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 423
 \begin_document
 \begin_header
 \textclass elsarticle
 \begin_preamble
-% options for the bibliography, see the elsarticle documentation for further
-% information!
-%\biboptions{longnamesfirst,angle,semicolon}
+% specify here the journal
+\journal{Example: Nuclear Physics B}
 
-% sort and compress citations
-% the heading "Reference" is inserted by natbib
-%\usepackage[numbers, sort&compress]{natbib}
-
-% define \newblock to get natbib work with ioparticle
-% (normally only needed for the "thebibliography" environment)
-%\def\newblock{\hskip .11em plus .33em minus .07em}
+% use this if you need line numbers
+%\usepackage{lineno}
 \end_preamble
+\use_default_options false
+\begin_modules
+theorems-std
+\end_modules
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
+\fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
 \font_default_family default
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
 
 \graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
 \paperfontsize default
 \spacing single
 \use_hyperref false
 \papersize default
-\use_geometry true
-\use_amsmath 0
-\use_esint 1
-\cite_engine basic
+\use_geometry false
+\use_package amsmath 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package undertilde 1
+\cite_engine natbib_authoryear
+\biblio_style plainnat
 \use_bibtopic false
+\use_indices false
 \paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
-\defskip medskip
+\paragraph_indentation default
 \quotes_language english
 \papercolumns 1
 \papersides 2
 \paperpagestyle headings
 \tracking_changes false
 \output_changes false
-\author "" 
-\author "" 
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
 \end_header
 
 \begin_body
 status open
 
 \begin_layout Plain Layout
-For the right document class options to get the page format for your journal,
- have a look at the elsarticle documentation: 
+This is a template LyX file for articles to be submitted to journals of
+ the Elsevier publishing company.
+ For general infos see 
+\begin_inset Flex URL
+status open
+
+\begin_layout Plain Layout
+
+http://wiki.lyx.org/Examples/Elsevier
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The Journal is specified in the document preamble! For the right document
+ class options to get the page format for your journal, have a look at the
+ elsarticle documentation: 
 \begin_inset Flex URL
 status collapsed
 
@@ -79,23 +126,33 @@ http://www.ctan.org/get/macros/latex/contrib/elsarticle/elsdoc.pdf
 
 \end_layout
 
-\begin_layout Title
-This is a specimen title
-\begin_inset ERT
-status collapsed
+\begin_layout BeginFrontmatter
+\begin_inset Note Note
+status open
 
 \begin_layout Plain Layout
+Keep this empty!
+\end_layout
 
+\end_inset
 
-\backslash
-tnoteref{t1,t2}
+
+\end_layout
+
+\begin_layout Title
+This is a specimen title
+\begin_inset Flex Titlenotemark
+status open
+
+\begin_layout Plain Layout
+t1,t2
 \end_layout
 
 \end_inset
 
 
 \begin_inset Note Note
-status open
+status collapsed
 
 \begin_layout Plain Layout
 
@@ -118,7 +175,7 @@ tnoteref
 
 \begin_layout Title footnote
 This document is a collaborative effort.
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -143,7 +200,7 @@ The short title is the label you refer to in the title.
 \begin_layout Title footnote
 The second title footnote which is a longer longer than the first one and
  with an intention to fill in up more than one line while formatting.
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -257,46 +314,37 @@ C.V.
 \end_inset
 
 Radhakrishnan
-\begin_inset ERT
+\begin_inset Flex Authormark
 status collapsed
 
 \begin_layout Plain Layout
-
-
-\backslash
-corref{cor1}
+fn1
 \end_layout
 
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\begin_inset Flex CorAuthormark
+status open
 
 \begin_layout Plain Layout
-
-
-\backslash
-corref{cor2}
+cor1
 \end_layout
 
 \end_inset
 
 
-\begin_inset ERT
+\begin_inset Flex CorAuthormark
 status collapsed
 
 \begin_layout Plain Layout
-
-
-\backslash
-fnref{fn1}
+cor2
 \end_layout
 
 \end_inset
 
 
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -338,20 +386,17 @@ K.
 \end_inset
 
 Bazargan
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Authormark
+status open
 
 \begin_layout Plain Layout
-
-
-\backslash
-fnref{fn2}
+fn2
 \end_layout
 
 \end_inset
 
 
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -385,7 +430,7 @@ fnref
 
 \begin_layout Email
 http://www.elsevier.com
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -417,7 +462,7 @@ url
 
 \begin_layout Author footnote
 This is the specimen author footnote.
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -431,7 +476,7 @@ fn1
 
 \begin_layout Author footnote
 Another author footnote, but a little more longer.
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -445,7 +490,7 @@ fn2
 
 \begin_layout Corresponding author
 Corresponding author
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -459,7 +504,7 @@ cor1
 
 \begin_layout Corresponding author
 Principal corresponding author
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -474,7 +519,7 @@ cor2
 \begin_layout Address
 River Valley Technologies, SJP Building, Cotton Hills, Trivandrum, Kerala,
  India 695014
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -498,7 +543,7 @@ The short title is the label you refer to in the authors.
 
 \begin_layout Address
 River Valley Technologies, 9, Browns Court, Kennford, Exeter, United Kingdom
-\begin_inset OptArg
+\begin_inset Argument
 status open
 
 \begin_layout Plain Layout
@@ -542,7 +587,7 @@ Bazargan
 
 \begin_layout Email
 http://www.elsevier.com
-\begin_inset OptArg
+\begin_inset Argument
 status collapsed
 
 \begin_layout Plain Layout
@@ -676,6 +721,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
@@ -694,15 +782,29 @@ key "Parkin2005,LComp2004"
 \end_layout
 
 \begin_layout Standard
-\begin_inset Formula \begin{eqnarray}
+\begin_inset Formula 
+\begin{eqnarray}
 A & = & \prod_{i=1}^{\infty}B\nonumber \\
- & = & C\end{eqnarray}
+ & = & C
+\end{eqnarray}
 
 \end_inset
 
 
 \end_layout
 
+\begin_layout Theorem
+Theorem 1
+\end_layout
+
+\begin_layout --Separator--
+
+\end_layout
+
+\begin_layout Theorem
+Theorem 2
+\end_layout
+
 \begin_layout Subsection
 Subsection
 \end_layout
@@ -823,7 +925,7 @@ elsarticle-harv
 \family sans
 elsarticle-num-names
 \family default
-, 
+, or 
 \family sans
 elsarticle-num
 \end_layout
@@ -836,7 +938,7 @@ elsarticle-num
 \begin_layout Standard
 \begin_inset CommandInset bibtex
 LatexCommand bibtex
-bibfiles "biblioExample"
+bibfiles "../examples/biblioExample"
 options "bibtotoc,elsarticle-harv"
 
 \end_inset
@@ -854,6 +956,7 @@ Or plain bibliography:
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "key-1"
@@ -869,6 +972,7 @@ The LaTeX Companion Second Edition.
 \end_layout
 
 \begin_layout Bibliography
+\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "key-2"