]> git.lyx.org Git - features.git/commitdiff
New layout for copernicus.cls
authorKornel Benko <kornel@lyx.org>
Tue, 14 Aug 2018 06:55:22 +0000 (08:55 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:46 +0000 (14:39 +0200)
TODO: Update LaTeXConfig.lyx

lib/layouts/copernicus.layout [new file with mode: 0644]
lib/templates/copernicus.lyx [new file with mode: 0644]

diff --git a/lib/layouts/copernicus.layout b/lib/layouts/copernicus.layout
new file mode 100644 (file)
index 0000000..41b480f
--- /dev/null
@@ -0,0 +1,377 @@
+#% Do not delete the line below; configure depends on this
+# \DeclareLaTeXClass[copernicus, manuscript.sty]{Copernicus Publications Manuscript Preparation}
+# \DeclareCategory{Articles}
+
+# Please do not edit this file unless you know what you are doing.
+# At least make backup copies of all your project files!
+
+Format          68
+
+Provides        babel  1
+Provides        inputenc 1
+Provides        tabularx       1
+Provides        cancel 1
+Provides        multirow 1
+Provides        supertabular   1
+Provides        algorithmic    1
+Provides        algorithm      1
+Provides        amsthm 1
+Provides        float  1
+Provides        subfig 1
+Provides        rotating       1
+Provides        natbib 1
+
+Input           stdclass.inc
+
+TocDepth        2
+
+ClassOptions
+       FontSize        10,11,12
+       Other           "journal abbreviation, manuscript"
+End
+
+Style Title
+       Align           Left
+       Font
+               Series          Bold
+               Size            Largest
+       EndFont
+End
+
+Style InFrontmatter
+       Category        FrontMatter
+       Align           Left
+       InTitle         1
+       LatexType       Command
+       LabelType       Static
+       Margin          Dynamic
+       LabelSep        xxx
+       NextNoIndent    1
+       LabelFont
+               Series          Medium
+               Shape           Italic
+               Color           red
+       EndFont
+End
+
+Style Author
+       CopyStyle       InFrontmatter
+       KeepEmpty       1
+       LatexName       Author
+       LabelString     "Author:"
+       Argument 1
+               LabelString     "Author affiliation"
+               ToolTip         "Insert the affiliation number"
+       EndArgument
+       Argument 2
+               LabelString     "Given name"
+               Mandatory       1
+       EndArgument
+       Argument 3
+               Mandatory       1
+               LabelString     "Surname"
+               ToolTip         "Surname"
+       EndArgument
+End
+
+Style Affil
+       CopyStyle       InFrontmatter
+       LatexName       affil
+       LabelString     "Affiliation:"
+       Argument 1
+               LabelString     "Affiliation Mark"
+               ToolTip         "identify the author with the corresponding affiliation. 1, 2, 3, etc. should be inserted."
+       EndArgument
+End
+
+Style Running_Title
+       CopyStyle       InFrontmatter
+       LatexName       runningtitle
+       LabelString     "Running title:"
+End
+
+Style FirstPage
+       LatexType       Command
+       LatexName       firstpage
+       LabelString     firstpage
+       LabelType       Static
+       Margin          Dynamic
+       LabelSep        xx
+       LabelFont
+               Shape           Italic
+               Color           Red
+       EndFont
+End
+
+Style RunningAuthor
+       CopyStyle       InFrontmatter
+       LatexName       runningauthor
+       LabelString     "Running author:"
+End
+
+Style Publications
+       Margin          Dynamic
+       KeepEmpty       1
+       LatexType       Command
+       NextNoIndent    1
+       LabelSep        M
+       ParSkip         0.4
+       TopSep          1.3
+       BottomSep       0.7
+       ParSep          0.7
+       Align           Left
+       LabelType       Static
+       Font
+               Size            Small
+               Series          Medium
+       EndFont
+       LabelFont
+               Series          Bold
+               Shape           Regular
+               Color           Black
+       EndFont
+End
+
+Style Correspondence
+       CopyStyle       Publications
+       LatexName       correspondence
+       LabelString     "Correspondence:"
+End
+
+Style Received
+       CopyStyle       Publications
+       LatexName       received
+       LabelString     "Received:"
+End
+
+Style Accepted
+       CopyStyle       Publications
+       LatexName       accepted
+       LabelString     "Accepted:"
+End
+
+Style Pubdiscuss
+       CopyStyle       Publications
+       LatexName       pubdiscuss
+       LabelString     "Pubdiscuss:"
+End
+
+Style Revised
+       CopyStyle       Publications
+       LatexName       revised
+       LabelString     "Revised:"
+End
+
+Style Published
+       CopyStyle       Publications
+       LatexName       published
+       LabelString     "Published:"
+End
+
+Style Abstract
+       LatexType       Environment
+       LatexName       abstract
+       LabelType       Static
+       LabelSep        xx
+       LabelString     "Abstract."
+       Margin          Dynamic
+       NextNoIndent    1
+       Align           Left
+       LabelFont
+               Size            Normal
+               Series          Bold
+       EndFont
+       ParSkip         0.4
+       TopSep          1.3
+       BottomSep       0.7
+       ParSep          0.7
+End
+
+Style Statements
+       LabelType       Static
+       LabelFont
+               Shape           Italic
+       EndFont
+       LabelSep        xx
+       LatexType       Command
+       Margin          Dynamic
+       KeepEmpty       0
+End
+
+Style Copyrightstatement
+       CopyStyle       Statements
+       LatexName       copyrightstatement
+       LabelString     "Copyright:"
+End
+
+Style Introduction
+       CopyStyle       Section
+       LatexName       introduction
+       LabelString     "\thesection Introduction"
+       KeepEmpty       1
+       LabelSep        ""
+End
+
+Style Conclusions
+       CopyStyle       Section
+       LatexName       conclusions
+       LabelString     "\thesection Conclusions"
+       KeepEmpty       1
+       LabelSep        ""
+End
+
+Counter appendix
+       Within          "none"
+End
+
+Style Section_Appendix
+       CopyStyle       Section
+       Category        Appendix
+       LabelCounter    appendix
+       LabelString     "Appendix \Alph{appendix}:"
+End
+
+Counter subappendix
+       Within          "appendix"
+End
+
+Style Subsection_Appendix
+       CopyStyle       Subsection
+       Category        Appendix
+       LabelCounter    subappendix
+       LabelString     "\Alph{appendix}\arabic{subappendix}"
+End
+
+Counter subsubappendix
+       Within          subappendix
+End
+
+Style Subsubsection_Appendix
+       CopyStyle       Subsubsection
+       Category        Appendix
+       LabelCounter    subsubappendix
+       LabelString     "\Alph{appendix}\arabic{subappendix}.\arabic{subsubappendix}"
+End
+
+InsetLayout Flex:Appendix
+       LyXType         custom
+       ForcePlain      1
+       Margin          Dynamic
+       LatexType       Environment
+       LatexName       copappendix
+       Decoration      Classic
+       ParagraphGroup  1
+       MultiPar        true
+       NextNoIndent    1
+       AutoNests
+               "Section,SubSection,Standard"
+       EndAutoNests
+       Category        BackMatter
+       TopSep          1.2
+       ParSkip         0.4
+       BottomSep       0.8
+       Align           Left
+       LabelType       Top_Environment
+       LabelString     "[Appendix]"
+       KeepEmpty       1
+       Font
+               Family          Roman
+               Size            Normal
+               Shape           Up
+       EndFont
+       Preamble
+               \newenvironment{copappendix}
+               {\appendix}
+               {\noappendix}
+       EndPreamble
+End
+
+Style CodeAvailability
+       CopyStyle       Statements
+       LabelString     "Code availability."
+       LatexName       codeavailability
+End
+
+Style DataAvailability
+       CopyStyle       Statements
+       LabelString     "Data availability."
+       LatexName       dataavailability
+End
+
+Style CodeAndDataAvailability
+       CopyStyle       Statements
+       LabelString     "Code and data availability."
+       LatexName       codedataavailability
+End
+
+Style SampleAvailability
+       CopyStyle       Statements
+       LabelString     "Sample availability."
+       LatexName       sampleavailability
+End
+
+Style Statements2
+       CopyStyle       Statements
+       ParSkip         0.4
+       TopSep          1.3
+       BottomSep       0.7
+       ParSep          0.7
+End
+
+Style AuthorContribution
+       CopyStyle       Statements2
+       LabelString     "Author contributions."
+       LatexName       authorcontribution
+End
+
+Style CompetingInterests
+       CopyStyle       Statements2
+       LatexName       competinginterests
+       LabelString     "Competing Interests."
+End
+
+Style Disclaimer
+       CopyStyle       Statements2
+       LatexName       disclaimer
+       LabelString     "Disclaimer."
+End
+
+Style Acknowledgements
+       CopyStyle       Statements2
+       LatexName       acknowledgements
+       LabelString     "Acknowledgements."
+End
+
+Style Bibliography
+       Margin          First_Dynamic
+       LatexType       Bib_Environment
+       LatexName       thebibliography
+       Category        BackMatter
+       NextNoIndent    1
+       ToggleIndent    Never
+       LeftMargin      MM
+       ParSkip         0.4
+       ItemSep         0
+       TopSep          0.7
+       BottomSep       0.7
+       ParSep          0.5
+       Align           Block
+       AlignPossible   Block, Left
+       LabelType       Bibliography
+       LabelString     "References"
+       LabelBottomSep  0.7
+       LabelFont
+               Series          Bold
+       EndFont
+       TocLevel        0
+       IsTocCaption    0
+End
+
+NoStyle         Statements
+NoStyle         Statements2
+NoStyle         Publications
+NoStyle         InFrontmatter
+NoStyle         Chapter
+NoStyle         Chapter*
+NoStyle         Part
+NoStyle         Part*
diff --git a/lib/templates/copernicus.lyx b/lib/templates/copernicus.lyx
new file mode 100644 (file)
index 0000000..c429147
--- /dev/null
@@ -0,0 +1,661 @@
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 561
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass copernicus
+\use_default_options true
+\maintain_unincluded_children false
+\language english
+\language_package default
+\inputencoding auto
+\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_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures true
+\graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
+\float_placement class
+\float_alignment class
+\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 authoryear
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 1
+\use_minted 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 1
+\paperpagestyle default
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
+
+\begin_body
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Copernicus Publications Manuscript Preparation Template for LaTeX Submissions
+\end_layout
+
+\begin_layout Plain Layout
+---------------------------------
+\end_layout
+
+\begin_layout Plain Layout
+This template should be used for copernicus.cls
+\end_layout
+
+\begin_layout Plain Layout
+The class file and some style files are bundled in the Copernicus Latex
+ Package, which can be downloaded from the different journal webpages.
+\end_layout
+
+\begin_layout Plain Layout
+For further assistance please contact Copernicus Publications at: production@cop
+ernicus.org
+\end_layout
+
+\begin_layout Plain Layout
+https://publications.copernicus.org/for_authors/manuscript_preparation.html
+\end_layout
+
+\begin_layout Plain Layout
+Please use the following documentclass and journal abbreviations for discussion
+ papers and final revised papers.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Title
+TEXT
+\end_layout
+
+\begin_layout Author
+
+\end_layout
+
+\begin_layout Author
+
+\end_layout
+
+\begin_layout Author
+
+\end_layout
+
+\begin_layout Affil
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+ADDRESS
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Enter the authors address here
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Affil
+ADDRESS
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Enter the authors address here
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Running Title
+TEXT
+\end_layout
+
+\begin_layout RunningAuthor
+TEXT
+\end_layout
+
+\begin_layout Correspondence
+NAME (EMAIL)
+\end_layout
+
+\begin_layout Received
+
+\end_layout
+
+\begin_layout Pubdiscuss
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+only important for two-stage journals
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Revised
+
+\end_layout
+
+\begin_layout Published
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+%% Dates above will be inserted by Copernicus Publications during the typesettin
+g process.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout FirstPage
+1
+\end_layout
+
+\begin_layout Abstract
+TEXT
+\end_layout
+
+\begin_layout Copyrightstatement
+TEXT
+\end_layout
+
+\begin_layout Introduction
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+introduction[modified heading if necessary]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+TEXT
+\end_layout
+
+\begin_layout Section
+HEADING
+\end_layout
+
+\begin_layout Standard
+TEXT
+\end_layout
+
+\begin_layout Subsection
+HEADING
+\end_layout
+
+\begin_layout Standard
+TEXT
+\end_layout
+
+\begin_layout Subsubsection
+HEADING
+\end_layout
+
+\begin_layout Standard
+TEXT
+\end_layout
+
+\begin_layout Conclusions
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+conclusions[modified heading if necessary]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+TEXT
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The following commands are for the statements about the availability of
+ data sets and/or software code corresponding to the manuscript.
+\end_layout
+
+\begin_layout Plain Layout
+It is strongly recommended to make use of these sections in case data sets
+ and/or software code have been part of your research the article is based
+ on.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout CodeAvailability
+TEXT
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+use this section when having only software code available
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout DataAvailability
+TEXT
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+use this section when having only data sets available
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout CodeAndDataAvailability
+TEXT
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+use this section when having data sets and software code available
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout SampleAvailability
+TEXT
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+use this section when having geoscientific samples available
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Flex Appendix
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\begin_layout Section Appendix
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Appendix A
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection Appendix
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Appendix A1, A2, etc.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Note Comment
+status collapsed
+
+\begin_layout Plain Layout
+Regarding figures and tables in appendices, the following two options are
+ possible depending on your general handling of figures and tables in the
+ manuscript environment:
+\end_layout
+
+\begin_layout Plain Layout
+Option 1: If you sorted all figures and tables into the sections of the
+ text, please also sort the appendix figures and appendix tables into the
+ respective appendix sections.
+\end_layout
+
+\begin_layout Plain Layout
+They will be correctly named automatically.
+\end_layout
+
+\begin_layout Plain Layout
+Option 2: If you put all figures after the reference list, please insert
+ appendix tables and figures after the normal tables and figures.
+\end_layout
+
+\begin_layout Plain Layout
+To rename them correctly to A1, A2, etc., please add the following commands
+ in front of them:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout AuthorContribution
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+it is strongly recommended to make use of this section
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout CompetingInterests
+TEXT
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+this section is mandatory even if you declare that no competing interests
+ are present
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Disclaimer
+TEXT
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional section
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Acknowledgements
+TEXT
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Comment
+status collapsed
+
+\begin_layout Plain Layout
+REFERENCES
+\end_layout
+
+\begin_layout Plain Layout
+The reference list is compiled as follows:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "AUTHOR(YEAR)"
+key "LABEL1"
+literal "false"
+
+\end_inset
+
+REFERENCE 1
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "AUTHOR(YEAR)"
+key "LABEL2"
+literal "false"
+
+\end_inset
+
+REFERENCE 2
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Comment
+status open
+
+\begin_layout Plain Layout
+Since the Copernicus LaTeX package includes the BibTeX style file copernicus.bst,
+\end_layout
+
+\begin_layout Plain Layout
+authors experienced with BibTeX only have to include the following two lines:
+\end_layout
+
+\begin_layout Plain Layout
+%
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+bibliographystyle{copernicus}
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+bibliography{example.bib}
+\end_layout
+
+\begin_layout Plain Layout
+%
+\end_layout
+
+\begin_layout Plain Layout
+URLs and DOIs can be entered in your BibTeX file as:
+\end_layout
+
+\begin_layout Plain Layout
+%
+\end_layout
+
+\begin_layout Plain Layout
+URL = {http://www.xyz.org/~jones/idx_g.htm}
+\end_layout
+
+\begin_layout Plain Layout
+DOI = {10.5194/xyz}
+\end_layout
+
+\begin_layout Plain Layout
+%
+\end_layout
+
+\begin_layout Plain Layout
+%
+\end_layout
+
+\begin_layout Plain Layout
+LITERATURE CITATIONS
+\end_layout
+
+\begin_layout Plain Layout
+%
+\end_layout
+
+\begin_layout Plain Layout
+command & example result
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citet{jones90}| & Jones et al.
+ (1990)
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citep{jones90}| & (Jones et al., 1990)
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citep{jones90,jones93}| & (Jones et al., 1990, 1993)
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citep[p.~32]{jones90}| & (Jones et al., 1990, p.~32)
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citep[e.g.,][]{jones90}| & (e.g., Jones et al., 1990)
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citep[e.g.,][p.~32]{jones90}| & (e.g., Jones et al., 1990, p.~32)
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citeauthor{jones90}| & Jones et al.
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+citeyear{jones90}| & 1990
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_body
+\end_document