mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
a15303b938
Especially after the change to use semantic linefeeds (7b23c76b
),
the diffs are large and it's hard to figure out what diff is the
result of the linefeed change and which diff is the result of an
edit.
By updating the docs, it will make the edits easier to understand
from the diff.
This commit used the LyX binary to write the new .lyx files since
lyx2lyx does not apply semantic linefeeds.
I used the following command:
./development/tools/updatedocs.py [path to 'lyx' binary]
A few documents were not updated (e.g., the command sequence used
failed because a dialog about a missing dependency was shown).
I did not update Additional.lyx for any language since it is
undergoing changes. I also didn't change anything in doc/fr since JP
is working on some of those. I also didn't change doc/ru since it
appears Yuriy already updated those.
987 lines
12 KiB
Plaintext
987 lines
12 KiB
Plaintext
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||
\lyxformat 612
|
||
\begin_document
|
||
\begin_header
|
||
\save_transient_properties true
|
||
\origin /systemlyxdir/templates/Articles/
|
||
\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 no
|
||
\language english
|
||
\language_package default
|
||
\inputencoding utf8
|
||
\fontencoding auto
|
||
\font_roman "default" "default"
|
||
\font_sans "default" "default"
|
||
\font_typewriter "default" "default"
|
||
\font_math "auto" "auto"
|
||
\font_default_family default
|
||
\use_non_tex_fonts false
|
||
\font_sc false
|
||
\font_roman_osf false
|
||
\font_sans_osf false
|
||
\font_typewriter_osf false
|
||
\font_sf_scale 100 100
|
||
\font_tt_scale 100 100
|
||
\use_microtype false
|
||
\use_dash_ligatures false
|
||
\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 false
|
||
\use_package amsmath 1
|
||
\use_package amssymb 1
|
||
\use_package cancel 1
|
||
\use_package esint 1
|
||
\use_package mathdots 1
|
||
\use_package mathtools 1
|
||
\use_package mhchem 1
|
||
\use_package stackrel 1
|
||
\use_package stmaryrd 1
|
||
\use_package undertilde 1
|
||
\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
|
||
\use_minted 0
|
||
\use_lineno 0
|
||
\index Index
|
||
\shortcut idx
|
||
\color #008000
|
||
\end_index
|
||
\secnumdepth 3
|
||
\tocdepth 3
|
||
\paragraph_separation indent
|
||
\paragraph_indentation default
|
||
\is_math_indent 0
|
||
\math_numbering_side default
|
||
\quotes_style english
|
||
\dynamic_quotes 0
|
||
\papercolumns 1
|
||
\papersides 2
|
||
\paperpagestyle headings
|
||
\tablestyle default
|
||
\tracking_changes false
|
||
\output_changes false
|
||
\change_bars false
|
||
\postpone_fragile_content false
|
||
\html_math_output 0
|
||
\html_css_as_file 0
|
||
\html_be_strict false
|
||
\docbook_table_output 0
|
||
\docbook_mathml_prefix 1
|
||
\end_header
|
||
|
||
\begin_body
|
||
|
||
\begin_layout Standard
|
||
\begin_inset Note Note
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
This is a template \SpecialChar 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
|
||
|
||
https://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
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
http://www.ctan.org/get/macros/latex/contrib/elsarticle/elsdoc.pdf
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\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 collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
\size normal
|
||
With
|
||
\series bold
|
||
\size default
|
||
|
||
\backslash
|
||
tnoteref
|
||
\series default
|
||
\size normal
|
||
you refer to the title footnotes.
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Title footnote
|
||
This document is a collaborative effort.
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
t1
|
||
\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 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
t2
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\begin_inset Note Note
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
There are two author styles possible:
|
||
\end_layout
|
||
|
||
\begin_layout Plain Layout
|
||
1.
|
||
Authors side by side
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
2.
|
||
Authors below each other
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Plain Layout
|
||
Author
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
Author
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Plain Layout
|
||
Email
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
Email
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Plain Layout
|
||
Author
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
Address
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Plain Layout
|
||
Email
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
Author
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Plain Layout
|
||
Addresses
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
Email
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Plain Layout
|
||
—
|
||
—
|
||
-
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
Address
|
||
\begin_inset space \hfill{}
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Author
|
||
C.V.
|
||
\begin_inset space ~
|
||
\end_inset
|
||
|
||
Radhakrishnan
|
||
\begin_inset Flex Authormark
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
fn1
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\begin_inset Flex CorAuthormark
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
cor1
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\begin_inset Flex CorAuthormark
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
cor2
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
rvt
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Email
|
||
cvr@river-valley.com
|
||
\begin_inset Note Note
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
At least one Email address is required.
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Author
|
||
K.
|
||
\begin_inset space ~
|
||
\end_inset
|
||
|
||
Bazargan
|
||
\begin_inset Flex Authormark
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
fn2
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
rvt,focal
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\begin_inset Note Note
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
\size normal
|
||
With
|
||
\series bold
|
||
\size default
|
||
|
||
\backslash
|
||
fnref
|
||
\series default
|
||
\size normal
|
||
and you refer to the author footnotes.
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Email
|
||
http://www.elsevier.com
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
url
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Author footnote
|
||
This is the specimen author footnote.
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
fn1
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Author footnote
|
||
Another author footnote,
|
||
but a little more longer.
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
fn2
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Corresponding author
|
||
Corresponding author
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
cor1
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Corresponding author
|
||
Principal corresponding author
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
cor2
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Address
|
||
River Valley Technologies,
|
||
SJP Building,
|
||
Cotton Hills,
|
||
Trivandrum,
|
||
Kerala,
|
||
India 695014
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
rvt
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Address
|
||
River Valley Technologies,
|
||
9,
|
||
Browns Court,
|
||
Kennford,
|
||
Exeter,
|
||
United Kingdom
|
||
\begin_inset Argument 1
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
focal
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\begin_inset Note Note
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
This is an example of the second author style:
|
||
\end_layout
|
||
|
||
\begin_layout Author
|
||
C.V.
|
||
\begin_inset space ~
|
||
\end_inset
|
||
|
||
Radhakrishnan
|
||
\end_layout
|
||
|
||
\begin_layout Email
|
||
cvr@river-valley.com
|
||
\end_layout
|
||
|
||
\begin_layout Address
|
||
River Valley Technologies,
|
||
SJP Building,
|
||
Cotton Hills,
|
||
Trivandrum,
|
||
Kerala,
|
||
India 695014
|
||
\end_layout
|
||
|
||
\begin_layout Author
|
||
K.
|
||
\begin_inset space ~
|
||
\end_inset
|
||
|
||
Bazargan
|
||
\end_layout
|
||
|
||
\begin_layout Email
|
||
http://www.elsevier.com
|
||
\begin_inset Argument 2
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
url
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Address
|
||
River Valley Technologies,
|
||
9,
|
||
Browns Court,
|
||
Kennford,
|
||
Exeter,
|
||
United Kingdom
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Abstract
|
||
Abstract,
|
||
should normally be not longer than 200 words.
|
||
\end_layout
|
||
|
||
\begin_layout Keywords
|
||
quadruple exiton
|
||
\begin_inset ERT
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
sep
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
polariton
|
||
\begin_inset ERT
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
sep
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
WGM
|
||
\begin_inset ERT
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
PACS
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
71.35.-y
|
||
\begin_inset ERT
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
sep
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
71.35.Lk
|
||
\begin_inset ERT
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
sep
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
71.36.+c
|
||
\begin_inset ERT
|
||
status collapsed
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
MSC[2008]
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
23-557
|
||
\begin_inset Note Note
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
Keywords must be separated by
|
||
\series bold
|
||
|
||
\backslash
|
||
sep
|
||
\series default
|
||
.
|
||
|
||
\series bold
|
||
|
||
\backslash
|
||
PACS
|
||
\series default
|
||
and
|
||
\series bold
|
||
|
||
\backslash
|
||
MSC
|
||
\series default
|
||
are optional classifications.
|
||
\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
|
||
Introduction
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
Bla bla,
|
||
as listed in
|
||
\begin_inset CommandInset citation
|
||
LatexCommand citet
|
||
key "article-full,booklet-full"
|
||
literal "true"
|
||
|
||
\end_inset
|
||
|
||
.
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
\begin_inset Formula
|
||
\begin{eqnarray}
|
||
A & = & \prod_{i=1}^{\infty}B\nonumber \\
|
||
& = & C
|
||
\end{eqnarray}
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Theorem
|
||
Theorem 1
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
\begin_inset Separator plain
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Theorem
|
||
Theorem 2
|
||
\end_layout
|
||
|
||
\begin_layout Subsection
|
||
Subsection
|
||
\end_layout
|
||
|
||
\begin_layout Enumerate
|
||
test
|
||
\end_layout
|
||
|
||
\begin_layout Enumerate
|
||
test
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
\begin_inset Note Note
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
To get another numbering scheme,
|
||
you cannot use an option argument (a.k.a.
|
||
short title) as described in the elsarticle manual.
|
||
But you can use the following \SpecialChar TeX
|
||
-code command to achieve the same:
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
\begin_inset ERT
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
renewcommand{
|
||
\backslash
|
||
labelenumi}{(
|
||
\backslash
|
||
roman{enumi})}
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Enumerate
|
||
test
|
||
\end_layout
|
||
|
||
\begin_layout Enumerate
|
||
test
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
\begin_inset ERT
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
|
||
|
||
\backslash
|
||
renewcommand{
|
||
\backslash
|
||
labelenumi}{Step
|
||
\backslash
|
||
,
|
||
\backslash
|
||
alph{enumi})}
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Enumerate
|
||
test
|
||
\end_layout
|
||
|
||
\begin_layout Enumerate
|
||
test
|
||
\end_layout
|
||
|
||
\begin_layout Subsubsection
|
||
Subsubsection
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
Bla,
|
||
bla
|
||
\end_layout
|
||
|
||
\begin_layout Section
|
||
\start_of_appendix
|
||
Appendix name
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
Appendix,
|
||
only when needed.
|
||
\end_layout
|
||
|
||
\begin_layout Section*
|
||
—
|
||
—
|
||
—
|
||
—
|
||
—
|
||
–
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
You can use either Bib\SpecialChar TeX
|
||
:
|
||
\begin_inset Note Note
|
||
status open
|
||
|
||
\begin_layout Plain Layout
|
||
The following bibliography styles are allowed:
|
||
|
||
\family sans
|
||
elsarticle-harv
|
||
\family default
|
||
,
|
||
|
||
\family sans
|
||
elsarticle-num-names
|
||
\family default
|
||
,
|
||
or
|
||
\family sans
|
||
elsarticle-num
|
||
\end_layout
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
\begin_inset CommandInset bibtex
|
||
LatexCommand bibtex
|
||
bibfiles "xampl"
|
||
options "bibtotoc,elsarticle-harv"
|
||
|
||
\end_inset
|
||
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Section*
|
||
—
|
||
—
|
||
—
|
||
—
|
||
—
|
||
—
|
||
—
|
||
|
||
\end_layout
|
||
|
||
\begin_layout Standard
|
||
\noindent
|
||
Or plain bibliography:
|
||
\end_layout
|
||
|
||
\begin_layout Bibliography
|
||
\begin_inset CommandInset bibitem
|
||
LatexCommand bibitem
|
||
key "key-1"
|
||
literal "true"
|
||
|
||
\end_inset
|
||
|
||
Frank Mittelbach and Michel Goossens:
|
||
|
||
\emph on
|
||
The \SpecialChar LaTeX
|
||
Companion Second Edition.
|
||
|
||
\emph default
|
||
Addison-Wesley,
|
||
2004.
|
||
\end_layout
|
||
|
||
\begin_layout Bibliography
|
||
\begin_inset CommandInset bibitem
|
||
LatexCommand bibitem
|
||
key "key-2"
|
||
literal "true"
|
||
|
||
\end_inset
|
||
|
||
Scott Pakin.
|
||
The comprehensive \SpecialChar LaTeX
|
||
symbol list,
|
||
2005.
|
||
\end_layout
|
||
|
||
\end_body
|
||
\end_document
|