Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Copernicus template to v7.7 #560

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
```

to add specific authors.
- `biblio-style` is now supported. It is set by defauilt to `tfcad.bst` for `T&F standard Chicago author-date` style.
- `biblio-style` is now supported. It is set by default to `tfcad.bst` for `T&F standard Chicago author-date` style.

## MINOR CHANGES

- Update Copernicus Publications template to version 7.7 from 2024-01-03 (@RLumSK, #560).

# rticles 0.26

Expand Down
2 changes: 1 addition & 1 deletion R/copernicus_article.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#'
#' 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.
#'
#' **Version:** Based on `copernicus_package.zip` in the version 7.5, 20 October 2023, using `copernicus.cls` in version 10.1.9, 16 October 2023.
#' **Version:** Based on `copernicus_package.zip` in the version 7.7, 03 January 2024, using `copernicus.cls` in version 10.1.11, 03 January October 2024.
#'
#' **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.
#'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
File: README_copernicus_package_7_5.txt
File: README_copernicus_package_7_7.txt
-------------------------------------------------------------------------
This is a README file for the Copernicus Publications LaTeX Macro Package
copernicus_package.zip in the version 7.5, 20 October 2023
copernicus_package.zip in the version 7.7, 3 January 2024
-------------------------------------------------------------------------
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) 2023 Copernicus GmbH
Copyright (C) 2024 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 10.1.9, 16 October 2023
- copernicus.cls: The LaTeX2e class file designed for Copernicus Publications journals. Current Version 10.1.11, 3 January 2024
- copernicus.cfg: The configuration file containing journal-specific information used by the class file. Last update 15 March 2023
- copernicus.bst: The bibliographic style file for BibTeX. Current Version 1.6, 20 October 2023
- pdfscreencop.sty / pdfscreen.sty
Expand Down
20 changes: 13 additions & 7 deletions inst/rmarkdown/templates/copernicus/skeleton/copernicus.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% -----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{copernicus}
[2023/10/11 10.1.10 Copernicus papers]
[2023/12/15 10.1.12 Copernicus papers]
\frenchspacing
\clubpenalty10000
\widowpenalty10000
Expand Down Expand Up @@ -1024,6 +1024,9 @@
\@ifstar
{\@ssect{#3}{#4}{#5}{#6}}%
{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
\def\seclinesep#1{\gdef\@seclinesep{#1}}%
\seclinesep{1.2}%
\let\orig@seclinesep\@seclinesep
\def\@afterheading{%
\@nobreaktrue
\everypar{%
Expand All @@ -1036,14 +1039,15 @@
\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}}}%
\rlap{\smash{\expandafter\ifnum\cur@secdepth>\@ne\expandafter\raise\@seclinesep\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
\global\let\@seclinesep\orig@seclinesep
\else
\clubpenalty \@clubpenalty
\everypar{}%
Expand Down Expand Up @@ -1735,7 +1739,7 @@
\def\theequation{\thesection\@arabic\c@equation}%
\def\thereaction{\thesection R\@arabic\c@reaction}%
\let\c@org@lst\c@listings%
\let\c@org@alg\c@algorithms%
\let\c@org@alg\c@algorithm%
\let\c@org@eq\c@equation%
\let\org@theeq\theequation%
\if@stage@final
Expand All @@ -1748,9 +1752,11 @@
\@addtoreset{listings}{section}%
\setcounter{listings}{0}%
\def\thelistings{\thesection\@arabic\c@listings}%
\@addtoreset{algorithm}{section}%
\setcounter{algorithm}{0}%
\def\thealgorithm{\thesection\@arabic\c@algorithm}
\IfFileExists{algorithm.sty}{% #9699
\@addtoreset{algorithm}{section}%
\setcounter{algorithm}{0}%
\def\thealgorithm{\thesection\@arabic\c@algorithm}%
}{}%
\fi
\global\let\old@sect\@sect
\def\@sect##1##2##3##4##5##6[##7]##8{%
Expand Down Expand Up @@ -1815,7 +1821,7 @@
\ifx\old@ssect\@undefined\else\global\let\@ssect\old@ssect\fi
\def\thefigure{\@arabic\c@figure}%
\def\thelistings{\@arabic\c@listings}%
\def\thealgorithms{\@arabic\c@algorithms}%
\IfFileExists{algorithm.sty}{\def\thealgorithm{\@arabic\c@algorithm}}{}% #9699
\def\thetable{\@arabic\c@table}}
\IfFileExists{url.sty}
{\RequirePackage{url}\urlstyle{same}}%
Expand Down
2 changes: 1 addition & 1 deletion man/copernicus_article.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.