|
5 | 5 | %% The original source files were: |
6 | 6 | %% |
7 | 7 | %% copernicus.dtx (with options: `class') |
8 | | -%% |
| 8 | +%% |
9 | 9 | %% ----------------------------------------------------------------- |
10 | 10 | %% Author: copernicus.org and le-tex publishing services |
11 | | -%% |
| 11 | +%% |
12 | 12 | %% This file is part of the copernicus package for papers |
13 | 13 | %% published by Copernicus Publications (Copernicus GmbH). |
14 | | -%% |
| 14 | +%% |
15 | 15 | %% Copyright (C) 2023 by Copernicus Publications |
16 | 16 | %% ----------------------------------------------------------------- |
17 | 17 | \NeedsTeXFormat{LaTeX2e}[1995/12/01] |
18 | 18 | \ProvidesClass{copernicus} |
19 | | - [2025/03/03 10.1.26 Copernicus papers] |
| 19 | + [2025/10/30 10.1.30 Copernicus papers] |
20 | 20 | \frenchspacing |
21 | 21 | \clubpenalty10000 |
22 | 22 | \widowpenalty10000 |
|
1319 | 1319 | \RequirePackage[normalem]{ulem}% |
1320 | 1320 | \RequirePackage[T5,T3,T1]{fontenc} |
1321 | 1321 | \RequirePackage[warn]{textcomp} |
1322 | | -\if@cop@home |
1323 | | - \RequirePackage{fontawesome5} |
1324 | | - \ifluatex |
1325 | | - \newcommand*{\faicon}[1]{{\csname faicon@#1\endcsname}} |
1326 | | - \input{fontawesomesymbols-generic.tex} |
1327 | | - \DeclareRobustCommand\FAone{\fontencoding{U}\fontfamily{fontawesomeone}\selectfont} |
1328 | | - \DeclareRobustCommand\FAtwo{\fontencoding{U}\fontfamily{fontawesometwo}\selectfont} |
1329 | | - \DeclareRobustCommand\FAthree{\fontencoding{U}\fontfamily{fontawesomethree}\selectfont} |
1330 | | - \input{fontawesomesymbols-pdftex.tex} |
1331 | | - \renewcommand{\faHourglass}[1][]{\faicon{hourglass\if\relax\detokenize{#1}\relax\else-#1\fi}} |
1332 | | - \renewcommand{\faBattery}[1][4]{\faicon{battery-#1}} |
1333 | | - \else |
1334 | | - \RequirePackage{fontawesome} |
1335 | | - \fi |
| 1322 | +\RequirePackage{fontawesome5} |
| 1323 | +\ifluatex |
| 1324 | + \newcommand*{\faicon}[1]{{\csname faicon@#1\endcsname}} |
| 1325 | + \input{fontawesomesymbols-generic.tex} |
| 1326 | + \DeclareRobustCommand\FAone{\fontencoding{U}\fontfamily{fontawesomeone}\selectfont} |
| 1327 | + \DeclareRobustCommand\FAtwo{\fontencoding{U}\fontfamily{fontawesometwo}\selectfont} |
| 1328 | + \DeclareRobustCommand\FAthree{\fontencoding{U}\fontfamily{fontawesomethree}\selectfont} |
| 1329 | + \input{fontawesomesymbols-pdftex.tex} |
| 1330 | + \renewcommand{\faHourglass}[1][]{\faicon{hourglass\if\relax\detokenize{#1}\relax\else-#1\fi}} |
| 1331 | + \renewcommand{\faBattery}[1][4]{\faicon{battery-#1}} |
| 1332 | +\else |
| 1333 | + \RequirePackage{fontawesome5} |
1336 | 1334 | \fi |
1337 | 1335 | \usepackage{upquote}%% #7510 |
1338 | 1336 | \usepackage{regexpatch} |
|
1589 | 1587 | \xmp@author{#2}% |
1590 | 1588 | \fi\fi |
1591 | 1589 | \global\advance\c@authnum\@ne |
1592 | | - \if@cop@home |
1593 | | - \expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faRibbon}}$}\fi |
1594 | | - \expandafter\ifx\csname econtrib@\the\c@authnum\endcsname\true\relax\def\@@econtrib{$^{,\text{\faStar}}$}\fi |
1595 | | - \fi |
| 1590 | + \expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faRibbon}}$}\fi |
| 1591 | + \expandafter\ifx\csname econtrib@\the\c@authnum\endcsname\true\relax\def\@@econtrib{$^{,\text{\faStar}}$}\fi |
1596 | 1592 | \def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% |
1597 | 1593 | \setcounter{Maxaffil}{0}\fi |
1598 | 1594 | \ifnum\value{authors}>1\relax |
|
1666 | 1662 | \if!#2!\else\econtrib@sep#2\@nil\fi} |
1667 | 1663 |
|
1668 | 1664 | \newcommand\deceased[2][]{\gdef\@deceasedtext{#1}\@deceased{#2}} |
1669 | | -\if@cop@home |
1670 | 1665 | \def\@deceased#1{% |
1671 | 1666 | \ifx\@deceasedtext\@empty\gdef\@deceasedNote{deceased}\else\gdef\@deceasedNote{deceased, \@deceasedtext}\fi |
1672 | 1667 | \deceased@sep#1,\@nil |
|
1681 | 1676 | \protected@xdef\AB@affillist{\the\@temptokena \AB@affilsep |
1682 | 1677 | \AB@affilnote{\faStar}\protect\Affilfont\@econtribNote}% |
1683 | 1678 | } |
1684 | | -\else |
1685 | | - \let\equalcontrib\@gobble |
1686 | | - \let\@deceased\@gobble |
1687 | | -\fi |
1688 | 1679 | \newcount\corr@cnt \corr@cnt\z@\relax |
1689 | 1680 | \newcount\curr@corr@cnt \curr@corr@cnt\z@\relax |
1690 | 1681 | \def\Author{\let\curr@corr\@empty\@ifnextchar[\@Author{\@Author[]}}%] |
|
2139 | 2130 | \patchBothAmsMathEnvironmentsForLinenoX{multline}}} |
2140 | 2131 | {\CopernicusWarningNoLine{Cannot find lineno.sty; proceeding without it}% |
2141 | 2132 | \let\nolinenumbers\bgroup\let\endnolinenumbers\egroup} |
| 2133 | +\usepackage{tikz} |
2142 | 2134 | \IfFileExists{times.sty} |
2143 | 2135 | {\RequirePackage{times} |
2144 | 2136 | \def\Hv@scale{0.95}} |
|
2176 | 2168 | \DeclareSymbolFont{largesymbolsA}{U}{esint}{m}{n}%from esint.sty |
2177 | 2169 | \DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{'015}%from esint.sty |
2178 | 2170 | \def\oiint{\oiintop\nolimits}%from esint.sty |
| 2171 | + %%%% Ticket 5093, Dreifachintegrale. |
| 2172 | + \DeclareFontEncoding{LS2}{}{\noaccents@} |
| 2173 | + \DeclareFontSubstitution{LS2}{stix}{m}{n} |
| 2174 | + \DeclareSymbolFont{integrals}{LS2}{stixcal}{m}{n} |
| 2175 | + \DeclareMathSymbol{\smalloiiintsl}{\mathop}{integrals}{"05} |
| 2176 | + \DeclareMathSymbol{\smalloiiintup}{\mathop}{integrals}{"20} |
| 2177 | + \DeclareMathSymbol{\oiiintslop}{\mathop}{integrals}{"99} |
| 2178 | + \DeclareMathSymbol{\oiiintupop}{\mathop}{integrals}{"B4} |
| 2179 | + \let\oiiintop=\oiiintslop |
| 2180 | + \def\oiiint{\DOTSI\oiiintop\ilimits@} |
| 2181 | + %%%%%% |
2179 | 2182 | \DeclareMathSymbol{\fintop}{\mathop}{largesymbolsA}{'037}%from esint.sty |
2180 | 2183 | \def\fint{\fintop\nolimits}%from esint.sty |
2181 | 2184 | \ifx\xmltexversion\@undefined\else{\catcode`\_=\active\global\let_\xmltexUndersc@re}\fi |
|
2854 | 2857 | \csname specialsection-#1\endcsname{#2}% |
2855 | 2858 | \fi} |
2856 | 2859 |
|
2857 | | -\generateCommand{acknowledgement} {} \def\endacknowledgement{\endlist\egroup} |
| 2860 | +\newenvironment{acknowledgement}{% |
| 2861 | + \PackageError{copernicus}{% |
| 2862 | + Environment `acknowledgement` (singular) is deprecated. Please use environment `acknowledgements` (plural)% |
| 2863 | + }{% |
| 2864 | + \string\begin{acknowledgements} Text. \string\end{acknowledgements}% |
| 2865 | + }% |
| 2866 | +}{} |
2858 | 2867 | \generateCommand{acknowledgements} {} \def\endacknowledgements{\endlist\egroup} |
2859 | 2868 | \iffalse %instead of \if@stage@final, to check what they want |
2860 | 2869 | \def\appendixfigures{% |
|
0 commit comments