]> git.lyx.org Git - lyx.git/blobdiff - lib/templates/elsarticle.lyx
Add support for the sectionbox and tcolorbox packages.
[lyx.git] / lib / templates / elsarticle.lyx
index 30ab273ea510ef4edae274aa20f8b79e722f1a17..7a83956017d683d40b548aadc33ae8a791cc6d44 100644 (file)
@@ -1,11 +1,14 @@
-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 474
 \begin_document
 \begin_header
 \textclass elsarticle
 \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
@@ -19,32 +22,41 @@ theorems-std
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \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
+\bibtex_command bibtex
 \index_command default
 \paperfontsize default
 \spacing single
 \use_hyperref false
 \papersize default
 \use_geometry false
-\use_amsmath 0
-\use_esint 1
-\use_mhchem 1
-\use_mathdots 1
-\cite_engine natbib_authoryear
+\use_package amsmath 0
+\use_package amssymb 0
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
+\cite_engine natbib
+\cite_engine_type authoryear
+\biblio_style plainnat
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
+\justification true
 \use_refstyle 0
 \index Index
 \shortcut idx
@@ -71,6 +83,32 @@ theorems-std
 \begin_inset Note Note
 status open
 
+\begin_layout Plain Layout
+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
@@ -91,6 +129,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
@@ -129,7 +180,7 @@ tnoteref
 
 \begin_layout Title footnote
 This document is a collaborative effort.
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -139,22 +190,12 @@ t1
 \end_inset
 
 
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-The short title is the label you refer to in the title.
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \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 Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -298,7 +339,7 @@ cor2
 \end_inset
 
 
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -308,16 +349,6 @@ rvt
 \end_inset
 
 
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-The short title is the reference of the address.
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Email
@@ -350,7 +381,7 @@ fn2
 \end_inset
 
 
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -384,7 +415,7 @@ fnref
 
 \begin_layout Email
 http://www.elsevier.com
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -394,29 +425,11 @@ url
 \end_inset
 
 
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-When the short title is 
-\begin_inset Quotes eld
-\end_inset
-
-url
-\begin_inset Quotes erd
-\end_inset
-
-, the email becomes an Internet address.
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Author footnote
 This is the specimen author footnote.
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -430,7 +443,7 @@ fn1
 
 \begin_layout Author footnote
 Another author footnote, but a little more longer.
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -444,7 +457,7 @@ fn2
 
 \begin_layout Corresponding author
 Corresponding author
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -458,7 +471,7 @@ cor1
 
 \begin_layout Corresponding author
 Principal corresponding author
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -473,7 +486,7 @@ cor2
 \begin_layout Address
 River Valley Technologies, SJP Building, Cotton Hills, Trivandrum, Kerala,
  India 695014
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -483,21 +496,11 @@ rvt
 \end_inset
 
 
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-The short title is the label you refer to in the authors.
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Address
 River Valley Technologies, 9, Browns Court, Kennford, Exeter, United Kingdom
-\begin_inset Argument
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
@@ -541,7 +544,7 @@ Bazargan
 
 \begin_layout Email
 http://www.elsevier.com
-\begin_inset Argument
+\begin_inset Argument 2
 status collapsed
 
 \begin_layout Plain Layout
@@ -675,6 +678,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
@@ -684,8 +730,8 @@ Introduction
 \begin_layout Standard
 Bla bla, as listed in 
 \begin_inset CommandInset citation
-LatexCommand cite
-key "Parkin2005,LComp2004"
+LatexCommand citet
+key "article-full,booklet-full"
 
 \end_inset
 
@@ -849,7 +895,7 @@ elsarticle-num
 \begin_layout Standard
 \begin_inset CommandInset bibtex
 LatexCommand bibtex
-bibfiles "../examples/biblioExample"
+bibfiles "xampl"
 options "bibtotoc,elsarticle-harv"
 
 \end_inset
@@ -867,7 +913,6 @@ Or plain bibliography:
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "key-1"
@@ -883,7 +928,6 @@ The LaTeX Companion Second Edition.
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "key-2"