From 1278161f1a5fd6e837fe852c8086e85583760e71 Mon Sep 17 00:00:00 2001 From: nuest Date: Mon, 30 Jul 2018 18:12:49 +0200 Subject: [PATCH 1/5] add copernicus template (squashed changes) - update to template package version 5.0 - appendix may not be loaded via external file, use yaml property instead - add hints for additional metadata - add default language for babel - add default language for babel - fix tightlist in pandoc - no HTML comments with LaTeX in it - update docs - clarify usage of quations, closes #1 - clarify docs for algorithm packages - add examples for usage of \unit{} --- .gitignore | 2 + DESCRIPTION | 4 +- NAMESPACE | 2 + R/copernicus_article.R | 129 + README.md | 2 + .../README_copernicus_package_5_0.txt | 23 + .../copernicus_article/resources/template.tex | 226 ++ .../skeleton/Nikolaus_Kopernikus.jpg | Bin 0 -> 11939 bytes .../skeleton/copernicus.bst | 1680 +++++++++++ .../skeleton/copernicus.cfg | 889 ++++++ .../skeleton/copernicus.cls | 2479 +++++++++++++++++ .../copernicus_article/skeleton/natbib.sty | 835 ++++++ .../copernicus_article/skeleton/pdfscreen.sty | 1260 +++++++++ .../skeleton/pdfscreencop.sty | 1260 +++++++++ .../copernicus_article/skeleton/sample.bib | 20 + .../copernicus_article/skeleton/skeleton.Rmd | 318 +++ .../copernicus_article/template.yaml | 4 + man/copernicus_article.Rd | 73 + man/copernicus_journal_abbreviations.Rd | 19 + 19 files changed, 9223 insertions(+), 2 deletions(-) create mode 100644 R/copernicus_article.R create mode 100644 inst/rmarkdown/templates/copernicus_article/resources/README_copernicus_package_5_0.txt create mode 100644 inst/rmarkdown/templates/copernicus_article/resources/template.tex create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/Nikolaus_Kopernikus.jpg create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.bst create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cfg create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cls create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/natbib.sty create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/pdfscreen.sty create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/pdfscreencop.sty create mode 100644 inst/rmarkdown/templates/copernicus_article/skeleton/sample.bib create mode 100755 inst/rmarkdown/templates/copernicus_article/skeleton/skeleton.Rmd create mode 100644 inst/rmarkdown/templates/copernicus_article/template.yaml create mode 100644 man/copernicus_article.Rd create mode 100644 man/copernicus_journal_abbreviations.Rd diff --git a/.gitignore b/.gitignore index dcb87bcb1..49cb1140b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ .Rhistory .RData + +MyArticle/ diff --git a/DESCRIPTION b/DESCRIPTION index 44d76baec..8eda79d88 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -27,8 +27,8 @@ Authors@R: c( person("Marc-Andre", "Desautels", role = c("aut", "cph"), email = "marc-andre.desautels@cstjean.qc.ca"), person("Dominik", "Leutnant", role = c("aut", "cph"), email = "leutnant@fh-muenster.de"), person(family = "MDPI", role = c("aut", "cph")), - person("Oğuzhan", "Öğreden", role = c("aut"), comment = c(ORCID = "0000-0002-9949-3348")) - ) + person("Oğuzhan", "Öğreden", role = c("aut"), comment = c(ORCID = "0000-0002-9949-3348"), + person("Daniel", "Nüst", role = c("aut", "cph"), email = "daniel.nuest@uni-muenster.de")) Description: A suite of custom R Markdown formats and templates for authoring journal articles and conference submissions. License: GPL-3 diff --git a/NAMESPACE b/NAMESPACE index e928051fc..f771ceff0 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -6,6 +6,8 @@ export(aea_article) export(amq_article) export(ams_article) export(asa_article) +export(copernicus_article) +export(copernicus_journal_abbreviations) export(ctex) export(ctex_template) export(elsevier_article) diff --git a/R/copernicus_article.R b/R/copernicus_article.R new file mode 100644 index 000000000..275b13522 --- /dev/null +++ b/R/copernicus_article.R @@ -0,0 +1,129 @@ +#' Copernicus journals format. +#' +#' Format for creating submissions to Copernicus journals. +#' +#' @inheritParams rmarkdown::pdf_document +#' @param ... Additional arguments to \code{base_format} +#' @param base_format The function to use for the base format of the article. +#' By default, this is \code{rmarkdown::pdf_document}, but to use bookdown's +#' cross-referencing feature, this can be set to \code{bookdown::pdf_document2} +#' +#' @return R Markdown output format to pass to +#' \code{\link[rmarkdown:render]{render}} +#' +#' @details This was adapted from +#' \href{https://publications.copernicus.org/for_authors/manuscript_preparation.html}{https://publications.copernicus.org/for_authors/manuscript_preparation.html}. +#' +#' An number of required and optional manuscript sections, e.g. \code{acknowledgements}, \code{competinginterests}, or \code{authorcontribution}, must be declared using the respective properties of the R Markdown header - see skeleton file. +#' +#' \strong{Version:} Based on copernicus_package.zip in the version 5.0, 21 March 2018, using \code{copernicus.cls} in version 8.67, 30 January 2018 +#' +#' \strong{Important note:} The online guidelines by Copernicus are the official resource. +#' Copernicus is not responsible for the community contributions made to support the template in this package. +#' Copenicus converts all typeset TeX files into XML, the expressions and markups have to be highly standardized. +#' Therefore, please keep the following in mind: +#' +#' \itemize{ +#' \item Please provide only one figure file for figures with several panels, and please do not use \code{\\subfloat} or similar commands. +#' \item Please use only commands in which words, numbers, etc. are within braces (e.g. \code{\\textrm{TEXT}} instead of \code{{\\rm TEXT}}). +#' \item For algorithms, please use the syntax given in template.tex or provide your algorithm as a figure. +#' \item Please do not define new commands. +#' \item The most commonly used packages (\code{\\usepackage{}}) are integrated in the copernicus.cls. Some other packages often used by the community are defined in template.tex. Please do not insert additional ones in your *.tex file. +#' \item Spaces in labels (\code{\\label{}}) are not allowed; please make sure that no label name is assigned more than once. +#' \item Please do not use \code{\\paragraph{}}; only \code{\\subsubsection{}} is allowed. +#' \item It is not possible to add tables in colour. +#' } +#' +#' @note If you use \code{rmarkdown::pdf_document()}, all internal references (i.e. tables and figures) must use \code{\\ref\{\}} whereas with \code{bookdown::pdf_document2()}, you can additionally use \code{\\@@ref()}. +#' +#' @references +#' Manuscript preparation guidelines for authors. +#' \url{https://publications.copernicus.org/for_authors/manuscript_preparation.html} +#' +#' @examples +#' +#' \dontrun{ +#' library("rmarkdown") +#' draft("MyArticle.Rmd", template = "copernicus_article", package = "rticles") +#' render("MyArticle/MyArticle.Rmd") +#' } +#' +#' @export +copernicus_article <- function(..., + keep_tex = TRUE, + citation_package = "natbib", + base_format = rmarkdown::pdf_document, + md_extensions = c( + "-autolink_bare_uris", # disables automatic links, needed for plain email in \correspondence + "-auto_identifiers" # disables \hypertarget commands + )) { + if (inherits(base_format, "character")) { + FMT <- eval(parse(text = base_format)) + } else { + FMT <- match.fun(base_format) + } + FMT(..., + citation_package = citation_package, + keep_tex = keep_tex, + md_extensions = md_extensions, + template = find_resource("copernicus_article", "template.tex")) +} + +# quick dev shortcut for Ubuntu: click "Install and restart" then run: +# unlink("MyArticle/", recursive = TRUE); draft("MyArticle.Rmd", template = "copernicus_article", package = "rticles", edit = FALSE); render("MyArticle/MyArticle.Rmd"); system(paste0("gnome-open ", here::here("MyArticle", "MyArticle.pdf"))) + +copernicus_journals <- list( + "Advances in Geosciences" = "adgeo", + "Advances in Radio Science" = "ars", + "Advances in Science and Research" = "asr", + "Advances in Statistical Climatology, Meteorology and Oceanography" = "ascmo", + "Annales Geophysicae" = "angeo", + "Archives Animal Breeding" = "aab", + "ASTRA Proceedings" = "ap", + "Atmospheric Chemistry and Physics" = "acp", + "Atmospheric Measurement Techniques" = "amt", + "Biogeosciences" = "bg", + "Climate of the Past" = "cp", + "Drinking Water Engineering and Science" = "dwes", + "Earth Surface Dynamics" = "esurf", + "Earth System Dynamics" = "esd", + "Earth System Science Data" = "essd", + "E&G Quaternary Science Journal" = "egqsj", + "Fossil Record" = "fr", + "Geographica Helvetica" = "gh", + "Geoscience Communication" = "gc", + "Geoscientific Instrumentation, Methods and Data Systems" = "gi", + "Geoscientific Model Development" = "gmd", + "History of Geo- and Space Sciences" = "hgss", + "Hydrology and Earth System Sciences" = "hess", + "Journal of Micropalaeontology" = "jm", + "Journal of Sensors and Sensor Systems" = "jsss", + "Mechanical Sciences" = "ms", + "Natural Hazards and Earth System Sciences" = "nhess", + "Nonlinear Processes in Geophysics" = "npg", + "Ocean Science" = "os", + "Primate Biology" = "pb", + "Proceedings of the International Association of Hydrological Sciences" = "piahs", + "Scientific Drilling" = "sd", + "SOIL" = "soil", + "Solid Earth" = "se", + "The Cryosphere" = "tc", + "Web Ecology" = "we", + "Wind Energy Science" = "wes" +) + +#' Copernicus journal abbreviations +#' +#' Get the journal abbreviation for all journals supported by the copernicus article template. +#' +#' @param name A regular expression to filter the by the journal name, see \code{pattern} in \code{\link[base]{grep}}; defaults to \code{*}. +#' +#' @examples +#' names(copernicus_journal_abbreviations()) +#' copernicus_journal_abbreviations(name = "Science Data") +#' +#' @export +copernicus_journal_abbreviations <- function(name = "*") { + journal <- copernicus_journals[grepl(pattern = name, x = names(copernicus_journals), ignore.case = TRUE)] + return(unlist(journal)) +} diff --git a/README.md b/README.md index 3a7359c0d..e65d61fe6 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ The **rticles** package provides a suite of custom [R Markdown](http://rmarkdown - [Statistics in Medicine](http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)1097-0258/homepage/la_tex_class_file.htm) journal submissions +- [Copernicus](https://publications.copernicus.org) journal submissions + - [The R Journal](https://journal.r-project.org/) articles Under the hood, LaTeX templates are used to ensure that documents conform precisely to submission standards. At the same time, composition and formatting can be done using lightweight [markdown](https://rmarkdown.rstudio.com/authoring_basics.html) syntax, and R code and its output can be seamlessly included using [knitr](https://yihui.name/knitr/). diff --git a/inst/rmarkdown/templates/copernicus_article/resources/README_copernicus_package_5_0.txt b/inst/rmarkdown/templates/copernicus_article/resources/README_copernicus_package_5_0.txt new file mode 100644 index 000000000..f47a8603d --- /dev/null +++ b/inst/rmarkdown/templates/copernicus_article/resources/README_copernicus_package_5_0.txt @@ -0,0 +1,23 @@ +File: README_copernicus_package_5_0.txt +------------------------------------------------------------------------- +This is a README file for the Copernicus Publications LaTeX Macro Package +copernicus_package.zip in the version 5.0, 21 March 2018 +------------------------------------------------------------------------- +It consists of several files, each with its separate copyright. +This specific archive is collected for journals published by +Copernicus Publications (Copernicus GmbH). + +Copyright (C) 2018 Copernicus GmbH + +E-mail: publications@copernicus.org +URL: https://publications.copernicus.org + + + +Content: +- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 8.67, 30 January 2018 +- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 21 March 2018 +- copernicus.bst: The bibliographic style file for BibTeX. Current Version 1.2, September 2017 +- natbib.sty +- pdfscreencop.sty / pdfscreen.sty +- template.tex: A LaTeX template in journal style. \ No newline at end of file diff --git a/inst/rmarkdown/templates/copernicus_article/resources/template.tex b/inst/rmarkdown/templates/copernicus_article/resources/template.tex new file mode 100644 index 000000000..e545ee55e --- /dev/null +++ b/inst/rmarkdown/templates/copernicus_article/resources/template.tex @@ -0,0 +1,226 @@ +%% Copernicus Publications Manuscript Preparation Template for LaTeX Submissions +%% --------------------------------- +%% This template should be used for copernicus.cls +%% The class file and some style files are bundled in the Copernicus Latex Package, which can be downloaded from the different journal webpages. +%% For further assistance please contact Copernicus Publications at: production@copernicus.org +%% https://publications.copernicus.org/for_authors/manuscript_preparation.html + + +%% Please use the following documentclass and journal abbreviations for discussion papers and final revised papers. + +%% 2-column papers and discussion papers +\documentclass[$journal$, manuscript]{copernicus} + + + +%% Journal abbreviations (please use the same for discussion papers and final revised papers) + + +% Advances in Geosciences (adgeo) +% Advances in Radio Science (ars) +% Advances in Science and Research (asr) +% Advances in Statistical Climatology, Meteorology and Oceanography (ascmo) +% Annales Geophysicae (angeo) +% Archives Animal Breeding (aab) +% ASTRA Proceedings (ap) +% Atmospheric Chemistry and Physics (acp) +% Atmospheric Measurement Techniques (amt) +% Biogeosciences (bg) +% Climate of the Past (cp) +% Drinking Water Engineering and Science (dwes) +% Earth Surface Dynamics (esurf) +% Earth System Dynamics (esd) +% Earth System Science Data (essd) +% E&G Quaternary Science Journal (egqsj) +% Fossil Record (fr) +% Geographica Helvetica (gh) +% Geoscience Communication (gc) +% Geoscientific Instrumentation, Methods and Data Systems (gi) +% Geoscientific Model Development (gmd) +% History of Geo- and Space Sciences (hgss) +% Hydrology and Earth System Sciences (hess) +% Journal of Micropalaeontology (jm) +% Journal of Sensors and Sensor Systems (jsss) +% Mechanical Sciences (ms) +% Natural Hazards and Earth System Sciences (nhess) +% Nonlinear Processes in Geophysics (npg) +% Ocean Science (os) +% Primate Biology (pb) +% Proceedings of the International Association of Hydrological Sciences (piahs) +% Scientific Drilling (sd) +% SOIL (soil) +% Solid Earth (se) +% The Cryosphere (tc) +% Web Ecology (we) +% Wind Energy Science (wes) + + +%% \usepackage commands included in the copernicus.cls: +%\usepackage[german, english]{babel} +%\usepackage{tabularx} +%\usepackage{cancel} +%\usepackage{multirow} +%\usepackage{supertabular} +%\usepackage{algorithmic} +%\usepackage{algorithm} +%\usepackage{amsthm} +%\usepackage{float} +%\usepackage{subfig} +%\usepackage{rotating} + +% The "Technical instructions for LaTex" by Copernicus require _not_ to insert any additional packages. +%$for(header-includes)$ +%$header-includes$ +%$endfor$ + +$if(algorithms)$ +\usepackage{algorithmic} +\usepackage{algorithm} +$endif$ + +$if(highlighting-macros)$ +$highlighting-macros$ +$endif$ + +\begin{document} + +\title{$title$} + + +$for(author)$ +\Author[$author.affiliation$]{$author.given_name$}{$author.surname$} +$endfor$ + + +$for(affiliation)$ +\affil[$affiliation.code$]{$affiliation.address$} +$endfor$ + +%% The [] brackets identify the author with the corresponding affiliation. 1, 2, 3, etc. should be inserted. + + + +\runningtitle{$running.title$} + +\runningauthor{$running.author$} + +$for(author)$ +$if(author.corresponding)$ +\correspondence{$author.given_name$\ $author.surname$\ ($author.email$)} +$endif$ +$endfor$ + + + +\received{} +\pubdiscuss{} %% only important for two-stage journals +\revised{} +\accepted{} +\published{} + +%% These dates will be inserted by Copernicus Publications during the typesetting process. + + +\firstpage{1} + +\maketitle + + +$if(abstract)$ +\begin{abstract} +$abstract$ +\end{abstract} +$endif$ + + +$if(copyrightstatement)$ +\copyrightstatement{$copyrightstatement$} +$endif$ + + +$body$ + + +$if(availability.code)$ +\codeavailability{$availability.code$} %% use this section when having only software code available +$endif$ + +$if(availability.data)$ +\dataavailability{$availability.data$} %% use this section when having only data sets available +$endif$ + +$if(availability.codedata)$ +\codedataavailability{$availability.codedata$} %% use this section when having data sets and software code available +$endif$ + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% optional + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +$if(appendix)$ +\appendix +$appendix$ +\noappendix +$endif$ + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +$if(authorcontribution)$ +\authorcontribution{$authorcontribution$} %% optional section +$endif$ + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\competinginterests{$competinginterests$} %% this section is mandatory even if you declare that no competing interests are present + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +$if(disclaimer)$ +\disclaimer{$disclaimer$} %% optional section +$endif$ + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +$if(acknowledgements)$ +\begin{acknowledgements} +$acknowledgements$ +\end{acknowledgements} +$endif$ + +%% REFERENCES +%% DN: pre-configured to BibTeX for rticles + +%% The reference list is compiled as follows: +%% +%% \begin{thebibliography}{} +%% +%% \bibitem[AUTHOR(YEAR)]{LABEL1} +%% REFERENCE 1 +%% +%% \bibitem[AUTHOR(YEAR)]{LABEL2} +%% REFERENCE 2 +%% +%% \end{thebibliography} + +%% Since the Copernicus LaTeX package includes the BibTeX style file copernicus.bst, +%% authors experienced with BibTeX only have to include the following two lines: +%% +\bibliographystyle{copernicus} +\bibliography{$bibliography$} +%% +%% URLs and DOIs can be entered in your BibTeX file as: +%% +%% URL = {http://www.xyz.org/~jones/idx_g.htm} +%% DOI = {10.5194/xyz} + + +%% LITERATURE CITATIONS +%% +%% command & example result +%% \citet{jones90}| & Jones et al. (1990) +%% \citep{jones90}| & (Jones et al., 1990) +%% \citep{jones90,jones93}| & (Jones et al., 1990, 1993) +%% \citep[p.~32]{jones90}| & (Jones et al., 1990, p.~32) +%% \citep[e.g.,][]{jones90}| & (e.g., Jones et al., 1990) +%% \citep[e.g.,][p.~32]{jones90}| & (e.g., Jones et al., 1990, p.~32) +%% \citeauthor{jones90}| & Jones et al. +%% \citeyear{jones90}| & 1990 + +\end{document} diff --git a/inst/rmarkdown/templates/copernicus_article/skeleton/Nikolaus_Kopernikus.jpg b/inst/rmarkdown/templates/copernicus_article/skeleton/Nikolaus_Kopernikus.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f97aceb58cbc2b11a803ad94091c659d34a4a4c8 GIT binary patch literal 11939 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 e<>cQZ;?Ax@wDcZdI{(k_*deII5 literal 0 HcmV?d00001 diff --git a/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.bst b/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.bst new file mode 100644 index 000000000..026d57559 --- /dev/null +++ b/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.bst @@ -0,0 +1,1680 @@ +%% +%% This is file `copernicus.bst', version 1.2 (September 2017), +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% merlin.mbs (with options: `head,ay,nat,seq-key,nm-rev,ed-rev,keyxyr,blkyear,dt-end,note-yr,atit-u,jttl-rm,vnum-x,volp-com,pgsep-s,num-xser,btit-rm,bt-rm,agu-doi,doi,edby,blk-com,au-col,in-col,pp,ed,abr,xedn,jabr,url,url-nt,{}') +%% physjour.mbs (with options: `ay,nat,seq-key,nm-rev,ed-rev,keyxyr,blkyear,dt-end,note-yr,atit-u,jttl-rm,vnum-x,volp-com,pgsep-s,num-xser,btit-rm,bt-rm,agu-doi,doi,edby,blk-com,au-col,in-col,pp,ed,abr,xedn,jabr,url,url-nt,{}') +%% geojour.mbs (with options: `ay,nat,seq-key,nm-rev,ed-rev,keyxyr,blkyear,dt-end,note-yr,atit-u,jttl-rm,vnum-x,volp-com,pgsep-s,num-xser,btit-rm,bt-rm,agu-doi,doi,edby,blk-com,au-col,in-col,pp,ed,abr,xedn,jabr,url,url-nt,{}') +%% merlin.mbs (with options: `tail,ay,nat,seq-key,nm-rev,ed-rev,keyxyr,blkyear,dt-end,note-yr,atit-u,jttl-rm,vnum-x,volp-com,pgsep-s,num-xser,btit-rm,bt-rm,agu-doi,doi,edby,blk-com,au-col,in-col,pp,ed,abr,xedn,jabr,url,url-nt,{}') +%% ---------------------------------------- +%% *** For journals of Copernicus Publications *** +%% +%% Copyright 1994-2006 Patrick W Daly + % =============================================================== + % IMPORTANT NOTICE: + % This bibliographic style (bst) file has been generated from one or + % more master bibliographic style (mbs) files, listed above. + % + % This generated file can be redistributed and/or modified under the terms + % of the LaTeX Project Public License Distributed from CTAN + % archives in directory macros/latex/base/lppl.txt; either + % version 1 of the License, or any later version. + % =============================================================== + % Name and version information of the main mbs file: + % \ProvidesFile{merlin.mbs}[2006/02/15 4.16 (PWD, AO, DPC)] + % For use with BibTeX version 0.99a or later + %------------------------------------------------------------------- + % This bibliography style file is intended for texts in ENGLISH + % This is an author-year citation style bibliography. As such, it is + % non-standard LaTeX, and requires a special package file to function properly. + % Such a package is natbib.sty by Patrick W. Daly + % The form of the \bibitem entries is + % \bibitem[Jones et al.(1990)]{key}... + % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}... + % The essential feature is that the label (the part in brackets) consists + % of the author names, as they should appear in the citation, with the year + % in parentheses following. There must be no space before the opening + % parenthesis! + % With natbib v5.3, a full list of authors may also follow the year. + % In natbib.sty, it is possible to define the type of enclosures that is + % really wanted (brackets or parentheses), but in either case, there must + % be parentheses in the label. + % The \cite command functions as follows: + % \citet{key} ==>> Jones et al. (1990) + % \citet*{key} ==>> Jones, Baker, and Smith (1990) + % \citep{key} ==>> (Jones et al., 1990) + % \citep*{key} ==>> (Jones, Baker, and Smith, 1990) + % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2) + % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990) + % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32) + % \citeauthor{key} ==>> Jones et al. + % \citeauthor*{key} ==>> Jones, Baker, and Smith + % \citeyear{key} ==>> 1990 + %--------------------------------------------------------------------- + + +ENTRY + { address + author + booktitle + chapter + doi + edition + editor + eid + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + url + volume + year + } + {} + { label extra.label sort.label short.list } +INTEGERS { output.state before.all mid.sentence after.sentence after.block } +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} +STRINGS { s t} +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} +FUNCTION {add.blank} +{ " " * before.all 'output.state := +} + +FUNCTION {add.colon} +{ duplicate$ empty$ + 'skip$ + { ":" * add.blank } + if$ +} + +FUNCTION {date.block} +{ + skip$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "\/}" * } + if$ +} +FUNCTION {tie.or.space.prefix} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ +} + +FUNCTION {capitalize} +{ "u" change.case$ "t" change.case$ } + +FUNCTION {space.word} +{ " " swap$ * " " * } + % Here are the language-specific definitions for explicit words. + % Each function has a name bbl.xxx where xxx is the English word. + % The language selected here is ENGLISH +FUNCTION {bbl.and} +{ "and"} + +FUNCTION {bbl.etal} +{ "et~al." } + +FUNCTION {bbl.editors} +{ "eds." } + +FUNCTION {bbl.editor} +{ "ed." } + +FUNCTION {bbl.edby} +{ "edited by" } + +FUNCTION {bbl.edition} +{ "edn." } + +FUNCTION {bbl.volume} +{ "vol." } + +FUNCTION {bbl.of} +{ "of" } + +FUNCTION {bbl.number} +{ "no." } + +FUNCTION {bbl.nr} +{ "no." } + +FUNCTION {bbl.in} +{ "in" } + +FUNCTION {bbl.pages} +{ "pp." } + +FUNCTION {bbl.page} +{ "p." } + +FUNCTION {bbl.chapter} +{ "chap." } + +FUNCTION {bbl.techrep} +{ "Tech. Rep." } + +FUNCTION {bbl.mthesis} +{ "Master's thesis" } + +FUNCTION {bbl.phdthesis} +{ "Ph.D. thesis" } + +MACRO {jan} {"Jan."} + +MACRO {feb} {"Feb."} + +MACRO {mar} {"Mar."} + +MACRO {apr} {"Apr."} + +MACRO {may} {"May"} + +MACRO {jun} {"Jun."} + +MACRO {jul} {"Jul."} + +MACRO {aug} {"Aug."} + +MACRO {sep} {"Sep."} + +MACRO {oct} {"Oct."} + +MACRO {nov} {"Nov."} + +MACRO {dec} {"Dec."} + + %------------------------------------------------------------------- + % Begin module: + % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)] +MACRO {aa}{"Astron. \& Astrophys."} +MACRO {aasup}{"Astron. \& Astrophys. Suppl. Ser."} +MACRO {aj} {"Astron. J."} +MACRO {aph} {"Acta Phys."} +MACRO {advp} {"Adv. Phys."} +MACRO {ajp} {"Amer. J. Phys."} +MACRO {ajm} {"Amer. J. Math."} +MACRO {amsci} {"Amer. Sci."} +MACRO {anofd} {"Ann. Fluid Dyn."} +MACRO {am} {"Ann. Math."} +MACRO {ap} {"Ann. Phys. (NY)"} +MACRO {adp} {"Ann. Phys. (Leipzig)"} +MACRO {ao} {"Appl. Opt."} +MACRO {apl} {"Appl. Phys. Lett."} +MACRO {app} {"Astroparticle Phys."} +MACRO {apj} {"Astrophys. J."} +MACRO {apjsup} {"Astrophys. J. Suppl."} +MACRO {apss} {"Astrophys. Space Sci."} +MACRO {araa} {"Ann. Rev. Astron. Astrophys."} +MACRO {baas} {"Bull. Amer. Astron. Soc."} +MACRO {baps} {"Bull. Amer. Phys. Soc."} +MACRO {cmp} {"Comm. Math. Phys."} +MACRO {cpam} {"Commun. Pure Appl. Math."} +MACRO {cppcf} {"Comm. Plasma Phys. \& Controlled Fusion"} +MACRO {cpc} {"Comp. Phys. Comm."} +MACRO {cqg} {"Class. Quant. Grav."} +MACRO {cra} {"C. R. Acad. Sci. A"} +MACRO {fed} {"Fusion Eng. \& Design"} +MACRO {ft} {"Fusion Tech."} +MACRO {grg} {"Gen. Relativ. Gravit."} +MACRO {ieeens} {"IEEE Trans. Nucl. Sci."} +MACRO {ieeeps} {"IEEE Trans. Plasma Sci."} +MACRO {ijimw} {"Interntl. J. Infrared \& Millimeter Waves"} +MACRO {ip} {"Infrared Phys."} +MACRO {irp} {"Infrared Phys."} +MACRO {jap} {"J. Appl. Phys."} +MACRO {jasa} {"J. Acoust. Soc. America"} +MACRO {jcp} {"J. Comp. Phys."} +MACRO {jetp} {"Sov. Phys.--JETP"} +MACRO {jfe} {"J. Fusion Energy"} +MACRO {jfm} {"J. Fluid Mech."} +MACRO {jmp} {"J. Math. Phys."} +MACRO {jne} {"J. Nucl. Energy"} +MACRO {jnec} {"J. Nucl. Energy, C: Plasma Phys., Accelerators, Thermonucl. Res."} +MACRO {jnm} {"J. Nucl. Mat."} +MACRO {jpc} {"J. Phys. Chem."} +MACRO {jpp} {"J. Plasma Phys."} +MACRO {jpsj} {"J. Phys. Soc. Japan"} +MACRO {jsi} {"J. Sci. Instrum."} +MACRO {jvst} {"J. Vac. Sci. \& Tech."} +MACRO {nat} {"Nature"} +MACRO {nature} {"Nature"} +MACRO {nedf} {"Nucl. Eng. \& Design/Fusion"} +MACRO {nf} {"Nucl. Fusion"} +MACRO {nim} {"Nucl. Inst. \& Meth."} +MACRO {nimpr} {"Nucl. Inst. \& Meth. in Phys. Res."} +MACRO {np} {"Nucl. Phys."} +MACRO {npb} {"Nucl. Phys. B"} +MACRO {nt/f} {"Nucl. Tech./Fusion"} +MACRO {npbpc} {"Nucl. Phys. B (Proc. Suppl.)"} +MACRO {inc} {"Nuovo Cimento"} +MACRO {nc} {"Nuovo Cimento"} +MACRO {pf} {"Phys. Fluids"} +MACRO {pfa} {"Phys. Fluids A: Fluid Dyn."} +MACRO {pfb} {"Phys. Fluids B: Plasma Phys."} +MACRO {pl} {"Phys. Lett."} +MACRO {pla} {"Phys. Lett. A"} +MACRO {plb} {"Phys. Lett. B"} +MACRO {prep} {"Phys. Rep."} +MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"} +MACRO {pp} {"Phys. Plasmas"} +MACRO {ppcf} {"Plasma Phys. \& Controlled Fusion"} +MACRO {phitrsl} {"Philos. Trans. Roy. Soc. London"} +MACRO {prl} {"Phys. Rev. Lett."} +MACRO {pr} {"Phys. Rev."} +MACRO {physrev} {"Phys. Rev."} +MACRO {pra} {"Phys. Rev. A"} +MACRO {prb} {"Phys. Rev. B"} +MACRO {prc} {"Phys. Rev. C"} +MACRO {prd} {"Phys. Rev. D"} +MACRO {pre} {"Phys. Rev. E"} +MACRO {ps} {"Phys. Scripta"} +MACRO {procrsl} {"Proc. Roy. Soc. London"} +MACRO {rmp} {"Rev. Mod. Phys."} +MACRO {rsi} {"Rev. Sci. Inst."} +MACRO {science} {"Science"} +MACRO {sciam} {"Sci. Am."} +MACRO {sam} {"Stud. Appl. Math."} +MACRO {sjpp} {"Sov. J. Plasma Phys."} +MACRO {spd} {"Sov. Phys.--Doklady"} +MACRO {sptp} {"Sov. Phys.--Tech. Phys."} +MACRO {spu} {"Sov. Phys.--Uspeki"} +MACRO {st} {"Sky and Telesc."} + % End module: physjour.mbs + %------------------------------------------------------------------- + % Begin module: + % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)] +MACRO {aisr} {"Adv. Space Res."} +MACRO {ag} {"Ann. Geophys."} +MACRO {anigeo} {"Ann. Geofis."} +MACRO {angl} {"Ann. Glaciol."} +MACRO {andmet} {"Ann. d. Meteor."} +MACRO {andgeo} {"Ann. d. Geophys."} +MACRO {andphy} {"Ann. Phys.-Paris"} +MACRO {afmgb} {"Arch. Meteor. Geophys. Bioklimatol."} +MACRO {atph} {"Atm\'osphera"} +MACRO {aao} {"Atmos. Ocean"} +MACRO {ass}{"Astrophys. Space Sci."} +MACRO {atenv} {"Atmos. Environ."} +MACRO {aujag} {"Aust. J. Agr. Res."} +MACRO {aumet} {"Aust. Meteorol. Mag."} +MACRO {blmet} {"Bound.-Lay. Meteorol."} +MACRO {bams} {"Bull. Amer. Meteorol. Soc."} +MACRO {cch} {"Clim. Change"} +MACRO {cdyn} {"Clim. Dynam."} +MACRO {cbul} {"Climatol. Bull."} +MACRO {cap} {"Contrib. Atmos. Phys."} +MACRO {dsr} {"Deep-Sea Res."} +MACRO {dhz} {"Dtsch. Hydrogr. Z."} +MACRO {dao} {"Dynam. Atmos. Oceans"} +MACRO {eco} {"Ecology"} +MACRO {empl}{"Earth, Moon and Planets"} +MACRO {envres} {"Environ. Res."} +MACRO {envst} {"Environ. Sci. Technol."} +MACRO {ecms} {"Estuarine Coastal Mar. Sci."} +MACRO {expa}{"Exper. Astron."} +MACRO {geoint} {"Geofis. Int."} +MACRO {geopub} {"Geofys. Publ."} +MACRO {geogeo} {"Geol. Geofiz."} +MACRO {gafd} {"Geophys. Astrophys. Fluid Dyn."} +MACRO {gfd} {"Geophys. Fluid Dyn."} +MACRO {geomag} {"Geophys. Mag."} +MACRO {georl} {"Geophys. Res. Lett."} +MACRO {grl} {"Geophys. Res. Lett."} +MACRO {ga} {"Geophysica"} +MACRO {gs} {"Geophysics"} +MACRO {ieeetap} {"IEEE Trans. Antenn. Propag."} +MACRO {ijawp} {"Int. J. Air Water Pollut."} +MACRO {ijc} {"Int. J. Climatol."} +MACRO {ijrs} {"Int. J. Remote Sens."} +MACRO {jam} {"J. Appl. Meteorol."} +MACRO {jaot} {"J. Atmos. Ocean. Technol."} +MACRO {jatp} {"J. Atmos. Terr. Phys."} +MACRO {jastp} {"J. Atmos. Solar-Terr. Phys."} +MACRO {jce} {"J. Climate"} +MACRO {jcam} {"J. Climate Appl. Meteor."} +MACRO {jcm} {"J. Climate Meteor."} +MACRO {jcy} {"J. Climatol."} +MACRO {jgr} {"J. Geophys. Res."} +MACRO {jga} {"J. Glaciol."} +MACRO {jh} {"J. Hydrol."} +MACRO {jmr} {"J. Mar. Res."} +MACRO {jmrj} {"J. Meteor. Res. Japan"} +MACRO {jm} {"J. Meteor."} +MACRO {jpo} {"J. Phys. Oceanogr."} +MACRO {jra} {"J. Rech. Atmos."} +MACRO {jaes} {"J. Aeronaut. Sci."} +MACRO {japca} {"J. Air Pollut. Control Assoc."} +MACRO {jas} {"J. Atmos. Sci."} +MACRO {jmts} {"J. Mar. Technol. Soc."} +MACRO {jmsj} {"J. Meteorol. Soc. Japan"} +MACRO {josj} {"J. Oceanogr. Soc. Japan"} +MACRO {jwm} {"J. Wea. Mod."} +MACRO {lao} {"Limnol. Oceanogr."} +MACRO {mwl} {"Mar. Wea. Log"} +MACRO {mau} {"Mausam"} +MACRO {meteor} {"``Meteor'' Forschungsergeb."} +MACRO {map} {"Meteorol. Atmos. Phys."} +MACRO {metmag} {"Meteor. Mag."} +MACRO {metmon} {"Meteor. Monogr."} +MACRO {metrun} {"Meteor. Rundsch."} +MACRO {metzeit} {"Meteor. Z."} +MACRO {metgid} {"Meteor. Gidrol."} +MACRO {mwr} {"Mon. Weather Rev."} +MACRO {nwd} {"Natl. Weather Dig."} +MACRO {nzjmfr} {"New Zeal. J. Mar. Freshwater Res."} +MACRO {npg} {"Nonlin. Proc. Geophys."} +MACRO {om} {"Oceanogr. Meteorol."} +MACRO {ocac} {"Oceanol. Acta"} +MACRO {oceanus} {"Oceanus"} +MACRO {paleoc} {"Paleoceanography"} +MACRO {pce} {"Phys. Chem. Earth"} +MACRO {pmg} {"Pap. Meteor. Geophys."} +MACRO {ppom} {"Pap. Phys. Oceanogr. Meteor."} +MACRO {physzeit} {"Phys. Z."} +MACRO {pps} {"Planet. Space Sci."} +MACRO {pss} {"Planet. Space Sci."} +MACRO {pag} {"Pure Appl. Geophys."} +MACRO {qjrms} {"Quart. J. Roy. Meteorol. Soc."} +MACRO {quatres} {"Quat. Res."} +MACRO {rsci} {"Radio Sci."} +MACRO {rse} {"Remote Sens. Environ."} +MACRO {rgeo} {"Rev. Geophys."} +MACRO {rgsp} {"Rev. Geophys. Space Phys."} +MACRO {rdgeo} {"Rev. Geofis."} +MACRO {revmeta} {"Rev. Meteorol."} +MACRO {sgp}{"Surveys in Geophys."} +MACRO {sp} {"Solar Phys."} +MACRO {ssr} {"Space Sci. Rev."} +MACRO {tellus} {"Tellus"} +MACRO {tac} {"Theor. Appl. Climatol."} +MACRO {tagu} {"Trans. Am. Geophys. Union (EOS)"} +MACRO {wrr} {"Water Resour. Res."} +MACRO {weather} {"Weather"} +MACRO {wafc} {"Weather Forecast."} +MACRO {ww} {"Weatherwise"} +MACRO {wmob} {"WMO Bull."} +MACRO {zeitmet} {"Z. Meteorol."} + % End module: geojour.mbs +%% Copyright 1994-2006 Patrick W Daly +MACRO {acmcs} {"ACM Comput. Surv."} + +MACRO {acta} {"Acta Inf."} + +MACRO {cacm} {"Commun. ACM"} + +MACRO {ibmjrd} {"IBM J. Res. Dev."} + +MACRO {ibmsj} {"IBM Syst.~J."} + +MACRO {ieeese} {"IEEE Trans. Software Eng."} + +MACRO {ieeetc} {"IEEE Trans. Comput."} + +MACRO {ieeetcad} + {"IEEE Trans. Comput. Aid. Des."} + +MACRO {ipl} {"Inf. Process. Lett."} + +MACRO {jacm} {"J.~ACM"} + +MACRO {jcss} {"J.~Comput. Syst. Sci."} + +MACRO {scp} {"Sci. Comput. Program."} + +MACRO {sicomp} {"SIAM J. Comput."} + +MACRO {tocs} {"ACM Trans. Comput. Syst."} + +MACRO {tods} {"ACM Trans. Database Syst."} + +MACRO {tog} {"ACM Trans. Graphic."} + +MACRO {toms} {"ACM Trans. Math. Software"} + +MACRO {toois} {"ACM Trans. Office Inf. Syst."} + +MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."} + +MACRO {tcs} {"Theor. Comput. Sci."} + +FUNCTION {bibinfo.check} +{ swap$ + duplicate$ missing$ + { + pop$ pop$ + "" + } + { duplicate$ empty$ + { + swap$ pop$ + } + { swap$ + pop$ + } + if$ + } + if$ +} +FUNCTION {bibinfo.warn} +{ swap$ + duplicate$ missing$ + { + swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ + "" + } + { duplicate$ empty$ + { + swap$ "empty " swap$ * " in " * cite$ * warning$ + } + { swap$ + pop$ + } + if$ + } + if$ +} +INTEGERS { nameptr namesleft numnames } + + +STRINGS { bibinfo} + +FUNCTION {format.names} +{ 'bibinfo := + duplicate$ empty$ 'skip$ { + 's := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}{, jj}{, f.}" + format.name$ + bibinfo bibinfo.check + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + numnames #2 > + { "," * } + 'skip$ + if$ + t "others" = + { + " " * bbl.etal * + } + { + bbl.and + space.word * t * + } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ + } if$ +} +FUNCTION {format.names.ed} +{ + format.names +} +FUNCTION {format.key} +{ empty$ + { key field.or.null } + { "" } + if$ +} + +FUNCTION {format.authors} +{ author "author" format.names +} +FUNCTION {get.bbl.editor} +{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } + +FUNCTION {format.editors} +{ editor "editor" format.names duplicate$ empty$ 'skip$ + { + "," * + " " * + get.bbl.editor + * + } + if$ +} +FUNCTION {format.doi} +{ doi "doi" bibinfo.check + duplicate$ empty$ 'skip$ + { + "\doi{" swap$ * "}" * + } + if$ +} +FUNCTION {format.note} +{ + url empty$ + 'skip$ + { "\urlprefix\url{" url * "}" * output } + if$ + note empty$ + { "" } + { note #1 #1 substring$ + duplicate$ "{" = + 'skip$ + { output.state mid.sentence = + { "l" } + { "u" } + if$ + change.case$ + } + if$ + note #2 global.max$ substring$ * "note" bibinfo.check + } + if$ +} + +FUNCTION {format.title} +{ title + "title" bibinfo.check +} +FUNCTION {format.full.names} +{'s := + "" 't := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv~}{ll}" format.name$ + 't := + nameptr #1 > + { + namesleft #1 > + { ", " * t * } + { + s nameptr "{ll}" format.name$ duplicate$ "others" = + { 't := } + { pop$ } + if$ + t "others" = + { + " " * bbl.etal * + } + { + numnames #2 > + { "," * } + 'skip$ + if$ + bbl.and + space.word * t * + } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {author.editor.key.full} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {author.key.full} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.full.names } + if$ +} + +FUNCTION {editor.key.full} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.full.names } + if$ +} + +FUNCTION {make.full.names} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.full + { type$ "proceedings" = + 'editor.key.full + 'author.key.full + if$ + } + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem[{" write$ + label write$ + ")" make.full.names duplicate$ short.list = + { pop$ } + { * } + if$ + "}]{" * write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {if.digit} +{ duplicate$ "0" = + swap$ duplicate$ "1" = + swap$ duplicate$ "2" = + swap$ duplicate$ "3" = + swap$ duplicate$ "4" = + swap$ duplicate$ "5" = + swap$ duplicate$ "6" = + swap$ duplicate$ "7" = + swap$ duplicate$ "8" = + swap$ "9" = or or or or or or or or or +} +FUNCTION {n.separate} +{ 't := + "" + #0 'numnames := + { t empty$ not } + { t #-1 #1 substring$ if.digit + { numnames #1 + 'numnames := } + { #0 'numnames := } + if$ + t #-1 #1 substring$ swap$ * + t #-2 global.max$ substring$ 't := + numnames #5 = + { duplicate$ #1 #2 substring$ swap$ + #3 global.max$ substring$ + "\," swap$ * * + } + 'skip$ + if$ + } + while$ +} +FUNCTION {n.dashify} +{ + n.separate + 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {word.in} +{ bbl.in + ":" * + " " * } + +FUNCTION {format.date} +{ year "year" bibinfo.check duplicate$ empty$ + { + } + 'skip$ + if$ + extra.label * +} +FUNCTION {format.btitle} +{ title "title" bibinfo.check + duplicate$ empty$ 'skip$ + { + } + if$ +} +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { bbl.volume volume tie.or.space.prefix + "volume" bibinfo.check * * + series "series" bibinfo.check + duplicate$ empty$ 'pop$ + { swap$ bbl.of space.word * swap$ + emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { series empty$ + { number "number" bibinfo.check } + { output.state mid.sentence = + { bbl.number } + { bbl.number capitalize } + if$ + number tie.or.space.prefix "number" bibinfo.check * * + bbl.in space.word * + series "series" bibinfo.check * + } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition duplicate$ empty$ 'skip$ + { + output.state mid.sentence = + { "l" } + { "t" } + if$ change.case$ + "edition" bibinfo.check + " " * bbl.edition * + } + if$ +} +INTEGERS { multiresult } +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} +FUNCTION {format.pages} +{ pages duplicate$ empty$ 'skip$ + { duplicate$ multi.page.check + { + bbl.pages swap$ + n.dashify + } + { + bbl.page swap$ + } + if$ + tie.or.space.prefix + "pages" bibinfo.check + * * + } + if$ +} +FUNCTION {format.journal.pages} +{ pages duplicate$ empty$ 'pop$ + { swap$ duplicate$ empty$ + { pop$ pop$ format.pages } + { + ", " * + swap$ + n.dashify + "pages" bibinfo.check + * + } + if$ + } + if$ +} +FUNCTION {format.journal.eid} +{ eid "eid" bibinfo.check + duplicate$ empty$ 'pop$ + { swap$ duplicate$ empty$ 'skip$ + { + ", " * + } + if$ + swap$ * + } + if$ +} +FUNCTION {format.vol.num.pages} +{ volume field.or.null + duplicate$ empty$ 'skip$ + { + "volume" bibinfo.check + } + if$ + eid empty$ + { format.journal.pages } + { format.journal.eid } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pages + { type empty$ + { bbl.chapter } + { type "l" change.case$ + "type" bibinfo.check + } + if$ + chapter tie.or.space.prefix + "chapter" bibinfo.check + * * + pages empty$ + 'skip$ + { ", " * format.pages * } + if$ + } + if$ +} + +FUNCTION {format.booktitle} +{ + booktitle "booktitle" bibinfo.check +} +FUNCTION {format.in.ed.booktitle} +{ format.booktitle duplicate$ empty$ 'skip$ + { + editor "editor" format.names.ed duplicate$ empty$ 'pop$ + { + bbl.edby + " " * swap$ * + swap$ + "," * + " " * swap$ + * } + if$ + word.in swap$ * + } + if$ +} +FUNCTION {format.thesis.type} +{ type duplicate$ empty$ + 'pop$ + { swap$ pop$ + "t" change.case$ "type" bibinfo.check + } + if$ +} +FUNCTION {format.tr.number} +{ number "number" bibinfo.check + type duplicate$ empty$ + { pop$ bbl.techrep } + 'skip$ + if$ + "type" bibinfo.check + swap$ duplicate$ empty$ + { pop$ "t" change.case$ } + { tie.or.space.prefix * * } + if$ +} +FUNCTION {format.article.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} +FUNCTION {format.book.crossref} +{ volume duplicate$ empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + pop$ word.in + } + { bbl.volume + swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * + } + if$ + " \cite{" * crossref * "}" * +} +FUNCTION {format.incoll.inproc.crossref} +{ + word.in + " \cite{" * crossref * "}" * +} +FUNCTION {format.org.or.pub} +{ 't := + "" + address empty$ t empty$ and + 'skip$ + { + t empty$ + { address "address" bibinfo.check * + } + { t * + address empty$ + 'skip$ + { ", " * address "address" bibinfo.check * } + if$ + } + if$ + } + if$ +} +FUNCTION {format.publisher.address} +{ publisher "publisher" bibinfo.warn format.org.or.pub +} + +FUNCTION {format.organization.address} +{ organization "organization" bibinfo.check format.org.or.pub +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + author format.key output + add.colon + format.title "title" output.check + crossref missing$ + { + journal + "journal" bibinfo.check + "journal" output.check + format.vol.num.pages output + format.doi output + } + { format.article.crossref output.nonnull + format.pages output + } + if$ + format.note output + format.date "year" output.check + fin.entry +} +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output + add.colon + } + { format.authors output.nonnull + add.colon + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.btitle "title" output.check + crossref missing$ + { format.bvolume output + format.number.series output + format.publisher.address output + } + { + format.book.crossref output.nonnull + } + if$ + format.edition output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} +FUNCTION {booklet} +{ output.bibitem + format.authors output + author format.key output + add.colon + format.title "title" output.check + howpublished "howpublished" bibinfo.check output + address "address" bibinfo.check output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check + editor format.key output + add.colon + } + { format.authors output.nonnull + add.colon + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + format.btitle "title" output.check + crossref missing$ + { + format.bvolume output + format.chapter.pages "chapter and pages" output.check + format.number.series output + format.publisher.address output + } + { + format.chapter.pages "chapter and pages" output.check + format.book.crossref output.nonnull + } + if$ + format.edition output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + author format.key output + add.colon + format.title "title" output.check + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.chapter.pages output + format.publisher.address output + format.edition output + } + { format.incoll.inproc.crossref output.nonnull + format.chapter.pages output + } + if$ + format.doi output + format.note output + format.date "year" output.check + fin.entry +} +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + author format.key output + add.colon + format.title "title" output.check + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.bvolume output + format.number.series output + format.pages output + publisher empty$ + { format.organization.address output } + { organization "organization" bibinfo.check output + format.publisher.address output + } + if$ + } + { format.incoll.inproc.crossref output.nonnull + format.pages output + } + if$ + format.doi output + format.note output + format.date "year" output.check + fin.entry +} +FUNCTION {conference} { inproceedings } +FUNCTION {manual} +{ output.bibitem + format.authors output + author format.key output + add.colon + format.btitle "title" output.check + organization "organization" bibinfo.check output + address "address" bibinfo.check output + format.edition output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output + add.colon + format.btitle + "title" output.check + bbl.mthesis format.thesis.type output.nonnull + school "school" bibinfo.warn output + address "address" bibinfo.check output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + author format.key output + add.colon + format.title output + howpublished "howpublished" bibinfo.check output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + author format.key output + add.colon + format.btitle + "title" output.check + bbl.phdthesis format.thesis.type output.nonnull + school "school" bibinfo.warn output + address "address" bibinfo.check output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + format.editors output + editor format.key output + add.colon + format.btitle "title" output.check + format.bvolume output + format.number.series output + publisher empty$ + { format.organization.address output } + { organization "organization" bibinfo.check output + format.publisher.address output + } + if$ + format.doi output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + author format.key output + add.colon + format.title + "title" output.check + format.tr.number output.nonnull + institution "institution" bibinfo.warn output + address "address" bibinfo.check output + format.doi output + format.note output + format.date "year" output.check + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + author format.key output + add.colon + format.title "title" output.check + format.doi output + format.note "note" output.check + format.date output + fin.entry +} + +FUNCTION {default.type} { misc } +READ +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} +INTEGERS { len } +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} +FUNCTION {format.lab.names} +{ 's := + "" 't := + s #1 "{vv~}{ll}" format.name$ + s num.names$ duplicate$ + #2 > + { pop$ + " " * bbl.etal * + } + { #2 < + 'skip$ + { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { + " " * bbl.etal * + } + { bbl.and space.word * s #2 "{vv~}{ll}" format.name$ + * } + if$ + } + if$ + } + if$ +} + +FUNCTION {author.key.label} +{ author empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {author.editor.key.label} +{ author empty$ + { editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ + } + { author format.lab.names } + if$ +} + +FUNCTION {editor.key.label} +{ editor empty$ + { key empty$ + { cite$ #1 #3 substring$ } + 'key + if$ + } + { editor format.lab.names } + if$ +} + +FUNCTION {calc.short.authors} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.key.label + { type$ "proceedings" = + 'editor.key.label + 'author.key.label + if$ + } + if$ + 'short.list := +} + +FUNCTION {calc.label} +{ calc.short.authors + short.list + "(" + * + year duplicate$ empty$ + short.list key field.or.null = or + { pop$ "" } + 'skip$ + if$ + * + 'label := +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr + "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" + format.name$ 't := + nameptr #1 > + { + " " * + namesleft #1 = t "others" = and + { "zzzzz" * } + { numnames #2 > nameptr #2 = and + { "zz" * year field.or.null * " " * } + 'skip$ + if$ + t sortify * + } + if$ + } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} +FUNCTION {editor.sort} +{ editor empty$ + { key empty$ + { "to sort, need editor or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ +} +FUNCTION {presort} +{ calc.label + label sortify + " " + * + type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.sort + 'author.sort + if$ + } + if$ + #1 entry.max$ substring$ + 'sort.label := + sort.label + * + " " + * + cite$ + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} +SORT +STRINGS { last.label next.extra } +INTEGERS { last.extra.num number.label } +FUNCTION {initialize.extra.label.stuff} +{ #0 int.to.chr$ 'last.label := + "" 'next.extra := + #0 'last.extra.num := + #0 'number.label := +} +FUNCTION {forward.pass} +{ last.label label = + { last.extra.num #1 + 'last.extra.num := + last.extra.num int.to.chr$ 'extra.label := + } + { "a" chr.to.int$ 'last.extra.num := + "" 'extra.label := + label 'last.label := + } + if$ + number.label #1 + 'number.label := +} +FUNCTION {reverse.pass} +{ next.extra "b" = + { "a" 'extra.label := } + 'skip$ + if$ + extra.label 'next.extra := + extra.label + duplicate$ empty$ + 'skip$ + { "{\natexlab{" swap$ * "}}" * } + if$ + 'extra.label := + label extra.label * 'label := +} +EXECUTE {initialize.extra.label.stuff} +ITERATE {forward.pass} +REVERSE {reverse.pass} +FUNCTION {bib.sort.order} +{ sort.label + " " + * + year field.or.null sortify + * + " " + * + cite$ + * + #1 entry.max$ substring$ + 'sort.key$ := +} +ITERATE {bib.sort.order} +SORT +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" number.label int.to.str$ * "}" * + write$ newline$ + "\providecommand{\natexlab}[1]{#1}" + write$ newline$ + "\providecommand{\url}[1]{{\tt #1}}" + write$ newline$ + "\providecommand{\urlprefix}{URL }" + write$ newline$ + "\expandafter\ifx\csname urlstyle\endcsname\relax" + write$ newline$ + " \providecommand{\doi}[1]{https://doi.org/\discretionary{}{}{}#1}\else" + write$ newline$ + " \providecommand{\doi}{https://doi.org/\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi" + write$ newline$ +} +EXECUTE {begin.bib} +EXECUTE {init.state.consts} +ITERATE {call.type$} +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} +EXECUTE {end.bib} +%% End of customized bst file +%% +%% End of file `copernicus.bst'. diff --git a/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cfg b/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cfg new file mode 100644 index 000000000..0a149bbbd --- /dev/null +++ b/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cfg @@ -0,0 +1,889 @@ +\newif\ifprp \DeclareOption{prp} {\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue \@bartrue \prptrue} +\newif\ifgtes \DeclareOption{gtes} {\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue \@bartrue \gtestrue} +\newif\ifcopyediting \DeclareOption{copyediting}{\copyeditingtrue\@noreftrue} +\newif\ifgc \DeclareOption{gc}{\@sansseriffacetrue\@sansserifheadertrue\@twostagejnltrue\gctrue} + \DeclareOption{gcd}{\@sansseriffacetrue\@sansserifheadertrue\@stage@finalfalse\gctrue} +\newif\ifegqsj \DeclareOption{egqsj}{\@sansseriffacetrue\@sansserifheadertrue\@abstractindentedtrue\@bartrue\@seclinetrue\egqsjtrue} +\newif\ifjm \DeclareOption{jm}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\jmtrue} +\newif\ifwes \DeclareOption{wes}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@twostagejnltrue\westrue} + \DeclareOption{wesd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@stage@finalfalse\westrue} +\newif\ifaab \DeclareOption{aab}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\aabtrue} +\newif\ifpiahs \DeclareOption{piahs}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\piahstrue} +\newif\ifascmo \DeclareOption{ascmo}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@corrigendumtrue\@editorialnotetwoctrue\ascmotrue} +\newif\ifpb \DeclareOption{pb}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\pbtrue} +\newif\ifap \DeclareOption{ap}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\aptrue} +\newif\ifsoil \DeclareOption{soil}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@twostagejnltrue\soiltrue} + \DeclareOption{soild}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@stage@finalfalse\soiltrue} +\newif\ifangeocom \DeclareOption{angeocom}{\@bartrue\angeocomtrue} +\newif\ifwe \DeclareOption{we}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\wetrue} +\newif\ifsdpd \DeclareOption{sdpd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\sdpdtrue} +\newif\ifsdwr \DeclareOption{sdwr}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\sdwrtrue} +\newif\ifsdtd \DeclareOption{sdtd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\sdtdtrue} +\newif\ifsdpr \DeclareOption{sdpr}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\sdprtrue} +\newif\ifsdsr \DeclareOption{sdsr}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\sdsrtrue} +\newif\ifasr \DeclareOption{asr}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\asrtrue} +\newif\ifms \DeclareOption{ms}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\mstrue} +\newif\ifjsss \DeclareOption{jsss}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\jssstrue} +\newif\ifhgss \DeclareOption{hgss}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\hgsstrue} +\newif\ifgh \DeclareOption{gh}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\ghtrue} +\newif\ifesurf \DeclareOption{esurf}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@twostagejnltrue\esurftrue} + \DeclareOption{esurfd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@stage@finalfalse\esurftrue} +\newif\ifessd \DeclareOption{essd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@twostagejnltrue\essdtrue} + \DeclareOption{essdd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@stage@finalfalse\essdtrue} +\newif\ifdwes \DeclareOption{dwes}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@twostagejnltrue\dwestrue} + \DeclareOption{dwesd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@stage@finalfalse\dwestrue} +\newif\iftc \DeclareOption{tc}{\@twostagejnltrue\tctrue} + \DeclareOption{tcd}{\@stage@finalfalse\tctrue} +\newif\ifsmsps \DeclareOption{smsps}{\smspstrue} +\newif\ifse \DeclareOption{se}{\@bartrue\@twostagejnltrue\setrue} + \DeclareOption{sed}{\@bartrue\@stage@finalfalse\setrue} +\newif\ifos \DeclareOption{os}{\@twostagejnltrue\ostrue} + \DeclareOption{osd}{\@stage@finalfalse\ostrue} +\newif\ifnpg \DeclareOption{npg}{\@editorialnotedtrue\@twostagejnltrue\npgtrue} + \DeclareOption{npgd}{\@stage@finalfalse\npgtrue} +\newif\ifnhess \DeclareOption{nhess}{\@editorialnotedtrue\@twostagejnltrue\nhesstrue} + \DeclareOption{nhessd}{\@stage@finalfalse\nhesstrue} +\newif\ifhess \DeclareOption{hess}{\@twostagejnltrue\hesstrue} + \DeclareOption{hessd}{\@stage@finalfalse\hesstrue} +\newif\ifgmd \DeclareOption{gmd}{\@twostagejnltrue\gmdtrue} + \DeclareOption{gmdd}{\@stage@finalfalse\gmdtrue} +\newif\ifgi \DeclareOption{gi}{\@corrigendumtrue\@editorialnotetwoctrue\@editorialnotedtrue\@twostagejnltrue\gitrue} + \DeclareOption{gid}{\@stage@finalfalse\gitrue} +\newif\ifesd \DeclareOption{esd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@twostagejnltrue\esdtrue} + \DeclareOption{esdd}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\@stage@finalfalse\esdtrue} +\newif\ifcp \DeclareOption{cp}{\@sansseriffacetrue\@sansserifheadertrue\@twostagejnltrue\cptrue} + \DeclareOption{cpd}{\@sansseriffacetrue\@sansserifheadertrue\@stage@finalfalse\cptrue} +\newif\ifastra \DeclareOption{astra}{\astratrue} +\newif\ifars \DeclareOption{ars}{\arstrue} +\newif\ifangeo \DeclareOption{angeo}{\angeotrue} +\newif\ifamt \DeclareOption{amt}{\@twostagejnltrue\amttrue} + \DeclareOption{amtd}{\@stage@finalfalse\amttrue} +\newif\ifadgeo \DeclareOption{adgeo}{\adgeotrue} +\newif\iffr \DeclareOption{fr}{\frtrue} +\newif\ifbg \DeclareOption{bg}{\@twostagejnltrue\bgtrue} + \DeclareOption{bgd}{\@stage@finalfalse\bgtrue} +\newif\ifacp \DeclareOption{acp}{\@twostagejnltrue\acptrue} + \DeclareOption{acpd}{\@stage@finalfalse\acptrue} + + + +\def\@addjournalconfig{% + + +\ifcopyediting% Definition of layout used for copy-editing track changes document + \def\@journalurl{} + \def\@sentence{\textcolor[rgb]{1,0.58,0.25}{% + Copy-Editing track changes document -- Do not use for proof-reading}} + \let\@journalnameabbreviation\@sentence + \if@sansserifface + \definecolor{textcol}{rgb}{0,0,0} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{gray}{0.8} + \definecolor{rulecol}{gray}{0.8} + \fi +\fi + +\ifacp%classical + \def\@journalname{Atmospheric Chemistry and Physics} + \def\@journalnameabbreviation{Atmos. Chem. Phys.} + \def\@journalnameshort{ACP} + \def\@journalnameshortlower{acp} + \def\@journalstartyear{2001} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.atmos-chem-phys.net} + \def\@journallogo{\includegraphics{ACP_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.atmos-chem-phys-discuss.net} + \def\@journallogo{\includegraphics{ACPD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Atmospheric Chemistry\\ and Physics (ACP). Please refer to the corresponding final paper in ACP if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.0,0.58,0.91} + \definecolor{buttonbackground}{rgb}{0.0,0.58,0.91} + \definecolor{paneltext}{rgb}{0.0,0.58,0.91} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifbg%classical + \def\@journalname{Biogeosciences} + \def\@journalnameabbreviation{Biogeosciences} + \def\@journalnameshort{BG} + \def\@journalnameshortlower{bg} + \def\@journalstartyear{2004} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.biogeosciences.net} + \def\@journallogo{\includegraphics{BG_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.biogeosciences-discuss.net} + \def\@journallogo{\includegraphics{BGD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Biogeosciences (BG).\\ Please refer to the corresponding final paper in BG if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.612,0.698,0.145} + \definecolor{buttonbackground}{rgb}{0.612,0.698,0.145} + \definecolor{paneltext}{rgb}{0.612,0.698,0.145} + \definecolor{buttontext}{rgb}{0.612,0.0,0.055} + \fi + \fi +\fi +\iffr%classical + \def\@journalname{Fossil Record} + \def\@journalnameabbreviation{Foss. Rec.} + \def\@journalnameshort{FR} + \def\@journalnameshortlower{fr} + \def\@journalstartyear{1998} + \def\@sentence{Published by Copernicus Publications on behalf of the Museum f{\"u}r Naturkunde Berlin.} + \def\@journalurl{www.foss-rec.net} + \def\@journallogo{\includegraphics{FR_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifadgeo%classical + \def\@journalname{Advances in Geosciences} + \def\@journalnameabbreviation{Adv. Geosci.} + \def\@journalnameshort{ADGEO} + \def\@journalnameshortlower{adgeo} + \def\@journalstartyear{2013} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \def\@journalurl{www.adv-geosci.net} + \def\@journallogo{\includegraphics{ADGEO_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifamt%classical + \def\@journalname{Atmospheric Measurement Techniques} + \def\@journalnameabbreviation{Atmos. Meas. Tech.} + \def\@journalnameshort{AMT} + \def\@journalnameshortlower{amt} + \def\@journalstartyear{2008} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.atmos-meas-tech.net} + \def\@journallogo{\includegraphics{AMT_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.atmos-meas-tech-discuss.net} + \def\@journallogo{\includegraphics{AMTD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Atmospheric Measurement\\ Techniques (AMT). Please refer to the corresponding final paper in AMT if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.0,0.259,0.475} + \definecolor{buttonbackground}{rgb}{0.0,0.259,0.475} + \definecolor{paneltext}{rgb}{0.0,0.259,0.475} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifangeo%classical + \def\@journalname{Annales Geophysicae} + \def\@journalnameabbreviation{Ann. Geophys.} + \def\@journalnameshort{ANGEO} + \def\@journalnameshortlower{angeo} + \def\@journalstartyear{1983} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \def\@journalurl{www.ann-geophys.net} + \def\@journallogo{\includegraphics{ANGEO_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifars%classical + \def\@journalname{Advances in Radio Sciences} + \def\@journalnameabbreviation{Adv. Radio Sci.} + \def\@journalnameshort{ARS} + \def\@journalnameshortlower{ars} + \def\@journalstartyear{2003} + \def\@sentence{Published by Copernicus Publications on behalf of the URSI Landesausschuss in der Bundesrepublik Deutschland e.V.} + \def\@journalurl{www.adv-radio-sci.net} + \def\@journallogo{\includegraphics{ARS_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifastra%classical + \def\@journalname{Astrophysics and Space Sciences Transactions} + \def\@journalnameabbreviation{Astrophys. Space Sci. Trans.} + \def\@journalnameshort{ASTRA} + \def\@journalnameshortlower{astra} + \def\@journalstartyear{2004} + \def\@sentence{Published by Copernicus Publications on behalf of the Arbeitsgemeinschaft Extraterrestrische Forschung e.V.} + \def\@journalurl{www.astrophys-space-sci-trans.net} + \def\@journallogo{} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifcp%classical + \def\@journalname{Climate of the Past} + \def\@journalnameabbreviation{Clim. Past} + \def\@journalnameshort{CP} + \def\@journalnameshortlower{cp} + \def\@journalstartyear{2005} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.clim-past.net} + \def\@journallogo{\includegraphics{CP_Logo.pdf}} + \definecolor{textcol}{rgb}{0.357,0.039,0.475} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.clim-past-discuss.net} + \def\@journallogo{\includegraphics{CPD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Climate of the Past (CP).\\ Please refer to the corresponding final paper in CP if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.357,0.039,0.475} + \definecolor{buttonbackground}{rgb}{0.357,0.039,0.475} + \definecolor{paneltext}{rgb}{0.357,0.039,0.475} + \definecolor{buttontext}{rgb}{1.0,0.796,0.02} + \fi + \fi +\fi +\ifesd%classical + \def\@journalname{Earth System Dynamics} + \def\@journalnameabbreviation{Earth Syst. Dynam.} + \def\@journalnameshort{ESD} + \def\@journalnameshortlower{esd} + \def\@journalstartyear{2010} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.earth-syst-dynam.net} + \def\@journallogo{\includegraphics{ESD_Logo.pdf}} + \definecolor{textcol}{rgb}{0.0,0.224,0.455} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.0,0.224,0.455} + \else + \def\@journalurl{www.earth-syst-dynam-discuss.net} + \def\@journallogo{\includegraphics{ESDD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Earth System\\ Dynamics (ESD). Please refer to the corresponding final paper in ESD if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.0,0.224,0.455} + \definecolor{buttonbackground}{rgb}{0.0,0.224,0.455} + \definecolor{paneltext}{rgb}{0.0,0.224,0.455} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifgi%classical + \def\@journalname{Geoscientific Instrumentation, Methods and Data Systems} + \def\@journalnameabbreviation{Geosci. Instrum. Method. Data Syst.} + \def\@journalnameshort{GI} + \def\@journalnameshortlower{gi} + \def\@journalstartyear{2012} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.geosci-instrum-method-data-syst.net} + \def\@journallogo{\includegraphics{GI_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.geosci-instrum-method-data-syst-discuss.net} + \def\@journallogo{\includegraphics{GID_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Geoscientific Instrumentation,\\ Methods and Data Systems (GI). Please refer to the corresponding final paper in GI if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.012,0.306,0.635} + \definecolor{buttonbackground}{rgb}{0.635,0.635,0.635} + \definecolor{paneltext}{rgb}{0.012,0.306,0.635} + \definecolor{buttontext}{rgb}{0.012,0.306,0.635} + \fi + \fi +\fi +\ifgmd%classical + \def\@journalname{Geoscientific Model Development} + \def\@journalnameabbreviation{Geosci. Model Dev.} + \def\@journalnameshort{GMD} + \def\@journalnameshortlower{gmd} + \def\@journalstartyear{2008} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.geosci-model-dev.net} + \def\@journallogo{\includegraphics{GMD_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.geosci-model-dev-discuss.net} + \def\@journallogo{\includegraphics{GMDD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Geoscientific Model\\ Development (GMD). Please refer to the corresponding final paper in GMD if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.973,0.584,0.055} + \definecolor{buttonbackground}{rgb}{0.973,0.584,0.055} + \definecolor{paneltext}{rgb}{0.973,0.584,0.055} + \definecolor{buttontext}{rgb}{0.769,0.086,0.11} + \fi + \fi +\fi +\ifhess%classical + \def\@journalname{Hydrology and Earth System Sciences} + \def\@journalnameabbreviation{Hydrol. Earth Syst. Sci.} + \def\@journalnameshort{HESS} + \def\@journalnameshortlower{hess} + \def\@journalstartyear{1997} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.hydrol-earth-syst-sci.net} + \def\@journallogo{\includegraphics{HESS_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.hydrol-earth-syst-sci-discuss.net} + \def\@journallogo{\includegraphics{HESSD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Hydrology and Earth System\\ Sciences (HESS). Please refer to the corresponding final paper in HESS if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.38,0.643,0.161} + \definecolor{buttonbackground}{rgb}{0.38,0.643,0.161} + \definecolor{paneltext}{rgb}{0.38,0.643,0.161} + \definecolor{buttontext}{rgb}{0.122,0.153,0.498} + \fi + \fi +\fi +\ifnhess%classical + \def\@journalname{Natural Hazards and Earth System Sciences} + \def\@journalnameabbreviation{Nat. Hazards Earth Syst. Sci.} + \def\@journalnameshort{NHESS} + \def\@journalnameshortlower{nhess} + \def\@journalstartyear{2001} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.nat-hazards-earth-syst-sci.net} + \def\@journallogo{\includegraphics{NHESS_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.nat-hazards-earth-syst-sci-discuss.net} + \def\@journallogo{\includegraphics{NHESSD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Natural Hazards and Earth\\ System Sciences (NHESS). Please refer to the corresponding final paper in NHESS if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.263,0.416,0.702} + \definecolor{buttonbackground}{rgb}{0.69,0.639,0.576} + \definecolor{paneltext}{rgb}{0.263,0.416,0.702} + \definecolor{buttontext}{rgb}{0.263,0.416,0.702} + \fi + \fi +\fi +\ifnpg%classical + \def\@journalname{Nonlinear Processes in Geophysics} + \def\@journalnameabbreviation{Nonlin. Processes Geophys.} + \def\@journalnameshort{NPG} + \def\@journalnameshortlower{npg} + \def\@journalstartyear{1994} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union \& the American Geophysical Union.} + \if@stage@final + \def\@journalurl{www.nonlin-processes-geophys.net} + \def\@journallogo{\includegraphics{NPG_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.nonlin-processes-geophys-discuss.net} + \def\@journallogo{\includegraphics{NPGD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Nonlinear Processes\\ in Geophysics (NPG). Please refer to the corresponding final paper in NPG if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.102,0.278,0.6} + \definecolor{buttonbackground}{rgb}{0.996,0.749,0.004} + \definecolor{paneltext}{rgb}{0.102,0.278,0.6} + \definecolor{buttontext}{rgb}{0.102,0.278,0.6} + \fi + \fi +\fi +\ifos%classical + \def\@journalname{Ocean Science} + \def\@journalnameabbreviation{Ocean Sci.} + \def\@journalnameshort{OS} + \def\@journalnameshortlower{os} + \def\@journalstartyear{2005} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.ocean-sci.net} + \def\@journallogo{\includegraphics{OS_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.ocean-sci-discuss.net} + \def\@journallogo{\includegraphics{OSD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Ocean Science (OS).\\ Please refer to the corresponding final paper in OS if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.039,0.282,0.494} + \definecolor{buttonbackground}{rgb}{0.039,0.282,0.494} + \definecolor{paneltext}{rgb}{0.039,0.282,0.494} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifse%classical + \def\@journalname{Solid Earth} + \def\@journalnameabbreviation{Solid Earth} + \def\@journalnameshort{SE} + \def\@journalnameshortlower{se} + \def\@journalstartyear{2010} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.solid-earth.net} + \def\@journallogo{\includegraphics{SE_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.solid-earth-discuss.net} + \def\@journallogo{\includegraphics{SED_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Solid Earth (SE).\\ Please refer to the corresponding final paper in SE if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.482,0.349,0.259} + \definecolor{buttonbackground}{rgb}{0.482,0.349,0.259} + \definecolor{paneltext}{rgb}{0.482,0.349,0.259} + \definecolor{buttontext}{rgb}{0.98,0.922,0.835} + \fi + \fi +\fi +\ifsmsps%classical + \def\@journalname{Stephan Mueller Special Publication Series} + \def\@journalnameabbreviation{Stephan Mueller Spec. Publ. Ser.} + \def\@journalnameshort{SMSPS} + \def\@journalnameshortlower{smsps} + \def\@journalstartyear{2002} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \def\@journalurl{www.stephan-mueller-spec-publ-ser.net} + \def\@journallogo{\includegraphics{SMSPS_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\iftc%classical + \def\@journalname{The Cryosphere} + \def\@journalnameabbreviation{The Cryosphere} + \def\@journalnameshort{TC} + \def\@journalnameshortlower{tc} + \def\@journalstartyear{2007} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.the-cryosphere.net} + \def\@journallogo{\includegraphics{TC_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.the-cryosphere-discuss.net} + \def\@journallogo{\includegraphics{TCD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal The Cryosphere (TC).\\ Please refer to the corresponding final paper in TC if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.341,0.596,0.824} + \definecolor{buttonbackground}{rgb}{0.341,0.596,0.824} + \definecolor{paneltext}{rgb}{0.341,0.596,0.824} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifdwes%classical + \def\@journalname{Drinking Water Engineering and Science Discussions} + \def\@journalnameabbreviation{Drink. Water Eng. Sci.} + \def\@journalnameshort{DWES} + \def\@journalnameshortlower{dwes} + \def\@journalstartyear{2008} + \def\@sentence{Published by Copernicus Publications on behalf of the Delft University of Technology.} + \if@stage@final + \def\@journalurl{www.drink-water-eng-sci.net} + \def\@journallogo{\includegraphics{DWES_Logo.pdf}} + \definecolor{textcol}{rgb}{0.0,0.0,0.0} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{0.0,0.0,0.0} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.drink-water-eng-sci-discuss.net} + \def\@journallogo{\includegraphics{DWESD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Drinking Water Engineering and\\ Science (DWES). Please refer to the corresponding final paper in DWES if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.0,0.49,0.761} + \definecolor{buttonbackground}{rgb}{0.0,0.49,0.761} + \definecolor{paneltext}{rgb}{0.0,0.49,0.761} + \definecolor{buttontext}{rgb}{0.682,0.824,0.31} + \fi + \fi +\fi +\ifessd%classical + \def\@journalname{Earth System Science Data} + \def\@journalnameabbreviation{Earth Syst. Sci. Data} + \def\@journalnameshort{ESSD} + \def\@journalnameshortlower{essd} + \def\@journalstartyear{2009} + \def\@sentence{Published by Copernicus Publications.} + \if@stage@final + \def\@journalurl{www.earth-syst-sci-data.net} + \def\@journallogo{\includegraphics{ESSD_Logo.pdf}} + \definecolor{textcol}{rgb}{0.102,0.4,0.573} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.earth-syst-sci-data-discuss.net} + \def\@journallogo{\includegraphics{ESSDD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Earth System Science\\ Data (ESSD). Please refer to the corresponding final paper in ESSD if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.102,0.4,0.573} + \definecolor{buttonbackground}{rgb}{0.102,0.4,0.573} + \definecolor{paneltext}{rgb}{0.102,0.4,0.573} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifesurf%classical + \def\@journalname{Earth Surface Dynamics} + \def\@journalnameabbreviation{Earth Surf. Dynam.} + \def\@journalnameshort{ESURF} + \def\@journalnameshortlower{esurf} + \def\@journalstartyear{2013} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.earth-surf-dynam.net} + \def\@journallogo{\includegraphics{ESURF_Logo.pdf}} + \definecolor{textcol}{rgb}{0.541,0.549,0.557} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.earth-surf-dynam-discuss.net} + \def\@journallogo{\includegraphics{ESURFD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Earth Surface Dynamics (ESurfD).\\ Please refer to the corresponding final paper in ESurf if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.0,0.0,0.0} + \definecolor{buttonbackground}{rgb}{0.541,0.549,0.557} + \definecolor{paneltext}{rgb}{0.0,0.0,0.0} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifgh%classical + \def\@journalname{Geographica Helvetica} + \def\@journalnameabbreviation{Geogr. Helv.} + \def\@journalnameshort{GH} + \def\@journalnameshortlower{gh} + \def\@journalstartyear{1946} + \def\@sentence{\small Published by Copernicus Publications for the Geographisch-Ethnographische Gesellschaft Z\"urich \& Association Suisse de G\'eographie.} + \def\@journalurl{www.geogr-helv.net} + \def\@journallogo{\includegraphics{GH_Logo.pdf}} + \definecolor{textcol}{rgb}{0.569,0.58,0.588} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.569,0.58,0.588} +\fi +\ifhgss%classical + \def\@journalname{History of Geo- and Space Sciences} + \def\@journalnameabbreviation{Hist. Geo Space Sci.} + \def\@journalnameshort{HGSS} + \def\@journalnameshortlower{hgss} + \def\@journalstartyear{2010} + \def\@sentence{Published by Copernicus Publications.} + \def\@journalurl{www.hist-geo-space-sci.net} + \def\@journallogo{\includegraphics{HGSS_Logo.pdf}} + \definecolor{textcol}{rgb}{0.0,0.443,0.706} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.0,0.443,0.706} +\fi +\ifjsss%classical + \def\@journalname{Journal of Sensors and Sensor Systems} + \def\@journalnameabbreviation{J. Sens. Sens. Syst.} + \def\@journalnameshort{JSSS} + \def\@journalnameshortlower{jsss} + \def\@journalstartyear{2012} + \def\@sentence{Published by Copernicus Publications on behalf of the AMA Association for Sensor Technology.} + \def\@journalurl{www.j-sens-sens-syst.net} + \def\@journallogo{\includegraphics{JSSS_Logo.pdf}} + \definecolor{textcol}{rgb}{0.051,0.298,0.561} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.051,0.298,0.561} +\fi +\ifms%classical + \def\@journalname{Mechanical Sciences} + \def\@journalnameabbreviation{Mech. Sci.} + \def\@journalnameshort{MS} + \def\@journalnameshortlower{ms} + \def\@journalstartyear{2010} + \def\@sentence{Published by Copernicus Publications.} + \def\@journalurl{www.mech-sci.net} + \def\@journallogo{\includegraphics{MS_Logo.pdf}} + \definecolor{textcol}{rgb}{0.471,0.655,0.808} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{0.0,0.0,0.0} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifasr%classical + \def\@journalname{Advances in Science and Research} + \def\@journalnameabbreviation{Adv. Sci. Res.} + \def\@journalnameshort{ASR} + \def\@journalnameshortlower{asr} + \def\@journalstartyear{2007} + \def\@sentence{Published by Copernicus Publications.} + \def\@journalurl{www.adv-sci-res.net} + \def\@journallogo{\includegraphics{ASR_Logo.pdf}} + \definecolor{textcol}{rgb}{0.004,0.302,0.545} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.004,0.302,0.545} +\fi +\ifsdsr%classical + \def\@journalname{Scientific Drilling - Science Reports} + \def\@journalnameabbreviation{Sci. Dril.} + \def\@journalnameshort{SD} + \def\@journalnameshortlower{sd} + \def\@journalstartyear{2013} + \def\@sentence{Published by Copernicus Publications on behalf of the IODP and the ICDP.} + \def\@journalurl{www.sci-dril.net} + \def\@journallogo{\includegraphics{SD_Logo.pdf}} + \definecolor{textcol}{rgb}{0.075,0.239,0.553} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.075,0.239,0.553} +\fi +\ifsdpr%classical + \def\@journalname{Scientific Drilling - Progress Reports} + \def\@journalnameabbreviation{Sci. Dril.} + \def\@journalnameshort{SD} + \def\@journalnameshortlower{sd} + \def\@journalstartyear{2013} + \def\@sentence{Published by Copernicus Publications on behalf of the IODP and the ICDP.} + \def\@journalurl{www.sci-dril.net} + \def\@journallogo{\includegraphics{SD_Logo.pdf}} + \definecolor{textcol}{rgb}{0.906,0.651,0.278} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.906,0.651,0.278} +\fi +\ifsdtd%classical + \def\@journalname{Scientific Drilling - Technical Developments} + \def\@journalnameabbreviation{Sci. Dril.} + \def\@journalnameshort{SD} + \def\@journalnameshortlower{sd} + \def\@journalstartyear{2013} + \def\@sentence{Published by Copernicus Publications on behalf of the IODP and the ICDP.} + \def\@journalurl{www.sci-dril.net} + \def\@journallogo{\includegraphics{SD_Logo.pdf}} + \definecolor{textcol}{rgb}{0.722,0.094,0.141} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{0.722,0.094,0.141} +\fi +\ifsdwr%classical + \def\@journalname{Scientific Drilling - Workshop Reports} + \def\@journalnameabbreviation{Sci. Dril.} + \def\@journalnameshort{SD} + \def\@journalnameshortlower{sd} + \def\@journalstartyear{2013} + \def\@sentence{Published by Copernicus Publications on behalf of the IODP and the ICDP.} + \def\@journalurl{www.sci-dril.net} + \def\@journallogo{\includegraphics{SD_Logo.pdf}} + \definecolor{textcol}{rgb}{0.486,0.298,0.216} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.486,0.298,0.216} +\fi +\ifsdpd%classical + \def\@journalname{Scientific Drilling - Program Developments} + \def\@journalnameabbreviation{Sci. Dril.} + \def\@journalnameshort{SD} + \def\@journalnameshortlower{sd} + \def\@journalstartyear{2013} + \def\@sentence{Published by Copernicus Publications on behalf of the IODP and the ICDP.} + \def\@journalurl{www.sci-dril.net} + \def\@journallogo{\includegraphics{SD_Logo.pdf}} + \definecolor{textcol}{rgb}{0.027,0.498,0.325} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.027,0.498,0.325} +\fi +\ifwe%classical + \def\@journalname{Web Ecology} + \def\@journalnameabbreviation{Web Ecol.} + \def\@journalnameshort{WE} + \def\@journalnameshortlower{we} + \def\@journalstartyear{2001} + \def\@sentence{Published by Copernicus Publications on behalf of the European Ecological Federation (EEF).} + \def\@journalurl{www.web-ecol.net} + \def\@journallogo{\includegraphics{WE_Logo.pdf}} + \definecolor{textcol}{rgb}{0.2,0.6,0.2} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.2,0.6,0.2} +\fi +\ifangeocom%classical + \def\@journalname{AnGeo Communicates} + \def\@journalnameabbreviation{Ann. Geophys.} + \def\@journalnameshort{ANGEOCOM} + \def\@journalnameshortlower{angeo} + \def\@journalstartyear{1983} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \def\@journalurl{www.ann-geophys.net} + \def\@journallogo{\includegraphics{ANGEO_Logo.pdf}} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{0.851,0.851,0.851} + \definecolor{rulecol}{rgb}{0.0,0.0,0.0} +\fi +\ifsoil%classical + \def\@journalname{SOIL} + \def\@journalnameabbreviation{SOIL} + \def\@journalnameshort{SOIL} + \def\@journalnameshortlower{soil} + \def\@journalstartyear{2015} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.soil-journal.net} + \def\@journallogo{\includegraphics{SOIL_Logo.pdf}} + \definecolor{textcol}{rgb}{0.29,0.267,0.165} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.29,0.267,0.165} + \else + \def\@journalurl{www.soil-discuss.net} + \def\@journallogo{\includegraphics{SOILD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal SOIL. Please refer to the\\ corresponding final paper in SOIL if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.29,0.267,0.165} + \definecolor{buttonbackground}{rgb}{0.29,0.267,0.165} + \definecolor{paneltext}{rgb}{0.29,0.267,0.165} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi +\ifap%classical + \def\@journalname{ASTRA Proceedings} + \def\@journalnameabbreviation{ASTRA Proc.} + \def\@journalnameshort{AP} + \def\@journalnameshortlower{ap} + \def\@journalstartyear{2014} + \def\@sentence{Published by Copernicus Publications.} + \def\@journalurl{www.astra-proceedings.net} + \def\@journallogo{\includegraphics{AP_Logo.pdf}} + \definecolor{textcol}{rgb}{0.094,0.259,0.647} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.094,0.259,0.647} +\fi +\ifpb%classical + \def\@journalname{Primate Biology} + \def\@journalnameabbreviation{Primate Biol.} + \def\@journalnameshort{PB} + \def\@journalnameshortlower{pb} + \def\@journalstartyear{2014} + \def\@sentence{Published by Copernicus Publications on behalf of the Deutsches Primatenzentrum GmbH (DPZ).} + \def\@journalurl{www.primate-biol.net} + \def\@journallogo{\includegraphics{PB_Logo.pdf}} + \definecolor{textcol}{rgb}{0.0,0.0,0.0} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{0.0,0.0,0.0} +\fi +\ifascmo%classical + \def\@journalname{Advances in Statistical Climatology, Meteorology and Oceanography} + \def\@journalnameabbreviation{Adv. Stat. Clim. Meteorol. Oceanogr.} + \def\@journalnameshort{ASCMO} + \def\@journalnameshortlower{ascmo} + \def\@journalstartyear{2015} + \def\@sentence{Published by Copernicus Publications.} + \def\@journalurl{www.adv-stat-clim-meteorol-oceanogr.net} + \def\@journallogo{\includegraphics{ASCMO_Logo.pdf}} + \definecolor{textcol}{rgb}{0.392,0.039,0.039} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.392,0.039,0.039} +\fi +\ifpiahs%classical + \def\@journalname{Proceedings of the International Association of Hydrological Sciences} + \def\@journalnameabbreviation{Proc. IAHS} + \def\@journalnameshort{PIAHS} + \def\@journalnameshortlower{piahs} + \def\@journalstartyear{1924} + \def\@sentence{Published by Copernicus Publications on behalf of the International Association of Hydrological Sciences.} + \def\@journalurl{proc-iahs.net} + \def\@journallogo{\includegraphics{PIAHS_Logo.pdf}} + \definecolor{textcol}{rgb}{0.553,0.035,0.035} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.553,0.035,0.035} +\fi +\ifaab%classical + \def\@journalname{Archives Animal Breeding} + \def\@journalnameabbreviation{Arch. Anim. Breed.} + \def\@journalnameshort{AAB} + \def\@journalnameshortlower{aab} + \def\@journalstartyear{2015} + \def\@sentence{Published by Copernicus Publications on behalf of the Leibniz Institute for Farm Animal Biology.} + \def\@journalurl{www.arch-anim-breed.net} + \def\@journallogo{\includegraphics{AAB_Logo.pdf}} + \definecolor{textcol}{rgb}{0.6,0.0,0.0} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifwes%classical + \def\@journalname{Wind Energy Science} + \def\@journalnameabbreviation{Wind Energ. Sci.} + \def\@journalnameshort{WES} + \def\@journalnameshortlower{wes} + \def\@journalstartyear{2016} + \def\@sentence{Published by Copernicus Publications on behalf of the European Academy of Wind Energy e.V.} + \if@stage@final + \def\@journalurl{www.wind-energ-sci.net} + \def\@journallogo{\includegraphics{WES_Logo.pdf}} + \definecolor{textcol}{rgb}{0.075,0.263,0.565} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1.0,1.0,1.0} + \definecolor{rulecol}{rgb}{0.075,0.263,0.565} + \else + \def\@journalurl{www.wind-energ-sci-discuss.net} + \def\@journallogo{\includegraphics{WESD_Logo.pdf}} + \def\@sentenceDiscussion{This discussion paper is/has been under review for the journal Wind Energy Science (WES).\\ Please refer to the corresponding final paper in WES if available.} + \if@cop@home + \definecolor{journalname}{rgb}{0.075,0.263,0.565} + \definecolor{buttonbackground}{rgb}{0.075,0.263,0.565} + \definecolor{paneltext}{rgb}{0.075,0.263,0.565} + \definecolor{buttontext}{rgb}{0.584,0.761,0.239} + \fi + \fi +\fi +\ifjm%classical + \def\@journalname{Journal of Micropalaeontology} + \def\@journalnameabbreviation{J. Micropalaeontology} + \def\@journalnameshort{JM} + \def\@journalnameshortlower{jm} + \def\@journalstartyear{1982} + \def\@sentence{Published by Copernicus Publications on behalf of The Micropalaeontological Society.} + \def\@journalurl{www.j-micropalaeontol.net/} + \def\@journallogo{\includegraphics{JM_Logo.pdf}} + \definecolor{textcol}{rgb}{0.047,0.306,0.427} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{0.047,0.306,0.427} +\fi +\ifegqsj%classical + \def\@journalname{E&G Quaternary Science Journal} + \def\@journalnameabbreviation{E\&G Quaternary Sci. J.} + \def\@journalnameshort{EGQSJ} + \def\@journalnameshortlower{egqsj} + \def\@journalstartyear{1951} + \def\@sentence{Published by Copernicus Publications on behalf of the Deutsche Quart\"arvereinigung (DEUQUA) e.V.} + \def\@journalurl{www.eg-quaternary-sci-j.net} + \def\@journallogo{\includegraphics{EGQSJ_Logo.pdf}} + \definecolor{textcol}{rgb}{0.0,0.459,0.722} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} +\fi +\ifgc%classical + \def\@journalname{Geoscience Communication} + \def\@journalnameabbreviation{Geosci. Commun.} + \def\@journalnameshort{GC} + \def\@journalnameshortlower{gc} + \def\@journalstartyear{2018} + \def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.} + \if@stage@final + \def\@journalurl{www.geosci-commun.net} + \def\@journallogo{\includegraphics{GC_Logo.pdf}} + \definecolor{textcol}{rgb}{0.067,0.494,1.0} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{rulecol}{rgb}{1.0,1.0,1.0} + \else + \def\@journalurl{www.geosci-commun-discuss.net} + \def\@journallogo{\includegraphics{GCD_Logo.pdf}} + \def\@sentenceDiscussion{} + \if@cop@home + \definecolor{journalname}{rgb}{1.0,1.0,1.0} + \definecolor{buttonbackground}{rgb}{1.0,1.0,1.0} + \definecolor{paneltext}{rgb}{1.0,1.0,1.0} + \definecolor{buttontext}{rgb}{1.0,1.0,1.0} + \fi + \fi +\fi + +} \ No newline at end of file diff --git a/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cls b/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cls new file mode 100644 index 000000000..43e83bee6 --- /dev/null +++ b/inst/rmarkdown/templates/copernicus_article/skeleton/copernicus.cls @@ -0,0 +1,2479 @@ +%% +%% This is file `copernicus.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% copernicus.dtx (with options: `class') +%% +%% ----------------------------------------------------------------- +%% Author: copernicus.org and le-tex publishing services +%% +%% This file is part of the copernicus package for papers +%% published by Copernicus Publications (Copernicus GmbH). +%% +%% Copyright (C) 2018 by Copernicus Publications +%% ----------------------------------------------------------------- +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{copernicus} + [2018/01/30 8.67 Copernicus papers] +\frenchspacing +\clubpenalty10000 +\widowpenalty10000 +\protected@edef\CopernicusInfo#1{\protect\ClassInfo{copernicus}{#1}} +\protected@edef\CopernicusWarningNoLine#1{\protect\ClassWarningNoLine{copernicus}{#1}} +\protected@edef\CopernicusError#1#2{\protect\ClassError{copernicus}{#1}{#2}} +\let\@classfilename\@currname +\newcommand\UndefinedError[1] + {\CopernicusError{You must define #1}{Add #1 to your document!}} +\newcommand\NoSectionWarning[1] + {\CopernicusWarningNoLine{No section #1; proceeding without it}} +\newcommand\NoSectionError[2] + {\CopernicusError{You forgot the section: #1}{Add #2 to your document!}} +\RequirePackage{fixltx2e}[2006/03/24] +\renewcommand*\and{\@centercr} +\AtEndOfClass{% + \DeclareRobustCommand*{\vec}[1] + {\ensuremath{% + \mathchoice{\mbox{\boldmath$\displaystyle#1$}} + {\mbox{\boldmath$\textstyle#1$}} + {\mbox{\boldmath$\scriptstyle#1$}} + {\mbox{\boldmath$\scriptscriptstyle#1$}}}}} +\thinmuskip=2mu +\medmuskip=3mu minus 3mu +\thickmuskip=4mu +\def\cop@opterrshort{Option "\CurrentOption" not supported} +\def\cop@opterrlong{% + The option "\CurrentOption" from article.cls is not supported by copernicus.cls.} +\DeclareOption{a4paper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{a5paper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{b5paper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{letterpaper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{legalpaper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{executivepaper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{landscape}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{10pt}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{11pt}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{12pt}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{oneside}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{twoside}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{titlepage}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{notitlepage}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{onecolumn}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{twocolumn}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\DeclareOption{fleqn}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}} +\newif\if@stage@final \@stage@finaltrue +\newif\if@sansserifface +\newif\if@sansserifheader +\newif\if@abstractcentered +\newif\if@abstractindented +\newif\if@noauthor \DeclareOption{noauthor}{\@noauthortrue} +\newif\if@nolastpage \DeclareOption{nolastpage}{\@nolastpagetrue} +\newif\if@noref \DeclareOption{noref}{\@noreftrue} +\newif\if@nohyperref \DeclareOption{nohyperref}{\@nohyperreftrue} +\newif\if@cop@home \IfFileExists{copernicuslogo.pdf}{\@cop@hometrue}{\@cop@homefalse} +\newif\ifonline \DeclareOption{online}{\onlinetrue} +\newif\if@twostagejnl +\newif\if@manuscript \DeclareOption{manuscript}{\@manuscripttrue} +\newif\if@noline \DeclareOption{noline}{\@nolinetrue}%classical +\DeclareOption{corrigendum} {\def\specialp@perstring{Corrigendum}} +\DeclareOption{editorialnote}{\def\specialp@perstring{Editorial note}} +\def\jurl@splitter#1.net\@nil{\def\jurl@first{#1}} +\DeclareOption{editorialnotediscussion}{% + \def\specialp@perstring{Editorial note}% + \@noreftrue + \AtEndOfClass{% + \edef\@journalnameabbreviation{\@journalnameabbreviation\space Discuss.}% + \expandafter\jurl@splitter\@journalurl\@nil + \edef\@journalurl{\jurl@first-discuss.net}}} +\newif\if@corrigendum%ask Jasch +\newif\if@editorialnotetwoc%ask Jasch +\newif\if@editorialnoted%ask Jasch +\newif\if@secline% Underlined Sections, lup 2017-11-06 +\newif\if@dolinesec\@dolinesecfalse +\newif\if@bar %only used under \if@stage@final and \@cop@hometrue; for modern layout as well as for the classically layouted sub-journal "angeocom" +\newif\if@hvmath \DeclareOption{hvmath}{\@hvmathtrue}%only used for discussions and only under \@cop@hometrue +\InputIfFileExists{copernicus.cfg}% + {\typeout{Additional configuration file copernicus.cfg used}}% + {\CopernicusError{No additional configuration file copernicus.cfg} + {Please provide copernicus.cfg with the journal configurations.}} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} +\ProcessOptions +\if@stage@final\else\@twostagejnltrue\fi +\if@cop@home\else + \if@stage@final\else\@stage@finaltrue\@manuscripttrue\fi +\fi +\if@manuscript + \@sansseriffacefalse + \@sansserifheaderfalse + \@abstractcenteredfalse + \@abstractindentedfalse +\fi +\AtEndOfClass{\ifcopyediting\let\@msnumber\relax\fi} +\LoadClass[fleqn]{article} +\AtBeginDocument{\mathindent\z@} +\if@stage@final + \if@manuscript + \oddsidemargin16.4mm + \evensidemargin16.4mm + \textwidth177mm + \textheight\dimexpr660\p@-37mm+11.4mm\relax + \headheight\z@ + \headsep\z@ + \topmargin10mm + \footskip30pt + \else + \let\footnotesize\small + \oddsidemargin16.4mm + \evensidemargin16.4mm + \textwidth177mm + \headheight16.4mm + \headsep5mm + \topskip12pt + \footskip30pt + \textheight54\baselineskip + \advance\textheight by\topskip + \topmargin\z@ + \fi +\else + \renewcommand\normalsize{% + \@setfontsize\normalsize\@xipt{13.6}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + \let\@listi\@listI} + \normalsize + \renewcommand\small{% + \@setfontsize\small\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ + \def\@listi{\leftmargin\leftmargini + \topsep 6\p@ \@plus2\p@ \@minus2\p@ + \parsep 3\p@ \@plus2\p@ \@minus\p@ + \itemsep \parsep}% + \belowdisplayskip \abovedisplayskip} + \let\footnotesize\small + \def\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} + \def\tiny{\@setfontsize\tiny\@vipt\@viipt} + \headheight\z@ + \headsep\z@ + \topskip\z@ + \footskip5mm + \textwidth146mm + \textheight140mm + \advance\textheight by\topskip + \oddsidemargin-15.4mm + \evensidemargin-15.4mm + \topmargin-18.4mm +\fi +\parindent1em +\newdimen\bleed \bleed3mm\relax +\if@stage@final + \hoffset\dimexpr-1in+\bleed\relax + \voffset\dimexpr-1in+\bleed\relax + \if@manuscript + \paperheight\dimexpr240mm+2\bleed\relax%2015-12-14 + \else + \paperheight\dimexpr277mm+2\bleed\relax + \fi + \paperwidth\dimexpr210mm+2\bleed\relax + \@tempdima\dimexpr1in+\hoffset\relax + \@tempdimb\dimexpr\@tempdima+\paperwidth-2\bleed\relax + \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\l@offset{\strip@pt\@tempdima} + \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\r@offset{\strip@pt\@tempdimb} + \@tempdima\dimexpr1in+\voffset\relax + \@tempdimb\dimexpr\@tempdima+\paperheight-2\bleed\relax + \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\u@offset{\strip@pt\@tempdima} + \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\o@offset{\strip@pt\@tempdimb} + %and now for the bleed box: + \@tempdima\dimexpr1in+\hoffset-\bleed\relax + \@tempdimb\dimexpr\@tempdima+\paperwidth+2\bleed\relax + \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\b@l@offset{\strip@pt\@tempdima} + \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\b@r@offset{\strip@pt\@tempdimb} + \@tempdima\dimexpr1in+\voffset-\bleed\relax + \@tempdimb\dimexpr\@tempdima+\paperheight+2\bleed\relax + \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\b@u@offset{\strip@pt\@tempdima} + \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\b@o@offset{\strip@pt\@tempdimb} + \ifnum\pdfoutput=\z@ + \newcommand{\@setPdfBoxes}{% + \ifx\@processPdfBoxSpec\@empty\relax + \else + {% + \special{!userdict begin + /bop-hook {^^J + \@processPdfBoxSpec} def + end}} + \fi} + \let\@processPdfBoxSpec\@empty + \newcommand\@setPdfBox[2]{% + \xdef\@processPdfBoxSpec{% + \@processPdfBoxSpec + [ {ThisPage} << /#1 [#2] >> /PUT pdfmark} } + \@setPdfBox{TrimBox}{\l@offset\space\u@offset\space\r@offset\space\o@offset} + \@setPdfBox{CropBox}{\l@offset\space\u@offset\space\r@offset\space\o@offset} + \@setPdfBox{BleedBox}{\b@l@offset\space\b@u@offset\space\b@r@offset\space\b@o@offset} + \@setPdfBoxes + \@onlypreamble\@setPdfBoxes + \else + \edef\@tempa{% + /TrimBox [\l@offset\space\u@offset\space\r@offset\space\o@offset] + /CropBox [\l@offset\space\u@offset\space\r@offset\space\o@offset] + /BleedBox[\b@l@offset\space\b@u@offset\space\b@r@offset\space\b@o@offset]} + \expandafter\pdfpageattr\expandafter{\@tempa} + \fi +\else%discussions + \paperheight159mm + \paperwidth166mm +\fi +\parskip0pt% plus 1pt +\def\topfraction{1}%standard is .7 +\def\textfraction{0}%standard is .2 +\def\floatpagefraction{.7}%standard is .5 +\def\dbltopfraction{1}%standard is .7 +\def\dblfloatpagefraction{.7}%standard is .5 +\if@stage@final + \def\@ddsidemarginbar{% + \rlap{% + \@tempdima-6.5mm\kern-\@tempdima + \@tempdima\dimexpr\@tempdima+\paperwidth-\textwidth-\oddsidemargin+\bleed\relax + \@tempdimb\dimexpr\headheight+\topmargin\relax + \@tempdimc\dimexpr\paperheight-\@tempdimb\relax + \advance\@tempdimb\bleed + \advance\@tempdimc\bleed + \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}}} + \def\@vensidemarginbar{% + \llap{% + \@tempdima\dimexpr1in+\evensidemargin+\bleed\relax + \@tempdimb\dimexpr\headheight+\topmargin\relax + \@tempdimc\dimexpr\paperheight-\@tempdimb\relax + \advance\@tempdimb\bleed + \advance\@tempdimc\bleed + \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}% + \kern6.5mm}} + \def\@ddsidemarginrule{% + \rlap{% + \@tempdima0.8\p@ + \kern6.5mm\kern-0.5\@tempdima + \@tempdimb\dimexpr\headheight+\topmargin\relax + \@tempdimc\dimexpr\paperheight-\@tempdimb\relax + \advance\@tempdimb\bleed + \advance\@tempdimc\bleed + \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}}} + \def\@vensidemarginrule{% + \llap{% + \@tempdima0.8\p@ + \@tempdimb\dimexpr\headheight+\topmargin\relax + \@tempdimc\dimexpr\paperheight-\@tempdimb\relax + \advance\@tempdimb\bleed + \advance\@tempdimc\bleed + \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}% + \kern6.5mm\kern-0.5\@tempdima}} +\fi +\def\check@journalnameabbreviation#1 Discuss.#2\@nil{#2} +\def\@journalInfo{% + \ifx\specialp@perstring\@undefined\else + {\specialp@perstring} to\space + %check for configured line breaks: + \def\1{Corrigendum}\ifx\specialp@perstring\1\if@corrigendum\hfil\break\fi\else + \def\1{Editorial note}\ifx\specialp@perstring\1 + \edef\1{\expandafter\expandafter\expandafter\check@journalnameabbreviation\expandafter\@journalnameabbreviation\space Discuss.\@nil}% + \ifx\1\@empty\if@editorialnotetwoc\hfil\break\fi\else + \if@editorialnoted\hfil\break\fi\fi\fi + \fi + \fi + \@journalnameabbreviation + \ifcopyediting\else\if@noref,\space\@msnumber\else,\space\@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear\fi} +\def\@journalurlInfo{% + \@journalurl\ifcopyediting\else/\if@noref\@msnumber\else\@pvol/\@fpage/\@pyear\fi/\fi} +\def\runningheaderfont{% + \if@stage@final%spec. obsolete ? + \if@sansserifheader + \reset@font\sffamily\normalsize\color{textcol}% + \else + \bfseries + \fi + \fi} +\def\@manuscriptInfo{% + % Manuscript prepared for \@journalnameabbreviation\\ + % with version \csname ver@\@classfilename.cls\endcsname\ % + % of the \LaTeX\ class \@classfilename.cls.\\ + % Date: \number\day~\ifcase\month\or January\or February\or + % March\or April\or May\or June\or July\or August\or September\or + % October\or November\or December\fi~\number\year + %~\\[12pt] + } +\if@stage@final + \def\ps@plain{%only used for manuscript + \let\@mkboth\@gobbletwo + \let\@oddhead\@empty + \let\@evenhead\@empty + \def\@oddfoot{\reset@font\bfseries\hfil\thepage\hfil}% + \let\@evenfoot\@oddfoot} + \def\ps@headings{% + \def\@oddhead{% + \runningheaderfont + \@runhd\hfil\llap{\thepage}% + \if@cop@home\if@bar + \textcolor{barcol}{\@ddsidemarginbar}% + %\textcolor{textcol}{\@ddsidemarginrule}% + \textcolor{rulecol}{\@ddsidemarginrule}% + \fi\fi} + \def\@evenhead{% + \if@cop@home\if@bar + \textcolor{barcol}{\@vensidemarginbar}% + %\textcolor{textcol}{\@vensidemarginrule}% + \textcolor{rulecol}{\@vensidemarginrule}% + \fi\fi + \runningheaderfont + \rlap{\thepage}\hfil\@runhd} + \if@cop@home + \def\@oddfoot{\edit@rnotereminder\runningheaderfont\@journalurlInfo\hfil\ifx\specialp@perstring\@undefined\@journalInfo\else\specialp@perstring\fi} + \def\@evenfoot{\edit@rnotereminder\runningheaderfont\ifx\specialp@perstring\@undefined\@journalInfo\else\specialp@perstring\fi\hfil\@journalurlInfo} + \else + \let\@oddfoot\@empty + \let\@evenfoot\@empty + \fi + \let\@mkboth\@gobbletwo} +\else%discussions + \def\ps@headings{% + \def\@oddhead{% + \hfil + \rlap{% + \kern5mm + \@tempdimb\dimexpr\headheight+\topmargin+1in\relax + \@tempdimc\dimexpr\paperheight-\@tempdimb\relax + \advance\@tempdimb\bleed + \advance\@tempdimc\bleed + \color{discussion_bartext_background}\smash{\vrule\@width5mm\@height\@tempdimb\@depth\@tempdimc}}% + \rlap{% + \kern5.7mm + \rotatebox{-90}{% + \fontsize{10}{10}\usefont{T1}{ma1}{m}{n}% + \textcolor{discussion_bartext}{\kern-0.5mm% + Discussion Paper \quad | \quad Discussion Paper \quad | \quad Discussion Paper \quad | \quad Discussion Paper \quad |}}}} + \let\@evenhead\@oddhead + \def\@oddfoot{\if@cop@home\edit@rnotereminder\fi\hfil\thepage\hfil} + \let\@evenfoot\@oddfoot} +\fi +\if@stage@final + \if@bar + \def\@titlebar{% + \textcolor{barcol}{\@ddsidemarginbar}% + %\textcolor{textcol}{\@ddsidemarginrule}% + \textcolor{rulecol}{\@ddsidemarginrule}% + \rlap{\kern7.5mm\smash{% + \raise3mm\hbox{\rotatebox[origin=Bl]{-90}{\reset@font\sffamily\Large\textcolor{textcol}{\@btext\strut}}}}}} + \fi + \def\ps@titlepage{% + \if@cop@home + \ifcopyediting + \def\@oddhead{% + \parbox[t] + {\textwidth} + {{\runningheaderfont\@sentence}\\ + \color[gray]{0.55}\put(0.7,0){\rule[1mm]{\textwidth}{0.1mm}}\\ + \textcolor[gray]{0.55}{Your manuscript was typeset and received English language copy-editing.\\ + The resulting file is available for proof-reading in the final journal style.\\ + The present document is only to review the language changes.}}% + \if@bar\@titlebar\fi} + \else + \def\@oddhead{% + \parbox[t] + {0.6\textwidth} + {\if@sansserifheader\leavevmode\runningheaderfont\fi + \@journalInfo\\ + %\@journalurlInfo\\ %raus laut Ticket 4529 + https://doi.org/10.5194/% + \if@noref + \@msnumber + \else + \@journalnameshortlower + -\@pvol-\@fpage-\@pyear + \fi + \ifx\specialp@perstring\@undefined\else-\def\1{Corrigendum}\ifx\specialp@perstring\1corrigendum\else editorial-note\fi\fi + \\ + \@journalcopyright\\[1mm] + \includegraphics[width=1.5cm]{CreativeCommons_Attribution_License.png}}% + \hfill + \setbox\z@\hbox{\@journallogo}% + \@tempdima\ht\z@\advance\@tempdima-8\p@\lower\@tempdima\box\z@\\ + \ifangeocom + \textcolor{barcol}{\@ddsidemarginbar}% + %\textcolor{textcol}{\@ddsidemarginrule}% + \textcolor{rulecol}{\@ddsidemarginrule}% + \rlap{\kern9mm\smash{% + \@tempdimc\headsep\advance\@tempdimc\textheight\advance\@tempdimc\footskip + \lower\@tempdimc\hbox{\rotatebox[origin=lB]{90}{\fontsize{15}{15}\usefont{T1}{ma1}{m}{n}AnGeo Communicates}}}}% + \else + \if@bar\@titlebar\fi + \fi} + \fi + \def\@oddfoot{\edit@rnotereminder\runningheaderfont\@sentence\hfil} + \else + \def\@oddhead{\parbox[t]{0.6\textwidth}{\@manuscriptInfo}} + \let\@oddfoot\@empty + \fi + \let\@mkboth\@gobbletwo} +\fi +\AtEndDocument{% + \clearpage + \addtocounter{page}{-1}% + \immediate\write\@auxout{\string\newlabel{LastPage}{{}{\thepage}{}{}{}}}% + \addtocounter{page}{1}} +\if@stage@final + \def\@lpage{\hypersetup{linkcolor=textcol}\pageref{LastPage}} +\else + \def\@lpage{\pageref*{LastPage}} +\fi +\newcommand\sw@and{% + \end{minipage}\\[1em]% + \begin{minipage}[t]{\hsize}% + \flushleft\baselineskip12pt} +\def\@runtest{% + \if@noauthor\else\if!\@runauth!\UndefinedError{\string\runningauthor}\fi\fi + \if!\@runtit!\UndefinedError{\string\runningtitle}\fi} +\def\maketitle{% + \gdef\supplement##1{% + \href{https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}% + {https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}}% + \ifnum\@fpage<0 + \CopernicusError{No article number given but citation by article number required} + {Please provide \string\articlenumber.} + \fi + \ifx\citati@nbyarticlenumber\@undefined + \ifodd\@fpage\else + \CopernicusError + {Starting page must be odd!}{change the firstpage command}% + \fi + \ifx\specialp@perstring\@undefined + \setcounter{page}{\@fpage}% + \fi + \fi + \setcounter{footnote}{0}% + \if@stage@final\if@manuscript\else\thispagestyle{titlepage}\fi\fi + \begingroup + \parindent=\z@ + \@maketitle + \endgroup + \global\let\thanks\relax + \global\let\maketitle\relax + \global\let\@thanks\@empty + \global\let\@author\@empty + \global\let\@title\@empty + \if@stage@final + \if@manuscript\gdef\baselinestretch{1.4}\reset@font\normalsize\fi + \fi + \@runtest} +\if@stage@final + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %% This is taken from `long2.sty'. + %% Author: Tomas "tohecz" Hejda + %% Licenced under LaTeX-Project Public License version 1.3 or newer. + \newlength\longtwo@top + \newlength\longtwo@bottom + \newsavebox\longtwo@box + \def\longtwo@repeat{% + \longtwo@column[{\@twocolumnfalse + \ifdim\ht\longtwo@box>1.00\textheight%1 + \begingroup + \vbadness10000 + \setbox0\vsplit\longtwo@box to 1.00\textheight%1 + \setbox1\vbox{\unvbox\longtwo@box} + \global\setbox\longtwo@box\vbox{\unvbox1}% + \setbox2\vbox to \textheight{\unvbox0}% + \ht2=0.9\textheight + \box2 + \endgroup + \else + \ifdim\ht\longtwo@box>0.84\textheight + \global\let\longtwo@repeat\clearpage + \else + \global\let\longtwo@repeat\relax + \fi + \unvbox\longtwo@box + \vspace{15pt plus 15pt}% + \fi + }]% + \longtwo@repeat} + \long\def\longtwo@[#1]{% + \begingroup + \let\longtwo@column\twocolumn + \let\longtwo@mkttl\maketitle + \def\maketitle{% + \begingroup + \let\newpage\relax + \longtwo@mkttl + \endgroup} + \longtwo@column[{\@twocolumnfalse + \global\setbox\longtwo@box\vbox{#1}% + \ifdim\ht\longtwo@box>\textheight + \begingroup + \vbadness10000 + \setbox0\vsplit\longtwo@box to 1.00\textheight%1 + \setbox1\vbox{\unvbox\longtwo@box}% + \global\setbox\longtwo@box\vbox{\unvbox1}% + \setbox2\vbox to \textheight{\unvbox0}% + \ht2=0.9\textheight + \box2 + \endgroup + \else + \ifdim\ht\longtwo@box>0.87\textheight + \global\let\longtwo@repeat\clearpage + \else + \global\let\longtwo@repeat\relax + \fi + \unvbox\longtwo@box + \fi + }]% + \longtwo@repeat + \endgroup} + \def\longtwocolumn{\@ifnextchar[\longtwo@\twocolumn} + %% End of file `long2.sty'. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \def\@maketitle{% + \if@manuscript%layout for first page in one-column mode + \@@maketitlemanuscript + \else%layout for first page in two-column mode + \if@twocolumn + \longtwocolumn[\@@maketitlefinal]% + \else%allows output of heads larger than one page + \@@maketitlefinal + \fi + \fi} + \def\@@maketitlemanuscript{% + \global\@topnum\z@ + \begin{nolinenumbers}% + \parbox[t]{\textwidth}{\@manuscriptInfo}\par + \vskip\baselineskip + \raggedright + \let\footnotesize\normalsize + \let\footnoterule\relax + \def\thefootnote{\fnsymbol{footnote}}% + \def\@mpfn{footnote}% + \let\thempfn=\thefootnote + \renewcommand\@makefntext[1]{\parindent1em\noindent\@makefnmark##1}% + {\LARGE\bfseries\if@sansserifface\mathversion{sansbold}\else\mathversion{bold}\fi\@title\par}% + \if@noauthor + \else + {\large + \renewcommand\Authfont{\normalfont}% + \renewcommand\Affilfont{\normalsize\normalfont}% + \setlength\affilsep{4pt}% + \let\and=\sw@and + \flushleft + \@author\\[4pt] + \ifx\@corresp\@empty\else\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} Correspondence:}} \@corresp\ifx\@howtocite\@empty\else\\[4pt]\fi\fi + \ifx\@howtocite\@empty\else\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} How to cite:}} \@howtocite\fi + \par}% + \fi + \@thanks + \vspace{\baselineskip}% + \end{nolinenumbers}} + \def\@maketitle@setup{% + \let\footnotesize\normalsize + \let\footnoterule\relax + \def\thefootnote{\fnsymbol{footnote}}% + \def\@mpfn{footnote}% + \let\thempfn=\thefootnote + \renewcommand\@makefntext[1]{\parindent1em\noindent\@makefnmark##1}} + \if@abstractcentered%modern + \def\@@maketitlefinal{% + \vspace*{31mm}% + {\list{}{\leftmargin10mm\rightmargin\leftmargin}% + \item\relax + \hsize\linewidth + \@maketitle@setup + \centering + \center{\LARGE\bfseries\if@sansserifface\sffamily\mathversion{sansbold}\else\mathversion{bold}\fi\color{textcol}% + \ifx\specialp@perstring\@undefined\else\textit{{\specialp@perstring} to}\break``\fi + \@title + \ifx\specialp@perstring\@undefined + \else + ''\if@noref,\else\space published in\fi\space + \@journalnameabbreviation , + \if@noref\@msnumber \else \@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear + \fi + \par}% + \vspace{10pt}% + \if@noauthor + \else + {\normalsize + \renewcommand\Authfont{\bfseries}% + \renewcommand\Affilfont{\reset@font}% + \setlength\affilsep{4pt}% + \let\and=\sw@and + \@author\par}% + \vskip-0.5\baselineskip + \fi + \ifx\@corresp\@empty\else\vskip\topsep\centering\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} Correspondence:}}\space\@corresp\fi + \ifx\@howtocite\@empty\else\vskip.5\topsep\centering\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} How to cite:}}\space\@howtocite\fi + \par\vskip0.33\baselineskip + {\small + \ifx\specialp@perstring\@undefined + \if!\@recvd! + \else + Received: \@recvd + \def\datesep{ -- }% + \if@twostagejnl\ifx\@pubdiscuss\@empty\else + \datesep Discussion started: \@pubdiscuss\def\datesep{\break\def\datesep{ -- }}% + \fi\fi + \if!\@revsd!\else\datesep Revised: \@revsd\fi + \if!\@accptd!\else\datesep Accepted: \@accptd\fi + \ifx\@published\@undefined\else\datesep\fi + \fi + \fi + \ifx\@published\@undefined\else Published: \@published\fi + }% + \ifx\abstractexists\@undefined + \else + \par\vskip0.5\baselineskip + \bgroup + \advance\hsize-2\fboxsep\advance\hsize-2\fboxrule + \parskip\z@ + \trivlist\item\relax + \textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries\abstractname.}% + \enspace\ignorespaces\@abstr + \ifx\second@bstract\@undefined\else\par\vspace{1.7mm}\noindent + \second@bstract + \fi + \if!\@keyw!\else + \par\vspace{1.7mm}\noindent + \textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries Keywords.}% + \enspace\ignorespaces\@keyw + \fi + \endtrivlist + \egroup + \fi + \endlist + \par\vspace{1.5\baselineskip}}} + \else%classical or indented + \if@abstractindented%% indented + \def\@@maketitlefinal{% + \vspace*{36mm}% + {\@maketitle@setup + \raggedright + {\LARGE\bfseries\if@sansserifface\sffamily\mathversion{sansbold}\else\mathversion{bold}\fi\color{textcol}% + \ifx\specialp@perstring\@undefined\else\textit{{\specialp@perstring} to}\break``\fi + \@title + \ifx\specialp@perstring\@undefined + \else + ''\if@noref,\else\space published in\fi\space + \@journalnameabbreviation, + \if@noref\@msnumber \else \@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear + \fi + \par}% + \if@noauthor + \else + \vspace{\baselineskip}% + {\normalsize + \renewcommand\Authfont{\bfseries}% + \renewcommand\Affilfont{\mdseries}% + \setlength\affilsep{4pt}% + \let\and=\sw@and + \@author\par}% + \vskip-0.25\baselineskip + \fi + \@thanks} + %% NEU: + \ifnum\ifx\@corresp\@empty\ifx\@howtocite\@empty\if!\@recvd!\ifx\abstractexists\@undefined\ifx\@published\@undefined0\else1\fi\else1\fi\else1\fi\else1\fi\else1\fi=1\relax + \par\vskip1.5\baselineskip + \def\labelfont{\bfseries\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol}}% + \list{}{\labelwidth35mm% + \leftmargin\labelwidth + \itemsep4mm + \labelsep\z@ + \xdef\@indescription{}% + \def\makelabel##1{\labelfont##1\hss}}% + \ifx\@corresp\@empty\else\item[{Correspondence:}]\@corresp\fi + \ifnum\ifx\@published\@undefined\ifx\specialp@perstring\@undefined\if!\@recvd!0\else1\fi\else0\fi\else1\fi=1\relax + \item[{Relevant dates:}]% + \fi + \bgroup\raggedright + \ifx\specialp@perstring\@undefined + \if!\@recvd! + \else + \strut\hbox{Received:\nobreakspace\@recvd}% + \def\datesep{ -- }% + \if@twostagejnl\ifx\@pubdiscuss\@empty\else + \datesep \hbox{Discussion started:\nobreakspace\@pubdiscuss}\def\datesep{\newline\def\datesep{ -- }}% + \fi\fi + \if!\@revsd!\else\datesep \hbox{Revised:\nobreakspace\@revsd}\fi + \if!\@accptd!\else\datesep \hbox{Accepted:\nobreakspace\@accptd}\fi + \ifx\@published\@undefined\else\datesep\fi + \fi + \fi + \ifx\@published\@undefined\else Published:\nobreakspace\@published\fi + \par\egroup + \ifx\@howtocite\@empty\else\item[{How to cite:}]\@howtocite\fi + \ifx\abstractexists\@undefined + \else + \item[\abstractname:]\@abstr% + \ifx\second@bstract\@undefined\else\item[\secabstractname:]\second@bstract\fi + \if!\@keyw!\else\item[Keywords:]\@keyw\fi + \fi + \endlist + \fi + \vspace{20pt}} + \else%% classical + \def\@@maketitlefinal{% + \vspace*{36mm}% + {\@maketitle@setup + \raggedright + {\LARGE\bfseries\if@sansserifface\if@sansserifface\sffamily\fi\mathversion{sansbold}\else\mathversion{bold}\fi\color{textcol}% + \ifx\specialp@perstring\@undefined\else\textit{{\specialp@perstring} to}\break``\fi + \@title + \ifx\specialp@perstring\@undefined + \else + ''\if@noref,\else\space published in\fi\space + \@journalnameabbreviation, + \if@noref\@msnumber \else \@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear + \fi + \par}% + \if@noauthor + \else + \vspace{\baselineskip}% + {\normalsize + \renewcommand\Authfont{\bfseries}% + \renewcommand\Affilfont{\mdseries}% + \setlength\affilsep{4pt}% + \let\and=\sw@and + \@author\par}% + \vskip-0.25\baselineskip + \fi + \@thanks + \ifx\@corresp\@empty\else\vskip\baselineskip\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} Correspondence:}}\space\@corresp\fi + \ifx\@howtocite\@empty\else\vskip.75\baselineskip\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} How to cite:}}\space\@howtocite\fi + \par\vspace{10pt}% + \ifx\specialp@perstring\@undefined + \if!\@recvd! + \else + Received: \@recvd + \def\datesep{ -- }% + \if@twostagejnl\ifx\@pubdiscuss\@empty\else + \datesep Discussion started: \@pubdiscuss\def\datesep{\newline\def\datesep{ -- }}% + \fi\fi + \if!\@revsd!\else\datesep Revised: \@revsd\fi + \if!\@accptd!\else\datesep Accepted: \@accptd\fi + \ifx\@published\@undefined\else\datesep\fi + \fi + \fi + \ifx\@published\@undefined\else Published: \@published\fi + \vspace{20pt}}} + \fi + \fi +\else%discussions + \def\titleheight#1{\def\@tithei{#1}} \def\@tithei{7.5cm}%reserved for future usage + \def\@maketitle{% + \global\@topnum\z@ + \if@cop@home\ifonline + \hypertarget{title}{}% + \hypersetup{pdfauthor={\@runauth}}% + \hypersetup{pdftitle={\@runtit}}% + \fi\fi + \begin{nolinenumbers}% + \if@cop@home + \ifx\@msnumber\@undefined + \CopernicusError{Please add \string\msnumber{...}}{You must provide the number of the manuscript}% + \global\let\@msnumber\@empty + \else + \ifx\@msnumber\@empty + \CopernicusError{Please fill \string\msnumber{...}}{You must provide the number of the manuscript}% + \fi\fi + \parbox[b]{107mm}{\fontsize{8}{11}\usefont{T1}{ma1}{m}{n}% + %\@journalInfo\\ + %\@journalurlInfo\\ + %\if@noref\else + % https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear + %\fi\\ + %\@journalcopyright + \ifx\specialp@perstring\@undefined\else{\specialp@perstring} to\space\fi + \@journalnameabbreviation, % + \ifx\specialp@perstring\@undefined + \if@noref\else\doi{10.5194/\@msnumber}, \@pyear\fi\\ + Manuscript under review for journal \@journalnameabbreviationbase + \else + \@msnumber\\\@journalurl/\@msnumber/% + \fi + \\ + \ifx\specialp@perstring\@undefined + Published: \@published + \else + \if@noref\else\doi{10.5194/\@msnumber-editorial-note}\fi + \fi + \\ + \copyright\ Author(s) \@pyear. CC-BY 3.0 License.% + %\\[1mm]\includegraphics[width=1.5cm]{CreativeCommons_Attribution_License.png}% + }% + \hfill + \setbox\z@\hbox{\@journallogo}\@tempdima\dimexpr\ht\z@-17mm\relax + \smash{\lower\dimexpr3mm+\@tempdima\relax\llap{\@journallogo}}%war2.5mm + \vskip5mm + \ifacp\vskip1.5mm\fi + \ifamt\vskip1.5mm\fi + \ifhess\vskip1.5mm\fi + {\fboxsep2mm + \colorbox{discussion_bartext_background} + {\advance\hsize-2\fboxsep + \parbox{\hsize} + {\color{discussion_bartext}\fontsize{9.5}{13}\usefont{T1}{ma1}{m}{n}% + \@sentenceDiscussion\par}}}% + \else + \parbox[t]{\textwidth}{\@manuscriptInfo}% + \fi + \vskip13.6\p@ + \raggedright + {\huge\bfseries\mathversion{bold}% + \ifx\specialp@perstring\@undefined\else{\large\specialp@perstring\space to\\}``\fi + \@title + \ifx\specialp@perstring\@undefined\else''\\[1mm]\large\@journalnameabbreviation, \@msnumber, \@pyear\fi + \\[5mm]}% + \if@noauthor\else + \def\Authfont{\rmfamily\bfseries}% + \def\Affilfont{\@affilfontsize\rmfamily\mdseries}% + \affilsep3mm + \@author\\[3mm] + \fi + \if@cop@home + {\small Received: \@recvd\ -- Accepted: \@accptd\ -- Published: \@published\\*[2mm] + \if@noauthor\else Correspondence: \@corresp\fi\\*[2mm] + \@sentence} + \else + \if@noauthor\else + {\small Correspondence: \@corresp}% + \fi + \fi + \end{nolinenumbers}% + \vfill + \clearpage} +\fi%stage +\if@stage@final + \if@sansserifface + \def\section{\@dolinesectrue\@startsection{section}{1}{\z@} + {-3.5ex\@plus-1ex\@minus-0.2ex} + {\if@secline2.3ex\else2.3ex\@plus0.2ex\fi} + {\raggedright\normalsize\sffamily\bfseries\mathversion{sansbold}\upshape\noindent\color{textcol}}} + \def\subsection{\@dolinesectrue\@startsection{subsection}{2}{\z@} + {\if@secline-3ex\@plus-1ex\@minus-0.2ex\else-3.25ex\@plus-1ex\@minus-0.2ex\fi} + {\if@secline1.25ex\else1.5ex\@plus0.2ex\fi} + {\raggedright\normalsize\sffamily\mdseries\mathversion{sans}\upshape\noindent\color{textcol}}} + \def\subsubsection{\@dolinesectrue\@startsection{subsubsection}{3}{\z@} + {\if@secline-3ex\@plus-1ex\@minus-0.2ex\else-3.25ex\@plus-1ex\@minus-0.2ex\fi} + {\if@secline1.25ex\else1.5ex\@plus0.2ex\fi} + {\raggedright\normalsize\sffamily\mdseries\mathversion{sans}\upshape\noindent\color{textcol}}} + \else%classical + \def\section{\@dolinesectrue\@startsection{section}{1}{\z@} + {-2em\@plus-1ex\@minus-.2ex} + {\if@secline1.15em\else1em\@plus.2ex\fi} + {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}} + \def\subsection{\@dolinesectrue\@startsection{subsection}{2}{\z@} + {-1em\@plus-0.25ex\@minus-.2ex} + {\if@secline1.15em\else1em\@plus.2ex\fi} + {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}} + \def\subsubsection{\@dolinesectrue\@startsection{subsubsection}{3}{\z@} + {-1em\@plus-0.25ex\@minus-.2ex} + {\if@secline1.15em\else1em\@plus.2ex\fi} + {\raggedright\normalsize\normalfont\bfseries\mathversion{bold}}} + \fi%final +\else%discussions + \def\section{\@dolinesectrue\@startsection{section}{1}{\z@} + {-2em\@plus-1ex\@minus-.2ex} + {1em\@plus.2ex} + {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}} + \def\subsection{\@dolinesectrue\@startsection{subsection}{2}{\z@} + {-1em\@plus-0.25ex\@minus-.2ex} + {1em\@plus.2ex} + {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}} + \def\subsubsection{\@dolinesectrue\@startsection{subsubsection}{3}{\z@} + {-1em\@plus-0.25ex\@minus-.2ex} + {1em\@plus.2ex} + {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}} +\fi +\def\@startsection#1#2#3#4#5#6{% + \gdef\cur@secdepth{#2}% + \if@noskipsec \leavevmode \fi + \par + \@tempskipa #4\relax + \@afterindenttrue + \ifdim \@tempskipa <\z@ + \@tempskipa -\@tempskipa \@afterindentfalse + \fi + \if@nobreak + \everypar{}% + \else + \addpenalty\@secpenalty\addvspace\@tempskipa + \fi + \if@secline\let\@secline@omitted\relax\fi + \@ifstar + {\@ssect{#3}{#4}{#5}{#6}}% + {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}} +\def\@afterheading{% + \@nobreaktrue + \everypar{% + \if@nobreak + \@nobreakfalse + \clubpenalty \@M + \if@afterindent \else + {\setbox\z@\lastbox}% + \fi + \if@secline + \if@dolinesec + \if@sansserifface + \rlap{\smash{\expandafter\ifnum\cur@secdepth>\@ne\raise1.2\baselineskip\else\raise1.5\baselineskip\fi\hbox{\vrule width\hsize height\arrayrulewidth\relax}}}% + \else + \rlap{\smash{\raise1.5\baselineskip\hbox{\vrule width\hsize height\arrayrulewidth\relax}}}% + \fi + \fi% + \@dolinesecfalse + \global\let\@secline@omitted\@undefined + \fi + \else + \clubpenalty \@clubpenalty + \everypar{}% + \fi}% +} +\let\paragraph=\subsubsection +\let\subparagraph=\paragraph +\if@stage@final + \if@manuscript + \else + \leftmargini2em + \leftmarginii1.75em + \leftmarginiii1.5em + \leftmarginiv1em + \leftmarginv0.5em + \leftmarginvi0.5em + \fi +\fi +\def\labelitemi{\bfseries\textendash} +\def\labelitemii{\bfseries\textendash} +\def\labelitemiii{$\m@th\bullet$} +\def\labelitemiv{$\m@th\cdot$} +\def\itemize{% + \if@secline + \ifx\@secline@omitted\relax + \leavevmode + \nobreak + \vspace*{-1.72\baselineskip}% + \global\let\@secline@omitted\@undefined + \fi + \fi + \ifnum \@itemdepth >\thr@@\@toodeep\else + \advance\@itemdepth\@ne + \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}% + \expandafter + \list + \csname\@itemitem\endcsname + {\def\makelabel##1{\hss\llap{##1}}}% + \fi} +\let\@abslang\relax +\long\def\secondabstract#1{% + \subpdfbookmark{\secabstractname.}{\secabstractname.}% + \toks@{% + \if@abstractindented\else\if@stage@final + \noindent\textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries \secabstractname.} \ignorespaces\enskip + \fi\fi + #1} + \immediate\write\@auxout{\string\gdef\string\second@bstract{\the\toks@}}% + \if@abstractindented\else + \if@stage@final + \else + \section*{\secabstractname} + \second@bstract + \fi + \fi +} + +\if@stage@final + \ifnum\if@abstractcentered1\else\if@abstractindented1\else0\fi\fi=1\relax%modern oder indented + \long\def\abstract{% + \immediate\write\@auxout{\string\gdef\string\abstractexists{true}}% + \iflanguage{ngerman}{\@abslang}{\iflanguage{german}{\@abslang}{}}% + \subpdfbookmark{\abstractname}{abstract}% + \edef\ABS@{\@currenvir}% + \toks@{}\ABS@get@body} + \let\endabstract\relax + \long\def\ABS@get@body#1\end + {\toks@\expandafter{\the\toks@\parindent1em\relax#1}\ABS@find@end} + \def\ABS@find@end#1{% + \def\@tempa{#1}% + \ifx\@tempa\ABS@ + \expandafter\ABS@endabstract + \else + \toks@\expandafter{\the\toks@\end{#1}}\expandafter\ABS@get@body + \fi} + \def\ABS@{abstract} + \def\ABS@endabstract{% + \immediate\write\@auxout{\string\gdef\string\@abstr{\the\toks@}}% + \iflanguage{ngerman}% + {\gdef\@abslang{\selectlanguage{english}}}% + {\iflanguage{german}% + {\gdef\@abslang{\selectlanguage{english}}}% + {\gdef\@abslang{\selectlanguage{ngerman}}}} + \expandafter\end\expandafter{\ABS@}} + \else%classical + \renewenvironment{abstract} + {\gdef\abstractexists{true}% + \iflanguage{ngerman}{\@abslang}{\iflanguage{german}{\@abslang}{}}% + \reset@font\normalsize\par\noindent + \subpdfbookmark{\abstractname}{abstract}% + \textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries\abstractname.} \ignorespaces} + {% + \ifx\second@bstract\@undefined\else\vskip\baselineskip\second@bstract\fi + \if!\@keyw!\else + \par\vspace{1.7mm}\noindent + \textbf{Keywords.}\enspace\ignorespaces\@keyw + \fi + \if@manuscript\else\if@noline\else + \par\vskip\baselineskip + \fi\fi + \iflanguage{ngerman} + {\gdef\@abslang{\selectlanguage{english}}}% + {\iflanguage{german}% + {\gdef\@abslang{\selectlanguage{english}}}% + {\gdef\@abslang{\selectlanguage{german}}% + \if@manuscript\else\if@noline\else\hrule\fi\fi}}} + \fi +\else%discussions + \renewenvironment{abstract} + {\gdef\abstractexists{true}% + \iflanguage{ngerman}{\@abslang}{\iflanguage{german}{\@abslang}{}}% + \section*{\abstractname\if@cop@home\ifonline\hypertarget{abstr}{}\fi\fi}} + {\iflanguage{ngerman}% + {\gdef\@abslang{\selectlanguage{english}}}% + {\iflanguage{german}% + {\gdef\@abslang{\selectlanguage{english}}}% + {\gdef\@abslang{\selectlanguage{ngerman}}}}} +\fi%stage +%%make sure the author doesn't forget anything +\AtEndDocument{% + \@ifundefined{abstractexists} + {\NoSectionWarning{Abstract}} + {}} +\if@stage@final + \let\@oxfloat=\@xfloat +\else + \let\orig@xfloat\@xfloat + \def\@oxfloat#1[#2]{% + \clearpage + \@nodocument + \begin{nolinenumbers}% + \def\@captype{#1}% + \null\vfill} + \let\orig@end@float\end@float + \def\end@float{% + \vfill + \end{nolinenumbers}} +\fi +\def\@xfloat#1[#2]{% + \@oxfloat#1[#2]% + \if@stage@final\vspace*{2mm}\fi + \centering + \small} +\if@stage@final + \if@sansserifface + \def\fnum@figure{\sffamily\color{textcol}\figurename\nobreakspace\thefigure} + \def\fnum@table{\sffamily\color{textcol}\tablename\nobreakspace\thetable} + \fi +\else + \def\fnum@figure{\rmfamily\bfseries\figurename\nobreakspace\thefigure} + \def\fnum@table{\rmfamily\bfseries\tablename\nobreakspace\thetable} +\fi +\long\def\@makecaption#1#2{% + \def\@tempa{figure}\ifx\@captype\@tempa + \if@stage@final + \vskip0.7\abovecaptionskip + \else + \vskip\abovecaptionskip\goodbreak + \fi + \fi + {\reset@font\small{\bfseries#1.} #2\par}% + \if@cop@home\ifonline\ifnum\csname c@\@captype\endcsname=1 % for 1st fig or tab only + \immediate\write\@auxout{\string\gdef\string\@num\@captype{}}% + \hypertarget{\@captype}{}% + \fi\fi\fi + \def\@tempa{table}\ifx\@captype\@tempa + \vskip\abovecaptionskip + \if@stage@final\else\goodbreak\fi + \fi} +\if@stage@final + \if@manuscript + \else + \columnsep7mm\relax + \fi +\else + \columnsep7mm\relax +\fi +\if@stage@final + \if@manuscript + \pagestyle{plain} + \else + \pagestyle{headings} + \fi +\else + \pagestyle{headings} +\fi +\if@stage@final + \if@manuscript + \else + \@twosidetrue + \@twocolumntrue + \sloppy + \flushbottom + \fi +\fi +\RequirePackage[T1]{fontenc} +\RequirePackage{textcomp} +\ifx\xmltexversion\@undefined + \RequirePackage[utf8]{inputenc} + \DeclareUnicodeCharacter{0394}{$\Delta$} + \DeclareUnicodeCharacter{8710}{$\Delta$} + \DeclareUnicodeCharacter{0331}{\cmrng} + \DeclareUnicodeCharacter{014B}{\cmrng} +\fi +\def\cmrng{{\fontfamily{cmr}\selectfont\ng}} +\let\old@classoptionslist\@classoptionslist +\edef\@classoptionslist{english,\old@classoptionslist} +\RequirePackage[english]{babel} +\let\@classoptionslist\old@classoptionslist +\def\@tempa{french}\ifx\bbl@main@language\@tempa + \StandardLayout + \ifx\xmltexversion\@undefined\else + \begingroup + \catcode`\!=\active\gdef!{\utfeightax!}% + \catcode`\?=\active\gdef?{\utfeightax?}% + \catcode`\:=\active\gdef:{\utfeightax:}% + \endgroup + \fi +\fi +\expandafter\ifx\csname l@ngerman\endcsname\relax + \chardef\l@ngerman="FD +\fi +\expandafter\ifx\csname l@german\endcsname\relax + \chardef\l@german="FE +\fi +\def\@tempa{% + \def\introductionname{Introduction}% + \def\secabstractname{Kurzfassung}% + \def\conclusionname{Conclusions}% + \def\copyrightstatementname{Copyright statement}% + \def\codeavailabilityname{Code availability}% + \def\dataavailabilityname{Data availability}% + \def\codedataavailabilityname{Code and data availability}% + \def\sampleavailabilityname{Sample availability}% + \def\authorcontributionname{Author contributions}% + \def\competinginterestsname{Competing interests}% + \def\teamlistname{Team list}% + \def\disclaimername{Disclaimer}% + \def\sistatementname{Special issue statement}% + \def\acknowledgementname{Acknowledgement}% + \def\acknowledgementsname{Acknowledgements}% + \if@cop@home + \def\equationname{Eq.}% + \def\sectionname{Sect.}% + \fi} +\expandafter\addto\expandafter\captionsbritish\expandafter{\@tempa} +\expandafter\addto\expandafter\captionsUKenglish\expandafter{\@tempa} +\expandafter\addto\expandafter\captionsenglish\expandafter{\@tempa} +\expandafter\addto\expandafter\captionsamerican\expandafter{\@tempa} +\expandafter\addto\expandafter\captionsUSenglish\expandafter{\@tempa} +\def\@tempa{% + \def\figurename{Abb.}% + \def\abstractname{Kurzfassung}% + \def\secabstractname{Abstract}% + \def\introductionname{Einleitung}% + \def\conclusionname{Fazit}% + \def\copyrightstatementname{Urheberrechtserklärung}% + \def\codeavailabilityname{Codeverfügbarkeit}% + \def\dataavailabilityname{Datenverfügbarkeit}% + \def\codedataavailabilityname{Code- und Datenverfügbarkeit}% + \def\sampleavailabilityname{Probenverfügbarkeit}% + \def\authorcontributionname{Autorenmitwirkung}% + \def\competinginterestsname{Interessenkonflikt}% + \def\teamlistname{Gruppenautorenschaft}% + \def\disclaimername{Haftungsausschluss}% + \def\sistatementname{Erklärung zum Sonderheft}% + \def\acknowledgementname{Danksagung}% + \def\acknowledgementsname{Danksagung}% + \if@cop@home + \def\equationname{Gl.}% + \def\sectionname{Kap.}% + \fi} +\expandafter\addto\expandafter\captionsngerman\expandafter{\@tempa} +\expandafter\addto\expandafter\captionsgerman\expandafter{\@tempa} +\def\@tempa{% + \def\figurename{Figure}% + \def\tablename{Tableau}% + \def\secabstractname{Kurzfassung}% + \def\introductionname{Introduction}% + \def\conclusionname{Conclusion}% + \def\copyrightstatementname{Affirmation du droit d'auteur}% + \def\codeavailabilityname{Disponibilité du code}% + \def\dataavailabilityname{Disponibilité des données}% + \def\sampleavailabilityname{Disponibilité des examples}% + \def\codedataavailabilityname{Disponibilité du code et des données}% + \def\authorcontributionname{Collaborateurs}% + \def\competinginterestsname{Intérêts concurrents}% + \def\teamlistname{Liste d'auteurs}% + \def\disclaimername{Clause de non-responsabilité}% + \def\sistatementname{Déclaration de la numéro special}% + \def\acknowledgementname{Remerciements}% + \def\acknowledgementsname{Remerciements}% + \if@cop@home + \def\equationname{Éq.}% + \def\sectionname{Sect.}% + \fi} +\expandafter\addto\expandafter\captionsfrench\expandafter{\@tempa} +\expandafter\addto\expandafter\captionsfrancais\expandafter{\@tempa} +\expandafter\addto\expandafter\captionscanadien\expandafter{\@tempa} +\expandafter\addto\expandafter\captionsacadian\expandafter{\@tempa} +\RequirePackage{array} +\def\@cline#1-#2\@nil{% + \noalign{% + \ifx\@clinecorr\@undefined + \vskip0.5mm% + \global\let\@clinecorr\relax + \else + \vskip-1.5mm% + \fi}% + \omit + \@multicnt#1% + \advance\@multispan\m@ne + \ifnum\@multicnt=\@ne\@firstofone{&\omit}\fi + \@multicnt#2% + \advance\@multicnt-#1% + \advance\@multispan\@ne + \leaders\hrule\@height\arrayrulewidth\hfill + \cr + \noalign{% + \vskip-\arrayrulewidth + \vskip1.5mm}} +\def\@arraycr{\relax\iffalse{\fi\ifnum 0=`}\fi + \global\let\@clinecorr\@undefined + \@ifstar \@xarraycr \@xarraycr} +\RequirePackage{tabularx} +\IfFileExists{graphicx.sty} + {\RequirePackage{graphicx}% + \ifnum\pdfoutput=\z@ + \DeclareGraphicsExtensions{.eps,.ps}% + \else + \DeclareGraphicsExtensions{.pdf,.png,.jpg} + \fi} + {\CopernicusWarningNoLine{Cannot find graphicx.sty; proceeding without it}} +\IfFileExists{color.sty} + {\RequirePackage{color}} + {\CopernicusWarningNoLine{Cannot find color.sty; proceeding without it}} +\IfFileExists{amssymb.sty} + {\RequirePackage{amssymb}} + {\CopernicusWarningNoLine{Cannot find amssymb.sty; proceeding without it}} +\IfFileExists{amsmath.sty} + {\RequirePackage[intlimits,fleqn,tbtags]{amsmath} + \ifx\xmltexversion\@undefined + \else + \renewcommand{\allowdisplaybreaks}[1][4]{% + \global\interdisplaylinepenalty\getdsp@pen{##1}\relax}% + \fi} + {\CopernicusWarningNoLine{Cannot find amsmath.sty; proceeding without it}} +\RequirePackage{amsthm} +\newcommand\Authfont{\normalfont} +\newcommand\Affilfont{\normalfont} +\newcommand\Authsep{, } +\newcommand\Authands{, and } +\newcommand\Authand{ and } +\newlength\affilsep\setlength{\affilsep}{1em} +\newlength\@affilsep +\newcounter{Maxaffil} +\setcounter{Maxaffil}{2} +\newcounter{authors} +\newcounter{affil} +\newif\ifnewaffil \newaffiltrue +\newcommand\AB@authnote[1]{\textsuperscript{\normalfont#1}} +\newcommand\AB@affilnote[1]{\textsuperscript{\normalfont#1}} +\providecommand\textsuperscript[1]{$^{#1}$} +\newcommand\AB@blk@and{\protect\Authfont\protect\AB@setsep} +\newcommand\AB@pand{\protect\and \protect\Authfont \protect\AB@setsep} +\@namedef{@sep1}{} +\@namedef{@sep2}{\Authand} +\newcommand\AB@affilsep{\protect\Affilfont} +\newcommand\AB@affilsepx{\protect\\\protect\Affilfont} +\newcommand\AB@setsep{\setlength{\@affilsep}{\affilsep}} +\newcommand\AB@resetsep{\setlength{\@affilsep}{\z@}} +\newcommand\AB@authlist{} +\newcommand\AB@affillist{} +\newcommand\AB@authors{} +\newcommand\AB@empty{} +\xdef\AB@author{\noexpand\AB@blk@and\@author} +\renewcommand\author[2][]% + {\ifnewaffil\addtocounter{affil}{1}% + \xdef\AB@thenote{\arabic{affil}}\fi + \def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% + \setcounter{Maxaffil}{0}\fi + \ifnum\value{authors}>1\relax + \expandafter\gdef\csname @sep\number\c@authors\endcsname{\Authsep}% + \fi + \addtocounter{authors}{1}% + \begingroup + \let\protect\@unexpandable@protect \let\and\AB@pand + \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}% + \@temptokena=\expandafter{\AB@authors}% + {\def\\{\protect\\[\@affilsep]\protect\Affilfont + \protect\AB@resetsep}% + \protected@xdef\AB@author{\AB@blk@and#2}% + \ifnewaffil\gdef\AB@las{}\gdef\AB@lasx{\protect\Authand}\gdef\AB@as{}% + \xdef\AB@authors{\the\@temptokena\AB@blk@and}% + \else + \xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}% + \global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}% + \gdef\AB@as{\Authsep}% + \fi + \gdef\AB@au@str{#2}}% + \@temptokena=\expandafter{\AB@authlist}% + \let\\=\authorcr + \protected@xdef\AB@authlist{\the\@temptokena + \protect\@nameuse{@sep\number\c@authors}% + \protect\Authfont#2\AB@authnote{\AB@note}}% + \endgroup + \ifnum\value{authors}>2\relax + \expandafter\gdef\csname @sep\number\c@authors\endcsname{\Authands}% + \fi + \newaffilfalse +} +\newcommand\authorcr{\protect\\ \protect\Authfont \protect\AB@setsep}% +\newcommand\affil[2][]% + {\newaffiltrue\let\AB@blk@and\AB@pand + \def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% + \setcounter{Maxaffil}{0}\fi + \begingroup + \let\protect\@unexpandable@protect + \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}% + \@temptokena=\expandafter{\AB@authors}% + {\def\\{\protect\\\protect\Affilfont}\protected@xdef\AB@temp{#2}}% + \protected@xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str + \protect\\[\affilsep]\protect\Affilfont\AB@temp}% + \gdef\AB@las{}\gdef\AB@au@str{}% + {\def\\{, \ignorespaces}\protected@xdef\AB@temp{#2}}% + \@temptokena=\expandafter{\AB@affillist}% + \protected@xdef\AB@affillist{\the\@temptokena \AB@affilsep + \AB@affilnote{\AB@note}\protect\Affilfont\AB@temp}% + \endgroup + \let\AB@affilsep\AB@affilsepx +} +\def\@author{} +\renewcommand\@author{% + \ifx\AB@affillist\AB@empty\AB@author\else + \ifnum\value{affil}>\value{Maxaffil}% + \AB@authlist\\[\affilsep]\AB@affillist + \else + \AB@authors + \fi + \fi} +\def\Author{\@ifnextchar[\@Author{\@Author[]}}%] +\def\@Author[#1]{% + \def\@tempa{#1}% + \@ifnextchar(\@@Author{\@@Author()}}%)} +\def\@@Author(#1){% + \def\@tempb{#1}% + \@ifnextchar(\@@@Author{\@@@Author()}}%)} +\def\@@@Author(#1)#2#3{% + \def\@tempc{#1}% + \protected@edef\@tempd{% + \ifx\@tempb\@empty\else\@tempb\nobreakspace\fi + #2\nobreakspace + #3% + \ifx\@tempc\@empty\else\nobreakspace\@tempc\fi}% + \expandafter\expandafter\expandafter\author\expandafter\expandafter\expandafter + [\expandafter\@tempa\expandafter]\expandafter{\@tempd}} +\providecommand\appendixname{Appendix} +\let\orisection=\section +\let\theolds=\thesection +\let\theoldss=\thesubsection +\def\appendix{\par + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \def\thesection{\@Alph\c@section}% + \def\thesubsection{\thesection\@arabic\c@subsection}% + \setcounter{secnumdepth}{4}% + \@addtoreset{equation}{section}% + \setcounter{equation}{0}% + \setcounter{reaction}{0}% + \def\theequation{\thesection\@arabic\c@equation}% + \def\thereaction{\thesection R\@arabic\c@reaction}% + \let\c@org@eq\c@equation% + \let\org@theeq\theequation% + \if@stage@final + \@addtoreset{figure}{section}% + \setcounter{figure}{0}% + \def\thefigure{\thesection\@arabic\c@figure}% + \@addtoreset{table}{section}% + \setcounter{table}{0}% + \def\thetable{\thesection\@arabic\c@table}% + \fi + \global\let\old@sect\@sect + \def\@sect##1##2##3##4##5##6[##7]##8{% + \ifnum ##2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{##1}% + \ifnum ##2=\@ne + \def\@tempa{##8}% + \protected@edef\@svsec{% + \appendixname\space\csname the##1\endcsname + \ifx\@tempa\@empty\else:\enskip\fi\relax}% + \else + \protected@edef\@svsec{\@seccntformat{##1}\relax}% + \fi + \fi + \@tempskipa ##5\relax + \ifdim \@tempskipa>\z@ + \begingroup + \ifnum ##2=\@ne\let\@hangfrom\noindent\fi + ##6{% + \@hangfrom{\hskip ##3\relax\@svsec}% + \interlinepenalty \@M ##8\@@par}% + \endgroup + \csname ##1mark\endcsname{##7}% + \addcontentsline{toc}{##1}{% + \appendixname\space\csname the##1\endcsname\if!##7!\else:\space\fi%for bookmarks + ##7}% + \else + \def\@svsechd{% + ##6{\hskip ##3\relax + \@svsec ##8}% + \csname ##1mark\endcsname{##7}% + \addcontentsline{toc}{##1}{% + \appendixname\space\csname the##1\endcsname\if!##7!\else:\space\fi%for bookmarks + ##7}}% + \fi + \@xsect{##5}} + \global\let\old@ssect\@ssect + \def\@ssect##1##2##3##4##5{% + \@tempskipa ##3\relax + \ifdim \@tempskipa>\z@ + \begingroup + ##4{% + \@hangfrom{\hskip ##1}% + \@tempskipa##2\relax + \ifdim\@tempskipa<-17\p@%check for sectionlevel=1 + \appendixname + \def\@tempa{##5}\ifx\@tempa\@empty\else:\enskip\fi + \fi + \interlinepenalty \@M ##5\@@par}% + \endgroup + \else + \def\@svsechd{##4{\hskip ##1\relax ##5}}% + \fi + \@xsect{##3}}} +\def\noappendix{\setcounter{secnumdepth}{0}% + \global\let\section=\orisection + \global\let\thesection=\theolds + \global\let\thesubsection=\theoldss + \ifx\old@sect\@undefined\else\global\let\@sect\old@sect\fi + \ifx\old@ssect\@undefined\else\global\let\@ssect\old@ssect\fi + \def\thefigure{\@arabic\c@figure}% + \def\thetable{\@arabic\c@table}} +\IfFileExists{url.sty} + {\RequirePackage{url}\urlstyle{same}}% + {\CopernicusWarningNoLine{Cannot find url.sty; proceeding without it}% + \def\url#1{% + \CopernicusError{To use \string\url, you must have url.sty}{Install url.sty}}} +\newcommand\doitext{https://doi.org/} +\newcommand*\doi{% + \begingroup + \lccode`\~=`\#\relax + \lowercase{\def~{\#}}% + \lccode`\~=`\_\relax + \lowercase{\def~{\_}}% + \lccode`\~=`\<\relax + \lowercase{\def~{\textless}}% + \lccode`\~=`\>\relax + \lowercase{\def~{\textgreater}}% + \lccode`\~=0\relax + \catcode`\#=\active + \catcode`\_=\active + \catcode`\<=\active + \catcode`\>=\active + %catcode change won't work after \bibitem while backref.sty + % grabs for the whole entry + \@doi} +\def\@doi#1{% + \let\#\relax + \let\_\relax + \let\textless\relax + \let\textgreater\relax + \edef\x{\toks0={{#1}}}% + \x + \edef\#{\@percentchar23}% + \edef\_{_}% + \edef\textless{\@percentchar3C}% instead of {\string<} for Apple + \edef\textgreater{\@percentchar3E}% instead of {\sting>} for Apple + \edef\x{\toks1={\noexpand\href{https://doi.org/#1}}}% + \x + \edef\x{\endgroup\doitext\the\toks1 \the\toks0}% + \x} +\IfFileExists{accents.sty} + {\RequirePackage{accents}} + {\CopernicusWarningNoLine{Cannot find accents.sty; proceeding without it}} +\IfFileExists{cancel.sty} + {\RequirePackage{cancel}} + {\CopernicusWarningNoLine{Cannot find cancel.sty; proceeding without it}} +\IfFileExists{multirow.sty} + {\RequirePackage{multirow}} + {\CopernicusWarningNoLine{Cannot find multirow.sty; proceeding without it}} +\IfFileExists{supertabular.sty} + {\RequirePackage{supertabular}% + \let\old@tablecaption\tablecaption + \def\tablecaption{\def\@captype{table}\old@tablecaption} + \let\old@supertabular\supertabular + \def\supertabular{% + \clearpage + \centering + \small + \old@supertabular} + \@namedef{supertabular*}##1{% + \clearpage + \centering + \small + \@ifnextchar[{\@nameuse{@supertabular*}{##1}}% + {\@nameuse{@supertabular*}{##1}[]}%] + } + \let\old@endsupertabular\endsupertabular + \def\ud@captype{\let\@captype\@undefined} + \def\ud@cr{\let\\\@normalcr} + \long\def\endsupertabular{% + \old@endsupertabular\par + \global\let\@table@first@head\undefined + \global\let\@table@last@tail\undefined + \tablehead{}% + \tabletail{}% + \aftergroup\ud@captype + \aftergroup\ud@cr} + \expandafter\let\csname endsupertabular*\endcsname\endsupertabular} + {\CopernicusWarningNoLine{Cannot find supertabular.sty; proceeding without it}} +\IfFileExists{algorithmic.sty} + {\RequirePackage{algorithmic}} + {\CopernicusWarningNoLine{Cannot find algorithmic.sty; proceeding without it}} +\IfFileExists{algorithm.sty} + {\if@stage@final + \else + \def\extra@float##1{% + \@ifnextchar[%] + {\orig@xfloat{##1}}% + {\edef\reserved@a{\noexpand\orig@xfloat{##1}[\csname fps@##1\endcsname]}% + \reserved@a}} + \RequirePackage{float}% + \def\float@restyle##1{\expandafter\edef\csname + fst@##1\endcsname{\expandafter\noexpand\csname + fs@\float@style\endcsname}% + \@namedef{##1}{\@nameuse{fst@##1}% + \@float@setevery{##1}\extra@float{##1}}% + \@namedef{##1*}{\@nameuse{fst@##1}% + \@float@setevery{##1}\@dblfloat{##1}}% + \expandafter\let\csname end##1\endcsname\float@end + \expandafter\let\csname end##1*\endcsname\float@dblend + \expandafter\let\csname @float@c@##1\endcsname=\float@caption + \@ifundefined{@float@every@##1}{% + \expandafter\newtoks\csname @float@every@##1\endcsname}{}% + \@nameuse{@float@every@##1}={}} + \def\float@end{\@endfloatbox + \global\setbox\@currbox\float@makebox\columnwidth + \let\@endfloatbox\relax\orig@end@float} + \fi + \RequirePackage{algorithm} + \def\theHalgorithm{\@arabic\c@algorithm}} + {\CopernicusWarningNoLine{Cannot find algorithm.sty; proceeding without it}} +\let\cop@makecaption\@makecaption +\if@stage@final + \IfFileExists{caption.sty} + {\RequirePackage{caption}} + {\CopernicusWarningNoLine{Cannot find caption.sty; proceeding without it}} +\else + \IfFileExists{subfig.sty} + {\RequirePackage{subfig}} + {\CopernicusWarningNoLine{Cannot find subfig.sty; proceeding without it}} +\fi +\let\@makecaption\cop@makecaption +\IfFileExists{subfloat.sty} + {\RequirePackage{subfloat}% + \protected@xdef\themainfigure{\thefigure}% + \protected@xdef\themaintable{\thetable}% + \g@addto@macro\subfiguresbegin{\global\let\theHfigure\thesubfloatfigure} + \g@addto@macro\subtablesbegin{\global\let\theHtable\thesubfloattable} + \g@addto@macro\subfiguresend{\global\let\theHfigure\thefigure@original} + \g@addto@macro\subtablesend{\global\let\theHtable\thetable@original}} + {\CopernicusWarningNoLine{Cannot find subfloat.sty; proceeding without it}} +\RequirePackage[authoryear,round]{natbib} +\def\NAT@sort{0}\def\NAT@cmprs{0} +\renewcommand\NAT@sep{;} \renewcommand\NAT@cmt{, } +\renewcommand\NAT@aysep{,} \renewcommand\NAT@yrsep{, } +\setlength\bibsep\z@ +\let\bibfont\small +\NAT@numbersfalse +\NAT@set@cites +\let\NAT@set@cites\relax +\AtBeginDocument{\let\@citex\NAT@citex} +\newcommand\urlprefix{} +\renewenvironment{thebibliography}[1] + {\bibsection + \if@secline\leavevmode\vspace*{-\baselineskip}\nobreak\fi + \parindent\z@ + \bibpreamble + \bibfont + \list{\@biblabel{\arabic{NAT@ctr}}}{\@bibsetup{#1}% + \setcounter{NAT@ctr}{0}}% + \ifNAT@openbib + \renewcommand\newblock{\par} + \else + \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}% + \fi + \sloppy + %\clubpenalty4000\widowpenalty4000 + \sfcode`\.=1000\relax + \let\citeN\cite \let\shortcite\cite + \let\citeasnoun\cite} + {\def\@noitemerr{% + \PackageWarning{natbib}{Empty `thebibliography' environment}}% + \endlist\vskip-\lastskip} +\def\bibsection{% + \if@stage@final + \if@manuscript\newpage\fi + \pdfbookmark[1]{\refname}{biblio}% + \fi + \noappendix\section*{\refname\if@cop@home\ifonline\hypertarget{references}{}\fi\fi}} +\RequirePackage{rotating} +\def\@rotxdblfloat#1[#2]{% + \@float{#1}[#2]% + \hsize\textwidth\linewidth\textwidth + \begin{lrbox}\rot@float@box + \begin{minipage}\textheight +} +\IfFileExists{lineno.sty} + {\RequirePackage[mathlines,modulo]{lineno}% + \if@stage@final + \if@manuscript + \linenumbers\setpagewiselinenumbers\renewcommand\linenumberfont{\normalfont\small\sffamily}% + \else + \setpagewiselinenumbers\switchlinenumbers%cf. the switch option + \linenumbersep3\p@ + \if@cop@home + \nolinenumbers + \else%new, 2015-12-14 + \linenumbers + \fi + \fi + \else + \setpagewiselinenumbers + \if@cop@home\linenumbers\fi + \fi + \g@addto@macro\nolinenumbers{\linenopenalty\z@}%avoids problems with \patchAmsMathEnvironmentForLinenoX while \nolinenumbers + \newcommand*\patchAmsMathEnvironmentForLineno[1]{% + \expandafter\let\csname old##1\expandafter\endcsname\csname ##1\endcsname + \expandafter\let\csname oldend##1\expandafter\endcsname\csname end##1\endcsname + \renewenvironment{##1}% + {\linenomath\csname old##1\endcsname}% + {\csname oldend##1\endcsname\endlinenomath}}% + \newcommand*\patchBothAmsMathEnvironmentsForLineno[1]{% + \patchAmsMathEnvironmentForLineno{##1}% + \patchAmsMathEnvironmentForLineno{##1*}}% + \newcommand*\patchAmsMathEnvironmentForLinenoX[1]{% + \expandafter\let\csname old##1\expandafter\endcsname\csname ##1\endcsname + \expandafter\let\csname oldend##1\expandafter\endcsname\csname end##1\endcsname + \renewenvironment{##1}% + {\linenomath\advance + \postdisplaypenalty-\linenopenalty + \csname old##1\endcsname}% + {\csname oldend##1\endcsname\endlinenomath}}% + \newcommand*\patchBothAmsMathEnvironmentsForLinenoX[1]{% + \patchAmsMathEnvironmentForLinenoX{##1}% + \patchAmsMathEnvironmentForLinenoX{##1*}}% + \AtBeginDocument{% + \patchBothAmsMathEnvironmentsForLineno{equation}% + \patchBothAmsMathEnvironmentsForLinenoX{align}% + \patchBothAmsMathEnvironmentsForLinenoX{flalign}% + \patchBothAmsMathEnvironmentsForLinenoX{alignat}% + \patchBothAmsMathEnvironmentsForLinenoX{gather}% + \patchBothAmsMathEnvironmentsForLinenoX{multline}}} + {\CopernicusWarningNoLine{Cannot find lineno.sty; proceeding without it}% + \let\nolinenumbers\bgroup\let\endnolinenumbers\egroup} +\IfFileExists{times.sty} + {\RequirePackage{times} + \def\Hv@scale{0.95}} + {\CopernicusWarningNoLine{Cannot find times.sty; proceeding without it}} +\if@stage@final + \if@cop@home + \let\vec\@undefined + \let\grave\@undefined + \let\acute\@undefined + \let\check\@undefined + \let\breve\@undefined + \let\bar\@undefined + \let\hat\@undefined + \let\dot\@undefined + \let\tilde\@undefined + \let\ddot\@undefined + \ifx\xmltexversion\@undefined\else{\catcode`\_=\active\global\let\xmltexUndersc@re_}\fi + \def\provide@orig@symbol#1{\expandafter\let\csname orig#1\expandafter\endcsname\csname#1\endcsname} + \provide@orig@symbol{Gamma} + \provide@orig@symbol{Delta} + \provide@orig@symbol{Theta} + \provide@orig@symbol{Lambda} + \provide@orig@symbol{Xi} + \provide@orig@symbol{Pi} + \provide@orig@symbol{Sigma} + \provide@orig@symbol{Upsilon} + \provide@orig@symbol{Phi} + \provide@orig@symbol{Psi} + \provide@orig@symbol{Omega} + \RequirePackage[mtbold]{mathtime} + \DeclareSymbolFont{largesymbolsA}{U}{esint}{m}{n}%from esint.sty + \DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{'015}%from esint.sty + \def\oiint{\oiintop\nolimits}%from esint.sty + \ifx\xmltexversion\@undefined\else{\catcode`\_=\active\global\let_\xmltexUndersc@re}\fi + \if@sansserifface + \DeclareMathVersion{sans} + \DeclareMathVersion{sansbold} + \def\mversion@sans{sans}\def\mversion@sansbold{sansbold} + \SetSymbolFont{operators}{sans}{OT1}{hvr}{m}{n}% + \SetSymbolFont{letters}{sans}{OML}{hvm}{m}{it}% + \SetSymbolFont{symbols} {sans}{MY2}{mtt}{m}{n}%because +=; reencoded in mathtime.sty + \SetSymbolFont{largesymbols}{sans}{OMX}{hvex}{m}{n}% + \SetSymbolFont{operators}{sansbold}{OT1}{hvr}{bx}{n}% + \SetSymbolFont{letters}{sansbold}{OML}{hvm}{b}{it}% + \SetSymbolFont{symbols} {sansbold}{MY2}{mtt}{b}{n}%because +=; reencoded in mathtime.sty + \def\provide@fontspec@symbol#1{% + \expandafter\let\csname mt#1\expandafter\endcsname\csname#1\endcsname + \expandafter\DeclareRobustCommand\expandafter*\csname #1\endcsname{% + \ifx\math@version\mversion@sans\csname orig#1\endcsname + \else\ifx\math@version\mversion@sansbold\csname orig#1\endcsname + \else\csname mt#1\endcsname\fi\fi}} + \provide@fontspec@symbol{Gamma} + \provide@fontspec@symbol{Delta} + \provide@fontspec@symbol{Theta} + \provide@fontspec@symbol{Lambda} + \provide@fontspec@symbol{Xi} + \provide@fontspec@symbol{Pi} + \provide@fontspec@symbol{Sigma} + \provide@fontspec@symbol{Upsilon} + \provide@fontspec@symbol{Phi} + \provide@fontspec@symbol{Psi} + \provide@fontspec@symbol{Omega} + \DeclareMathDelimiter{(}{\mathopen} {operators}{"28}{largesymbols}{"00}%was reencoded in mathtime.sty + \DeclareMathDelimiter{)}{\mathclose}{operators}{"29}{largesymbols}{"01}%was reencoded in mathtime.sty + \SetMathAlphabet\mathrm{sans}{OT1}{hvr}{m}{n}%mind! (gives more flexibility) + \SetMathAlphabet\mathrm{sansbold}{OT1}{hvr}{bx}{n}%mind! (gives more flexibility) + \SetMathAlphabet\mathit{sans}{OT1}{hvr}{m}{it}% + \SetMathAlphabet\mathit{sansbold}{OT1}{hvr}{bx}{it}% + \SetMathAlphabet\mathbf{sans}{OT1}{hvr}{bx}{n}% + \SetMathAlphabet\mathbf{sansbold}{OT1}{hvr}{bx}{n}% + \RequirePackage{hvams} + \DeclareMathAlphabet\mathbold{MY1}{mtt}{b}{\greekshape}% + \SetMathAlphabet\mathbold{sans}{OML}{hvm}{b}{it}% + \SetMathAlphabet\mathbold{sansbold}{OML}{hvm}{bx}{it}% + \fi + \else + \if@sansserifface + \DeclareMathVersion{sans} + \DeclareMathVersion{sansbold} + \SetSymbolFont{operators}{sansbold}{OT1}{cmr} {bx}{n} + \SetSymbolFont{letters} {sansbold}{OML}{cmm} {b}{it} + \SetSymbolFont{symbols} {sansbold}{OMS}{cmsy}{b}{n} + \SetMathAlphabet\mathsf{sansbold}{OT1}{cmss}{bx}{n} + \SetMathAlphabet\mathit{sansbold}{OT1}{cmr}{bx}{it} + \DeclareMathAlphabet\mathbold{OML}{cmm}{b}{it}% + \fi + \fi +\else%discussions + \if@cop@home + \if@hvmath + \RequirePackage{hvmath} + \expandafter\let\csname\expandafter\string\csname T1\endcsname\string\'-\string y\endcsname\relax%patching wrong glyph in hvr, slot 253 + \DeclareMathSymbol{,}{\mathpunct}{operators}{"2C} + \DeclareMathSymbol{.}{\mathord}{operators}{"2E} + \RequirePackage{hvams} + \else + \let\rmdefault\sfdefault + \DeclareSymbolFont{operators}{OT1}{cmss} {m}{n} + \DeclareMathAlphabet{\mathbf}{OT1}{cmss}{bx}{n} + \fi + \else + \let\rmdefault\sfdefault + \DeclareSymbolFont{operators}{OT1}{cmss} {m}{n} + \DeclareMathAlphabet{\mathbf}{OT1}{cmss}{bx}{n} + \fi +\fi +\DeclareMathAlphabet{\mathblackbold}{U}{dsrom}{m}{n} +\RequirePackage{pifont} +\if@cop@home + \if@nohyperref + \else + \if@stage@final\else + \PassOptionsToPackage{pagebackref,pdffitwindow}{hyperref} + \fi + \usepackage[\ifcopyediting bookmarks=false\else bookmarks=true\fi,colorlinks]{hyperref} + \hypersetup{anchorcolor=black,citecolor=black,filecolor=black,linkcolor=black,% + menucolor=black,pagecolor=black,urlcolor=black} + \let\old@Hy@backout\Hy@backout\def\Hy@backout{\leavevmode\old@Hy@backout}%bug-fixing, to be checked + \ifnum\pdfoutput=\z@\RequirePackage{breakurl}\fi + \pdfstringdefDisableCommands{\let\boldsymbol\relax\let\vec\relax} + \fi + \edef\@pdfcreator{% + copernicus.cls% + \space version \csname ver@copernicus.cls\endcsname + \ifx\xmltexversion\@undefined\else, produced from XML\fi} + \if@nohyperref\pdfinfo{/Creator (\@pdfcreator)}\fi +\else + \usepackage[bookmarks=false,pdfborder={0 0 0}]{hyperref} + \pdfstringdefDisableCommands{\let\boldsymbol\relax\let\vec\relax} +\fi +\ifx\xmltexversion\@undefined +\else + \ifnum\pdfoutput=\z@ + \def\ReadBookmarks{% + \begingroup + \escapechar=`\\% + \let\escapechar\@gobble % + \def\@@BOOKMARK[##1][##2]##3##4##5{\calc@bm@number{##5}}% + \@inputtoc{\jobname.out}{}{}% + \ifx\WriteBookmarks\relax + \global\let\WriteBookmarks\relax + \fi + \def\@@BOOKMARK[##1][##2]##3##4##5{% + \def\Hy@temp{##4}% + \pdfmark{% + pdfmark=/OUT,% + Count={##2\check@bm@number{##3}},% + Dest={##3},% + Title=\expandafter\strip@prefix\meaning\Hy@temp + }% + }% + {% + \def\WriteBookmarks{0}% + \@inputtoc{\jobname.out}{}{}% + }% + %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}% + \ifx\WriteBookmarks\relax + \else + \if@filesw + \newwrite\@outlinefile + \immediate\openout\@outlinefile=\jobname.out\relax + \ifHy@typexml + \immediate\write\@outlinefile{\relax}% + \fi + \fi + \fi + \endgroup} + \else + \def\ReadBookmarks{% + \begingroup + \escapechar=`\\% + \let\escapechar\@gobble % + \def\@@BOOKMARK[##1][##2]##3##4##5{\calc@bm@number{##5}}% + \@inputtoc{\jobname.out}{}{}% + \ifx\WriteBookmarks\relax + \global\let\WriteBookmarks\relax + \fi + \def\@@BOOKMARK[##1][##2]##3##4##5{% + \def\Hy@temp{##4}% + \Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}% + \Hy@OutlineName{}\Hy@pstringName{% + ##2\check@bm@number{##3}% + }{% + \expandafter\strip@prefix\meaning\Hy@temp + }% + }% + {% + \def\WriteBookmarks{0}% + \@inputtoc{\jobname.out}{}{}% + }% + %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}% + \ifx\WriteBookmarks\relax + \else + \if@filesw + \newwrite\@outlinefile + \immediate\openout\@outlinefile=\jobname.out\relax + \ifHy@typexml + \immediate\write\@outlinefile{\relax}% + \fi + \fi + \fi + \endgroup} + \fi +\fi +\if@stage@final\else + \if@cop@home + \ifonline + \let\orig@psheadings\ps@headings + \let\orig@abstractname\abstractname + \let\orig@pdfcreator\@pdfcreator + \usepackage[screen,rightpanel]{pdfscreencop} + \let\ps@headings\orig@psheadings \pagestyle{headings}%because pdfscreencop overwrites it + \let\abstractname\orig@abstractname%because pdfscreencop overwrites it + \let\@pdfcreator\orig@pdfcreator%because pdfscreencop overwrites it + \setcounter{secnumdepth}{3}%because pdfscreencop sets it to 4 + \setlength\footskip{5mm}%because pdfscreencop overwrites it + \def\addButton#1#2{\begingroup\normalsfcodes\fboxsep\z@ + \sffamily\colorbox{buttonbackground}{\hbox to#1{\hfil\Black\st#2\hfil}}\endgroup} + \hypersetup{anchorcolor=black,citecolor=black,filecolor=black,linkcolor=black,% + menucolor=black,pagecolor=black,urlcolor=black,% + pdfcenterwindow=false,pdfmenubar=true,pdftoolbar=true,pdfwindowui=true} + %because pdfscreencop overwrites it + \def\PDFSCR@Warning#1{}% no more "No overlay specified" warnings + \setlength\panelwidth{5cm}% + \newlength\bigbutton\setlength\bigbutton{0.75\panelwidth}% + \newlength\buttongap\setlength\buttongap{0.06\panelwidth}% + \newlength\smallbutton\setlength\smallbutton{0.5\bigbutton}% + \addtolength\smallbutton{-0.5\buttongap-0.5pt}% + \def\panelfont{\rmfamily\scriptsize}% + \margins{10mm}{10mm}{7mm}{7mm}% + \screensize{15.9cm}{21.6cm}% + \definecolor{backgroundcolor}{rgb}{1.,1.,1.}%white + \backgroundcolor{backgroundcolor}% + \definecolor{section0}{rgb}{0.,0.,0.}%black + \definecolor{section1}{rgb}{0.,0.,0.}%black + \definecolor{section2}{rgb}{0.,0.,0.}%black + \definecolor{section3}{rgb}{0.,0.,0.}%black + \definecolor{section4}{rgb}{0.,0.,0.}%black + \def\panel{% + \colorbox[rgb]{0.94,0.95,0.95}% + {\begin{minipage}[t][\paperheight][t]{\panelwidth} + %% set default font for panel: + \fontseries{m}\fontshape{n}\fontsize{11}{13.7pt}\rmfamily + %% journal name, volume, pages, year, runningtitle, runningauthor: + \null\vspace*{7mm}% + \centering + \parbox[t]{0.8\panelwidth}% + {\centering\color{paneltext}% + {\Large\bfseries + %overwrite of default urlcolor=black to journal-specific color @journalname + %for the @journalnameshort link to the journal webpage on the panel + \hypersetup{urlcolor=journalname}% + \href{http://\@journalurl}{\@journalnameshort}}\\[2mm] + \if@noref + \else + {\fontsize{8.7}{11}\selectfont + %\@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi, \@pyear + \hypersetup{urlcolor=paneltext}\doi{10.5194/\@msnumber}% + }\\[1mm]% + \fi + \rule{0.8\panelwidth}{1.1pt}\\[1mm] + {\bfseries\mathversion{bold}% + \leavevmode\null + \ifx\firstruntit@utput\@undefined + \global\let\firstruntit@utput\relax + \else + \def\blackb@x[##1]##2{\relax}% + \fi + \@runtit}% + \if@noauthor\else\\[3mm]{\small\leavevmode\null\@runauth}\fi + \\[0mm]% + \rule{0.8\panelwidth}{1.1pt}\\[5mm]} %keep this blank! + %% the buttons: + \addButton{\bigbutton} + {\hyperlink{title}{\hfill\color{buttontext}Title Page\hfill}}% + \\[1.5mm] + \addButton{\smallbutton} + {\hyperlink{abstr}{\hfill\color{buttontext}Abstract\hfill}}% + \hspace{\buttongap}% + \ifessd + \addButton{\smallbutton} + {\hyperlink{instru}{\hfill\color{buttontext}Instruments\hfill}}% + \\[1.5mm] + \else + \addButton{\smallbutton} + {\hyperlink{intro}{\hfill\color{buttontext}Introduction\hfill}}% + \\[1.5mm] + \fi + \ifessd + \addButton{\bigbutton} + {\hyperlink{datastruct}{\hfill\color{buttontext}Data Provenance \& Structure\hfill}}% + \\[1.5mm] + \else + \addButton{\smallbutton} + {\hyperlink{conclusions}{\hfill\color{buttontext}Conclusions\hfill}}% + \hspace{\buttongap}% + \addButton{\smallbutton} + {\hyperlink{references}{\hfill\color{buttontext}References\hfill}}% + \\[1.5mm] + \fi + \addButton{\smallbutton} + {\@ifundefined{@numtable}%automatically defined via \@num\@captype + {\hfill\color{buttontext}Tables\hfill} + {\hyperlink{table}{\hfill\color{buttontext}Tables\hfill}}}% + \hspace{\buttongap}% + \addButton{\smallbutton} + {\@ifundefined{@numfigure}% automatically defined via \@num\@captype + {\hfill\color{buttontext}Figures\hfill} + {\hyperlink{figure}{\hfill\color{buttontext}Figures\hfill}}}% + \\[4mm]% + \Acrobatmenu{FirstPage}{\addButton{\smallbutton}% + {\color{buttontext}$\rule[-0.144ex]{0.35ex}{1.244ex}\!\blacktriangleleft$}}% + \hspace{\buttongap}% + \Acrobatmenu{LastPage} + {\addButton{\smallbutton}% + {\color{buttontext}$\blacktriangleright\!\rule[-0.144ex]{0.35ex}{1.244ex}$}}% + \\[1.5mm] + \Acrobatmenu{PrevPage} + {\addButton{\smallbutton}{\color{buttontext}$\blacktriangleleft$}}% + \hspace{\buttongap}% + \Acrobatmenu{NextPage} + {\addButton{\smallbutton}{\color{buttontext}$\blacktriangleright$}}% + \\[1.5mm] + \Acrobatmenu{GoBack}{\addButton{\smallbutton}{\color{buttontext}Back}}% + \hspace{\buttongap}% + \Acrobatmenu{Close}{\addButton{\smallbutton}{\color{buttontext}Close}}% + \\[1.5mm] + \Acrobatmenu{FullScreen}{\addButton{\bigbutton}{\color{buttontext}Full Screen / Esc}}% + \\[4mm] + \addButton{\bigbutton} + {\href{http://\@journalurl/\@pvol/\@fpage/\@pyear/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-print.pdf}% + {\hfill\color{buttontext}Printer-friendly Version\hfill}}% + \\[1.5mm] + \addButton{\bigbutton} + {\href{http://\@journalurl/\@pvol/\@fpage/\@pyear/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-discussion.html}% + {\hfill\color{buttontext}Interactive Discussion\hfill}}% + \\[4mm] + \href{http://creativecommons.org/licenses/by/3.0/}{\includegraphics[width=1.7cm]{CreativeCommons_Attribution_License.png}}% + \null\vspace*{10mm}% + \end{minipage}}} + \fi + \fi +\fi +%% some of the following commands are only active if \@cop@hometrue +\def\texlicencestatement#1{\gdef\@texlicencestatement{#1}}% + \def\@texlicencestatement{\CopernicusError{Please add \string\texlicencestatement}{You must provide the licence statement before \string\maketitle"}} +\def\received#1{\if@cop@home\def\@recvd{#1}\fi} \def\@recvd{}%+1,+2,+d +\def\pubdiscuss#1{\if@cop@home\def\@pubdiscuss{#1}\fi} \def\@pubdiscuss{}%+1,+2,-d -- twostagejnltrue +\def\revised#1{\if@cop@home\def\@revsd{#1}\fi} \def\@revsd{}%+1,+2,-d +\def\accepted#1{\if@cop@home\def\@accptd{#1}\fi} \def\@accptd{}%+1,+2,+d +\def\published#1{\if@cop@home\gdef\@published{#1}\fi} \if@stage@final\else\def\@published{}\fi%+1,+2,+d +\def\firstpage#1{\if@cop@home\ifx\specialp@perstring\@undefined\ifx\citati@nbyarticlenumber\@undefined\gdef\@fpage{#1}\fi\fi\fi} + \def\@fpage{1}%+1,+2,+d +\def\articlenumber#1{\if@cop@home\ifx\specialp@perstring\@undefined\ifx\citati@nbyarticlenumber\relax\gdef\@fpage{#1}\fi\fi\fi} +\def\citationbyarticlenumber{% + \@nolastpagetrue + \let\citati@nbyarticlenumber\relax + \def\@fpage{-1}} +\ifx\xmltexversion\@undefined + \@onlypreamble\citationbyarticlenumber +\fi +\def\pubyear#1{\if@cop@home\ifx\specialp@perstring\@undefined\gdef\@pyear{#1}\fi\gdef\@cyear{#1}\fi} + \def\@pyear{\number\year}%+1,+2,+d + \let\@cyear\@pyear +\def\pubvol#1{\if@cop@home\ifx\specialp@perstring\@undefined\gdef\@pvol{#1}\fi\fi}%+1,+2,+d +\let\pubnum\@gobble%not for TeX, only for secondary data use +\def\correspondence#1{\gdef\@corresp{#1}} \def\@corresp{}%+1,+2,+d +\def\citationstatement#1{% + \edef\@@doi{https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear}% + \def\@tempa{#1}% + \ifx\@tempa\@empty + \gdef\@howtocite{}% + \else + \gdef\@howtocite{#1, \@journalnameabbreviation, \@pvol, \@fpage--\@lpage, \expandafter\url{\@@doi}, \@pyear.}% + \fi +}\def\@howtocite{}%+1,+2,+d +\def\msnumber#1{\if@cop@home\gdef\@msnumber{#1}\fi} +\if@stage@final +\else + \def\affilfontsize#1{\def\@affilfontsize{#1}} + \def\@affilfontsize{\small} +\fi +\if@stage@final + \def\bartext#1{\gdef\@btext{#1}} \def\@btext{} +\fi +\if@cop@home + \newcounter{jnlvolume}%the journal volume + \setcounter{jnlvolume}{\number\year} + \addtocounter{jnlvolume}{1} + \AtBeginDocument{\addtocounter{jnlvolume}{-\@journalstartyear}} + \def\@pvol{\arabic{jnlvolume}} + \if@stage@final + \ifadgeo\def\@pvol{1}\fi + \ifasr\def\@pvol{1}\fi + \fi + \AtBeginDocument{% + \ifx\specialp@perstring\@undefined\else + \def\origfirstpage#1{\ifx\citati@nbyarticlenumber\@undefined\gdef\@fpage{#1}\fi} + \def\origlastpage#1{\gdef\@lpage{#1}} + \def\origpubyear#1{\gdef\@pyear{#1}} + \def\origpubvol#1{\gdef\@pvol{#1}} + \def\origarticlenumber#1{\ifx\citati@nbyarticlenumber\relax\gdef\@fpage{#1}\fi} + \fi} +\else + \def\@pvol{0} +\fi +\if@stage@final + \def\keywords#1{\def\@keyw{#1}} + \def\@keyw{} +\else + \def\keywords#1{% + \CopernicusWarningNoLine{Keywords are not supported.}% + \vspace{1.7mm}\par\noindent\textbf{Keywords.}\enspace\ignorespaces#1} +\fi +\newcommand*\editorthanks[3] + {\ifthenelse{\equal{#2}{}}% check if the first referee exits, if not write: + {\\ \hspace*{4mm} Topical Editor\ #1\ thanks two unknown referees % + for their help in evaluating this paper.} + {\ifthenelse{\equal{#3}{}}% check if second referee exist, if not write: + {\\ \hspace*{4mm}Topical Editor\ #1\ thanks\ #2\ and another % + referee for their help in evaluating this paper.}% + {\\ \hspace*{4mm}Topical Editor\ #1\ thanks\ #2\ and\ #3\ for their % + help in evaluating this paper.}}} +\def\runningauthor#1{\def\@runauth{#1}} +\def\@runauth{} +\def\runningtitle#1{\def\@runtit{#1}} +\def\@runtit{} +\if@stage@final + \def\runninghead#1{\def\@runhd{#1}} + \def\@runhd{% + \ifx\firstrunhd@utput\@undefined + \global\let\firstrunhd@utput\relax + \else + \def\blackb@x[##1]##2{\relax}% + \fi + \if@noauthor\else\@runauth: \fi\@runtit} +\fi +\DeclareRobustCommand*\degree{\ensuremath{^{\circ}}} +\DeclareRobustCommand*\permil{\ifmmode\text{\textperthousand}\else\textperthousand\fi} +\def\@Radical{\put(2.0,2.0){\circle*{1.5}}\kern3.5\p@} +\def\@RadicalC{\raise0.25ex\hbox{\@Radical}} +\DeclareRobustCommand*\Radical{% + \ifmmode\mathchoice{\@RadicalC}{\@RadicalC}{\@Radical}{\@Radical}\else\@RadicalC\fi} +\def\testbx{bx} +\DeclareRobustCommand*\chem[1] + {\ensuremath{% + {\mathcode`\-="0200\mathcode`\=="003D% no space around "-" and "=" + \ifx\f@series\testbx\mathbf{#1}\else\mathrm{#1}\fi}}} +\@ifpackageloaded{hyperref} + {\begingroup + \toks0=\expandafter{\pdfstringdefPreHook}% + \xdef\pdfstringdefPreHook{% + \the\toks0 % + \let\noexpand\hack\noexpand\@gobble + \let\noexpand\chem\noexpand\@firstofone}% + \endgroup} + {\relax} +\DeclareRobustCommand*\unit[1] + {\ensuremath{% + {\thinmuskip3mu\relax + \def\mu{\text{\textmu}}\def~{\,}% + \ifx\f@series\testbx\mathbf{#1}\else\mathrm{#1}\fi}}} +\@definecounter{reaction} +\def\thereaction{R\@arabic\c@reaction} +\let\c@org@eq\c@equation +\let\org@theeq\theequation +\def\setreaction{% + \global\let\c@equation\c@reaction + \global\let\theequation\thereaction} +\def\setequation{% + \global\let\c@equation\c@org@eq + \global\let\theequation\org@theeq} +\newenvironment{reaction} + {\let\c@equation\c@reaction + \let\theequation\thereaction + \incr@eqnum + \mathdisplay@push + \st@rredfalse \global\@eqnswtrue + \mathdisplay{equation}} + {\endmathdisplay{equation}% + \mathdisplay@pop + \ignorespacesafterend} +\IfFileExists{lineno.sty} + {\AtBeginDocument{% + \patchAmsMathEnvironmentForLineno{reaction}}} + {} +\newenvironment{rxnarray} + {\let\c@equation\c@reaction + \let\theequation\thereaction + \eqnarray} + {\endeqnarray + \let\c@equation\c@reaction + \let\theequation\thereaction} +\if@stage@final\else + \newcounter{parentreaction} + \newenvironment{subreactions} + {\refstepcounter{reaction}% + \protected@edef\theparentreaction{\thereaction}% + \setcounter{parentreaction}{\value{reaction}}% + \setcounter{reaction}{0}% + \def\thereaction{\theparentreaction\alph{reaction}}% + \ignorespaces} + {\setcounter{reaction}{\value{parentreaction}}% + \ignorespacesafterend} +\fi +\newcommand\tophline{\hline\noalign{\vspace{1mm}}} +\newcommand\middlehline{\noalign{\vspace{1mm}}\hline\noalign{\vspace{1mm}}} +\newcommand\bottomhline{\noalign{\vspace{1mm}}\hline} +\newcommand\hhline{\noalign{\vspace{1mm}}\hline\noalign{\vspace{1mm}}} +\newdimen\tabularwidth +\def\@tabular{% + \leavevmode + \setbox\z@ + \hbox \bgroup $\col@sep\tabcolsep \let\d@llarbegin\begingroup + \let\d@llarend\endgroup + \@tabarray} +\def\endtabular{\endarray $\egroup + \global\tabularwidth\wd\z@ + \unhbox\z@} +\expandafter\let\csname endtabular*\endcsname=\endtabular +\DeclareRobustCommand\belowtable[1]{% + \par\vspace{1ex}% + {\if@stage@final\else\def\@tempa{table}\ifx\@captype\@tempa\else\centering\fi\fi + \ifdim\tabularwidth<10mm\tabularwidth\hsize\fi + \leavevmode\vrule\@width\z@\@height2ex\@depth\z@ + \parbox{\tabularwidth}{\raggedright\scriptsize#1}% + \if@stage@final\else\par\fi}} +\ifessd + \newcommand\instrumentation[1][Instrumentation] + {\section[#1]{#1\if@cop@home\ifonline\hypertarget{instru}{}\fi\fi}% + \gdef\instrumentationexists{true}% + \gdef\introductionexists{true}} + \newcommand\datastructure[1][Data Provenance and Structure] + {\section[#1]{#1\if@cop@home\ifonline\hypertarget{datastruct}{}\fi\fi}% + \gdef\datastructureexists{true}% + \gdef\conclusionsexists{true}} + \AtEndDocument{% + \@ifundefined{instrumentationexists} + {\@ifundefined{introductionexists} + {\NoSectionError{Instrumentation}{\string\instrumentation}% + \gdef\introductionexists{true}} + {\CopernicusWarningNoLine{No section "Instrumentation"}}} + {} + \@ifundefined{datastructureexists} + {\@ifundefined{conclusionsexists} + {\NoSectionError{Data Provenance and Structure}{\string\datastructure}% + \gdef\conclusionsexists{true}} + {\CopernicusWarningNoLine{No section "Data Provenance and Structure"}}} + {}} +\fi +\newcommand\introduction[1][\introductionname] + {\section[#1]{#1\if@cop@home\ifonline\hypertarget{intro}{}\fi\fi}% + \gdef\introductionexists{true}} +\newcommand\conclusions[1][\conclusionname] + {\section[#1]{#1\if@cop@home\ifonline\hypertarget{conclusions}{}\fi\fi}% + \gdef\conclusionsexists{true}} +\if@twostagejnl + \AtEndDocument{% + \@ifundefined{introductionexists} + {\NoSectionWarning{Introduction}} + {} + \@ifundefined{conclusionsexists} + {\NoSectionWarning{Conclusions}} + {}} +\fi +\def\Supplementary#1{{% + \advance\partopsep0.5\baselineskip + \setbox\longtwo@box\vbox{%2- und 3-zeilige Supplement-Blöcke sollen den gleichen vertikalen Raum in Anspruch nehmen + \begin{trivlist}\bfseries + \if@stage@final + \let\\\@centercr\@rightskip\z@\@plus\tw@ em + \rightskip\@rightskip + \parindent\z@ + \fi + \item The Supplement related to this article is available online at + \if@stage@final\else\\\fi + \supplement{#1}. + \end{trivlist}}% + \ifdim\ht\longtwo@box<60\p@\vskip0.5\baselineskip\fi + \unvcopy\longtwo@box + \ifdim\ht\longtwo@box<60\p@\vskip0.5\baselineskip\fi}} +\def\generateCommand#1#2{% + \expandafter\long\expandafter\def\csname#1\endcsname##1{% + \if@stage@final\ifhmode\vskip2\baselineskip\else\addvspace{2\baselineskip}\fi\fi + \bgroup + \list{}{\labelwidth\z@ \leftmargin\z@ \itemindent-\leftmargin + \parsep\z@ + \listparindent\parindent + \def\makelabel####1{% + \hspace\labelsep + \if@stage@final + \if@sansserifface + \sffamily\bfseries\mathversion{sansbold}\textcolor{textcol}{####1.}% + \else + \itshape####1.% + \fi + \pdfbookmark[1]{\csname #1name\endcsname}{#1}% + \else + \itshape####1.% + \fi}% + \reset@font\small}% + \item[\csname #1name\endcsname]% + ##1#2}} +\generateCommand{copyrightstatement}{\endlist\egroup} +\ifessd + \long\def\codeavailability#1{\ifx\thesection\theolds\else\noappendix\fi\section{\codeavailabilityname}#1} + \long\def\dataavailability#1{\ifx\thesection\theolds\else\noappendix\fi\section{\dataavailabilityname}#1} + \long\def\codedataavailability#1{\ifx\thesection\theolds\else\noappendix\fi\section{\codedataavailabilityname}#1} +\else + \generateCommand{codeavailability} {\endlist\egroup} + \generateCommand{dataavailability} {\endlist\egroup} + \generateCommand{codedataavailability}{\endlist\egroup} +\fi +\generateCommand{authorcontribution}{\endlist\egroup} +\generateCommand{sampleavailability}{\endlist\egroup} +\generateCommand{competinginterests}{\endlist\egroup} +\generateCommand{teamlist} {\endlist\egroup} +\generateCommand{disclaimer} {\endlist\egroup} +\generateCommand{sistatement} {\endlist\egroup} +\generateCommand{acknowledgement} {} \def\endacknowledgement{\endlist\egroup} +\generateCommand{acknowledgements} {} \def\endacknowledgements{\endlist\egroup} +\iffalse %instead of \if@stage@final, to check what they want + \def\appendixfigures{% + \ifx\afterfirstappendixfigures\@undefined + \let\afterfirstappendixfigures\relax + \fi + \setcounter{figure}{0}% + \def\thefigure{A\@arabic\c@figure}% + \let\theHfigure\thefigure} + \def\appendixtables{% + \ifx\afterfirstappendixtables\@undefined + \let\afterfirstappendixtables\relax + \fi + \setcounter{table}{0}% + \def\thetable{A\@arabic\c@table}% + \let\theHtable\thetable} +\else + \def\appendixfigures{% + \ifx\afterfirstappendixfigures\@undefined + \let\afterfirstappendixfigures\relax + \setcounter{section}{0}% + \def\thesection{\Alph{section}}% + \let\theHsection\thesection + \fi + \refstepcounter{section}% + \setcounter{figure}{0}% + \def\thefigure{\thesection\@arabic\c@figure}% + \let\theHfigure\thefigure} + \def\appendixtables{% + \ifx\afterfirstappendixtables\@undefined + \let\afterfirstappendixtables\relax + \setcounter{section}{0}% + \def\thesection{\Alph{section}}% + \let\theHsection\thesection + \fi + \refstepcounter{section}% + \setcounter{table}{0}% + \def\thetable{\thesection\@arabic\c@table}% + \let\theHtable\thetable} +\fi +\if@cop@home + \newcounter{CEnote} + \newcounter{TSnote} + \def\theCEnote{\@arabic\c@CEnote} + \def\theTSnote{\@arabic\c@TSnote} + \newtoks\CEnotes + \newtoks\TSnotes + \global\let\edit@rnotereminder\@empty%initialising + \def\n@telabel#1{\noexpand\n@tel@bel{#1\csname the#1note\endcsname}} + \def\n@tel@bel#1{% + \smash{\raisebox{0.2ex}{\bfseries\scriptsize\fboxsep1pt + \colorbox[RGB]{255,149,64}{\textcolor[RGB]{255,255,255}{#1}}}}} + \DeclareRobustCommand\blackbox{\@ifnextchar[\blackb@x{\blackb@x[TS]}}%] + \def\blackb@x[#1]#2{% + \refstepcounter{#1note}% + \CopernicusWarningNoLine{Editor's note on page \thepage}% + \hypertarget{#1\csname the#1note\endcsname} + {\hyperlink{#1\csname the#1note\endcsname R} + {\n@tel@bel{#1\csname the#1note\endcsname}}}% + \gdef\edit@rnotereminder{% + \smash{% + \if@stage@final + \llap{\rotatebox{90}{\scriptsize + \else + \tiny + \fi + \lower1ex\rlap{\fboxsep0.5ex\colorbox[RGB]{255,149,64}{\bfseries\strut + \textcolor[RGB]{255,255,255} + {Please note the remarks at the end of the manuscript.}}}% + \if@stage@final + }\kern\marginparsep}% + \fi + }% + \global\let\edit@rnotereminder\@empty}% + \edef\@tempa{\leavevmode + \noexpand\hypertarget{#1\csname the#1note\endcsname R} + {\noexpand\hyperlink{#1\csname the#1note\endcsname} + {\noexpand\hb@xt@10mm{\n@telabel{#1}\hss}}}}% + \global\csname #1notes\endcsname\expandafter\expandafter\expandafter{% + \the\expandafter\csname #1notes\expandafter\endcsname\@tempa\mdseries#2\par}} + \AtEndDocument{% + \if@stage@final + \onecolumn + \else + \clearpage + \fi + \thispagestyle{empty}% + \parindent\z@ + \begin{nolinenumbers}% + \expandafter\def\expandafter\@tempa\expandafter{\the\CEnotes}% + \expandafter\def\expandafter\@tempb\expandafter{\the\TSnotes}% + \ifx\@tempa\@empty + \else + \@tempcnta-\c@page + \section*{Remarks from the language copy-editor} + \hangindent10mm + \@tempa + \fi + \ifx\@tempb\@empty + \ifx\@tempa\@empty + \else + \advance\@tempcnta\c@page\advance\@tempcnta\@ne + \CopernicusInfo{Pages with editing remarks: \the\@tempcnta.}% + \fi + \else + \ifx\@tempa\@empty\@tempcnta-\c@page\fi + \section*{Remarks from the typesetter} + \hangindent10mm + \@tempb + \advance\@tempcnta\c@page\advance\@tempcnta\@ne + \CopernicusInfo{Pages with editing remarks: \the\@tempcnta.}% + \fi + \end{nolinenumbers}} +\fi +\def\iftwocol#1#2{\if@twocolumn#1\else #2\fi} +\let\hack\@firstofone +\newcommand\@journalname{Journalname} +\newcommand\@journalnameabbreviation{J. Name} +\newcommand\@journalnameshort{JN} +\newcommand\@journalnameshortlower{jn} +\newcommand\@journalurl{www.jn.net} +\newcommand\@journalpublisher{Copernicus Publications} +\newcommand\@journalcopyright{% + \copyright\ Author(s)\ \@cyear. % + \if!\@texlicencestatement!% + \CopernicusError{\string\texlicencestatement{} must have content}{Say, e.g., "\string\texlicencestatement{CC Attribution 4.0 License.}"}% + \else + \@texlicencestatement + \fi} +\newcommand\@journalstartyear{2013} +\newcommand\@journallogo{Journallogo} +\newcommand\@sentence{Sentence.} +\newcommand\@sentenceDisc{Sentence.} +\if@stage@final + \definecolor{textcol}{rgb}{0,0,0} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1,1,1} +\else + \definecolor{discussion_bartext}{gray}{0.5} + \definecolor{discussion_bartext_background}{gray}{0.85} +\fi +%%Now, journal configuration from copernicus.cfg: +\@addjournalconfig +%%Now, additions the manuscript and for the the discussion stage: +\if@stage@final + \if@manuscript + \definecolor{textcol}{rgb}{0,0,0} + \definecolor{bgcol}{rgb}{1,1,1} + \definecolor{barcol}{rgb}{1,1,1} + \fi +\else + \edef\@journalname{\@journalname\space Discussions} + \let\@journalnameabbreviationbase\@journalnameabbreviation + \edef\@journalnameabbreviation{\@journalnameabbreviation\space Discuss.} + \edef\@journalnameshort{\@journalnameshort D} + \edef\@journalnameshortlower{\@journalnameshortlower d} +\fi +\newwrite\@pagelistfile +\immediate\openout\@pagelistfile=\jobname.pagelist\relax +\endinput +%% +%% End of file `copernicus.cls'. diff --git a/inst/rmarkdown/templates/copernicus_article/skeleton/natbib.sty b/inst/rmarkdown/templates/copernicus_article/skeleton/natbib.sty new file mode 100644 index 000000000..ff2b32619 --- /dev/null +++ b/inst/rmarkdown/templates/copernicus_article/skeleton/natbib.sty @@ -0,0 +1,835 @@ +%% +%% This is file `natbib.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% natbib.dtx (with options: `package,all') +%% ============================================= +%% IMPORTANT NOTICE: +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% This is a generated file. +%% It may not be distributed without the original source file natbib.dtx. +%% +%% Full documentation can be obtained by LaTeXing that original file. +%% Only a few abbreviated comments remain here to describe the usage. +%% ============================================= +%% Copyright 1993-2006 Patrick W Daly +%% Max-Planck-Institut f\"ur Sonnensystemforschung +%% Max-Planck-Str. 2 +%% D-37191 Katlenburg-Lindau +%% Germany +%% E-mail: daly@linmpi.mpg.de +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesPackage{natbib} + [2006/09/06 7.4a (PWD)] + % This package reimplements the LaTeX \cite command to be used for various + % citation styles, both author-year and numerical. It accepts BibTeX + % output intended for many other packages, and therefore acts as a + % general, all-purpose citation-style interface. + % + % With standard numerical .bst files, only numerical citations are + % possible. With an author-year .bst file, both numerical and + % author-year citations are possible. + % + % If author-year citations are selected, \bibitem must have one of the + % following forms: + % \bibitem[Jones et al.(1990)]{key}... + % \bibitem[Jones et al.(1990)Jones, Baker, and Williams]{key}... + % \bibitem[Jones et al., 1990]{key}... + % \bibitem[\protect\citeauthoryear{Jones, Baker, and Williams}{Jones + % et al.}{1990}]{key}... + % \bibitem[\protect\citeauthoryear{Jones et al.}{1990}]{key}... + % \bibitem[\protect\astroncite{Jones et al.}{1990}]{key}... + % \bibitem[\protect\citename{Jones et al., }1990]{key}... + % \harvarditem[Jones et al.]{Jones, Baker, and Williams}{1990}{key}... + % + % This is either to be made up manually, or to be generated by an + % appropriate .bst file with BibTeX. + % Author-year mode || Numerical mode + % Then, \citet{key} ==>> Jones et al. (1990) || Jones et al. [21] + % \citep{key} ==>> (Jones et al., 1990) || [21] + % Multiple citations as normal: + % \citep{key1,key2} ==>> (Jones et al., 1990; Smith, 1989) || [21,24] + % or (Jones et al., 1990, 1991) || [21,24] + % or (Jones et al., 1990a,b) || [21,24] + % \cite{key} is the equivalent of \citet{key} in author-year mode + % and of \citep{key} in numerical mode + % Full author lists may be forced with \citet* or \citep*, e.g. + % \citep*{key} ==>> (Jones, Baker, and Williams, 1990) + % Optional notes as: + % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2) + % \citep[e.g.,][]{key} ==>> (e.g., Jones et al., 1990) + % \citep[see][pg. 34]{key}==>> (see Jones et al., 1990, pg. 34) + % (Note: in standard LaTeX, only one note is allowed, after the ref. + % Here, one note is like the standard, two make pre- and post-notes.) + % \citealt{key} ==>> Jones et al. 1990 + % \citealt*{key} ==>> Jones, Baker, and Williams 1990 + % \citealp{key} ==>> Jones et al., 1990 + % \citealp*{key} ==>> Jones, Baker, and Williams, 1990 + % Additional citation possibilities (both author-year and numerical modes) + % \citeauthor{key} ==>> Jones et al. + % \citeauthor*{key} ==>> Jones, Baker, and Williams + % \citeyear{key} ==>> 1990 + % \citeyearpar{key} ==>> (1990) + % \citetext{priv. comm.} ==>> (priv. comm.) + % Note: full author lists depends on whether the bib style supports them; + % if not, the abbreviated list is printed even when full requested. + % + % For names like della Robbia at the start of a sentence, use + % \Citet{dRob98} ==>> Della Robbia (1998) + % \Citep{dRob98} ==>> (Della Robbia, 1998) + % \Citeauthor{dRob98} ==>> Della Robbia + % + % + % Citation aliasing is achieved with + % \defcitealias{key}{text} + % \citetalias{key} ==>> text + % \citepalias{key} ==>> (text) + % + % Defining the citation style of a given bib style: + % Use \bibpunct (in the preamble only) with 6 mandatory arguments: + % 1. opening bracket for citation + % 2. closing bracket + % 3. citation separator (for multiple citations in one \cite) + % 4. the letter n for numerical styles, s for superscripts + % else anything for author-year + % 5. punctuation between authors and date + % 6. punctuation between years (or numbers) when common authors missing + % One optional argument is the character coming before post-notes. It + % appears in square braces before all other arguments. May be left off. + % Example (and default) \bibpunct[, ]{(}{)}{;}{a}{,}{,} + % + % To make this automatic for a given bib style, named newbib, say, make + % a local configuration file, natbib.cfg, with the definition + % \newcommand{\bibstyle@newbib}{\bibpunct...} + % Then the \bibliographystyle{newbib} will cause \bibstyle@newbib to + % be called on THE NEXT LATEX RUN (via the aux file). + % + % Such preprogrammed definitions may be invoked in the text (preamble only) + % by calling \citestyle{newbib}. This is only useful if the style specified + % differs from that in \bibliographystyle. + % + % With \citeindextrue and \citeindexfalse, one can control whether the + % \cite commands make an automatic entry of the citation in the .idx + % indexing file. For this, \makeindex must also be given in the preamble. + % + % Package Options: (for selecting punctuation) + % round - round parentheses are used (default) + % square - square brackets are used [option] + % curly - curly braces are used {option} + % angle - angle brackets are used