X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Ftemplates%2Felsarticle.lyx;h=7a83956017d683d40b548aadc33ae8a791cc6d44;hb=f83aab43e5b207e77f6eb12e1b48f7a54714277d;hp=08774593786618bb5aa117e7ae416532c61c7e0b;hpb=a717cfa028b92ec197192f2ed95b09f188b4d9f7;p=lyx.git diff --git a/lib/templates/elsarticle.lyx b/lib/templates/elsarticle.lyx index 0877459378..7a83956017 100644 --- a/lib/templates/elsarticle.lyx +++ b/lib/templates/elsarticle.lyx @@ -1,46 +1,80 @@ -#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 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 +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_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 bibtex +\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 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 +\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 @@ -50,20 +84,20 @@ 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: +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 collapsed +status open \begin_layout Plain Layout -http://www.ctan.org/get/macros/latex/contrib/elsarticle/elsdoc.pdf +http://wiki.lyx.org/Examples/Elsevier \end_layout \end_inset - +. \end_layout \end_inset @@ -72,24 +106,37 @@ http://www.ctan.org/get/macros/latex/contrib/elsarticle/elsdoc.pdf \end_layout \begin_layout Standard -\begin_inset ERT +\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 \begin_layout Plain Layout +http://www.ctan.org/get/macros/latex/contrib/elsarticle/elsdoc.pdf +\end_layout + +\end_inset + -\backslash -begin{frontmatter} \end_layout \end_inset +\end_layout + +\begin_layout BeginFrontmatter \begin_inset Note Note -status collapsed +status open \begin_layout Plain Layout -starts the front matter +Keep this empty! \end_layout \end_inset @@ -99,14 +146,11 @@ starts the front matter \begin_layout Title This is a specimen title -\begin_inset ERT -status collapsed +\begin_inset Flex Titlenotemark +status open \begin_layout Plain Layout - - -\backslash -tnoteref{t1,t2} +t1,t2 \end_layout \end_inset @@ -136,7 +180,7 @@ tnoteref \begin_layout Title footnote This document is a collaborative effort. -\begin_inset OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -146,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 OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -275,46 +309,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 1 status open \begin_layout Plain Layout @@ -324,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 @@ -356,20 +371,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 1 status open \begin_layout Plain Layout @@ -403,7 +415,7 @@ fnref \begin_layout Email http://www.elsevier.com -\begin_inset OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -413,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 OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -449,7 +443,7 @@ fn1 \begin_layout Author footnote Another author footnote, but a little more longer. -\begin_inset OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -463,7 +457,7 @@ fn2 \begin_layout Corresponding author Corresponding author -\begin_inset OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -477,7 +471,7 @@ cor1 \begin_layout Corresponding author Principal corresponding author -\begin_inset OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -492,7 +486,7 @@ cor2 \begin_layout Address River Valley Technologies, SJP Building, Cotton Hills, Trivandrum, Kerala, India 695014 -\begin_inset OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -502,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 OptArg +\begin_inset Argument 1 status open \begin_layout Plain Layout @@ -560,7 +544,7 @@ Bazargan \begin_layout Email http://www.elsevier.com -\begin_inset OptArg +\begin_inset Argument 2 status collapsed \begin_layout Plain Layout @@ -694,9 +678,27 @@ 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 @@ -704,17 +706,16 @@ status collapsed \backslash -end{frontmatter} +linenumbers \end_layout \end_inset - -\begin_inset Note Note -status collapsed - -\begin_layout Plain Layout -ends the front matter + and enable the package +\series bold +lineno +\series default + in the preamble if you need line numbers. \end_layout \end_inset @@ -729,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 @@ -738,15 +739,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 @@ -880,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