Skip to content

Commit bd44740

Browse files
authored
Copernicus template update to 6.6 (#464)
1 parent 7fff476 commit bd44740

File tree

6 files changed

+33
-20
lines changed

6 files changed

+33
-20
lines changed

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## NEW FEATURES
44

55
- New `informs_article()` template for submissions to INFORMS journals (thanks, @robjhyndman, #460).
6-
- Update Copernicus Publications template to version 6.5 from 2021-12-15 (@RLumSK, #463)
6+
- Update Copernicus Publications template to version 6.6 from 2022-01-18 (@RLumSK, #463, #464)
77

88
# rticles 0.22
99

R/copernicus_article.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#'
1414
#' An number of required and optional manuscript sections, e.g. `acknowledgements`, `competinginterests`, or `authorcontribution`, must be declared using the respective properties of the R Markdown header - see skeleton file.
1515
#'
16-
#' **Version:** Based on `copernicus_package.zip` in the version 6.5, 15 December 2021, using `copernicus.cls` in version 9.39, 9 December 2021.
16+
#' **Version:** Based on `copernicus_package.zip` in the version 6.6, 18 January 2022, using `copernicus.cls` in version 9.39, 9 December 2021.
1717
#'
1818
#' **Copernicus journal abbreviations:** You can use the function `copernicus_journal_abbreviations()` to get the journal abbreviation for all journals supported by the Copernicus article template.
1919
#'
@@ -87,6 +87,7 @@ copernicus_journals <- list(
8787
"Earth System Dynamics" = "esd",
8888
"Earth System Science Data" = "essd",
8989
"E&G Quaternary Science Journal" = "egqsj",
90+
"EGUsphere" = "egusphere",
9091
"European Journal of Mineralogy" = "ejm",
9192
"Fossil Record" = "fr",
9293
"Geochronology" = "gchron",

inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_6_5.txt renamed to inst/rmarkdown/templates/copernicus/resources/README_copernicus_package_6_6.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
File: README_copernicus_package_6_5.txt
22
-------------------------------------------------------------------------
33
This is a README file for the Copernicus Publications LaTeX Macro Package
4-
copernicus_package.zip in the version 6.5, 15 December 2021
4+
copernicus_package.zip in the version 6.6, 18 January 2022
55
-------------------------------------------------------------------------
66
It consists of several files, each with its separate copyright.
77
This specific archive is collected for journals published by
@@ -16,7 +16,7 @@ URL: https://publications.copernicus.org
1616

1717
Content:
1818
- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 9.39, 8 December 2021
19-
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 9 December 2021
19+
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 18 January 2022
2020
- copernicus.bst: The bibliographic style file for BibTeX. Current Version 1.3, January 2021
2121
- pdfscreencop.sty / pdfscreen.sty
2222
- template.tex: A LaTeX template in journal style.

inst/rmarkdown/templates/copernicus/resources/template.tex

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
% Earth System Dynamics (esd)
3333
% Earth System Science Data (essd)
3434
% E&G Quaternary Science Journal (egqsj)
35+
% EGUsphere (egusphere) | This is only for EGUsphere preprints submitted without relation to an EGU journal.
3536
% European Journal of Mineralogy (ejm)
3637
% Fossil Record (fr)
3738
% Geochronology (gchron)
@@ -61,21 +62,6 @@
6162
% Web Ecology (we)
6263
% Wind Energy Science (wes)
6364

64-
%% Please DO NOT add additional packages or LaTeX commands to the template. They
65-
%% are not supported by Coperncius. LaTeX packages already
66-
%% included in the copernicus.cls are:
67-
%\usepackage[german, english]{babel}
68-
%\usepackage{tabularx}
69-
%\usepackage{cancel}
70-
%\usepackage{multirow}
71-
%\usepackage{supertabular}
72-
%\usepackage{algorithmic}
73-
%\usepackage{algorithm}
74-
%\usepackage{amsthm}
75-
%\usepackage{float}
76-
%\usepackage{subfig}
77-
%\usepackage{rotating}
78-
7965
% Pandoc citation processing
8066
$if(csl-refs)$
8167
\newlength{\csllabelwidth}

inst/rmarkdown/templates/copernicus/skeleton/copernicus.cfg

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
\newif\ifgtes \DeclareOption{gtes} {\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue \@bartrue \gtestrue}
33
\newif\ifcopyediting \DeclareOption{copyediting}{\copyeditingtrue\@noreftrue}
44
\newif\ifsmsps \DeclareOption{smsps} { \smspstrue}
5+
\newif\ifegusphere \DeclareOption{egusphere}{\@twostagejnltrue\eguspheretrue}
6+
\DeclareOption{egusphered}{\@stage@finalfalse\eguspheretrue}
57
\newif\ifsand \DeclareOption{sand}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\sandtrue}
68
\newif\ifpolf \DeclareOption{polf}{\@sansseriffacetrue\@sansserifheadertrue\@bartrue\polftrue}
79
\newif\ifjbji \DeclareOption{jbji}{\@sansseriffacetrue\@sansserifheadertrue\@abstractcenteredtrue\@bartrue\jbjitrue}
@@ -1053,5 +1055,29 @@
10531055
\definecolor{barcol}{rgb}{1.0,1.0,1.0}
10541056
\definecolor{rulecol}{rgb}{0.0,0.0,0.0}
10551057
\fi
1058+
\ifegusphere%classical
1059+
\def\@journalname{EGUsphere}
1060+
\def\@journalnameabbreviation{EGUsphere}
1061+
\def\@journalnameshort{EGUSPHERE}
1062+
\def\@journalnameshortlower{egusphere}
1063+
\def\@journalstartyear{2022}
1064+
\def\@sentence{Published by Copernicus Publications on behalf of the European Geosciences Union.}
1065+
\if@stage@final
1066+
\def\@journalurl{https://egusphere.copernicus.org}
1067+
\def\@journallogo{\includegraphics{EGUSPHERE_Logo.pdf}}
1068+
\definecolor{bgcol}{rgb}{1,1,1}
1069+
\definecolor{rulecol}{rgb}{1.0,1.0,1.0}
1070+
\else
1071+
\def\@journalurl{https://egusphere.copernicus.org}
1072+
\def\@journallogo{\includegraphics{EGUSPHERE_Logo.pdf}}
1073+
\def\@sentenceDiscussion{}
1074+
\if@cop@home
1075+
\definecolor{journalname}{rgb}{0.0,0.0,0.0}
1076+
\definecolor{buttonbackground}{rgb}{0.0,0.0,0.0}
1077+
\definecolor{paneltext}{rgb}{0.0,0.0,0.0}
1078+
\definecolor{buttontext}{rgb}{0.0,0.0,0.0}
1079+
\fi
1080+
\fi
1081+
\fi
10561082
10571083
}

man/copernicus_article.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)