|
16 | 16 | %% ----------------------------------------------------------------- |
17 | 17 | \NeedsTeXFormat{LaTeX2e}[1995/12/01] |
18 | 18 | \ProvidesClass{copernicus} |
19 | | - [2024/08/28 10.1.20 Copernicus papers] |
| 19 | + [2025/03/03 10.1.26 Copernicus papers] |
20 | 20 | \frenchspacing |
21 | 21 | \clubpenalty10000 |
22 | 22 | \widowpenalty10000 |
| 23 | +\RequirePackage{etoolbox}% |
23 | 24 | \RequirePackage{iftex} |
24 | 25 | %% protrudechars, \adjustspacing \hypenationmin, |
25 | 26 | %% lccode, \hjcode ???, exhyphenchar,\automatichyphenmode, hyphenchar |
|
140 | 141 | \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" |
141 | 142 | \newif\if@firstbar %only used under \if@stage@final and \@cop@hometrue; for modern layout as well as for the classically layouted sub-journal "angeocom" |
142 | 143 | \newif\if@hvmath \DeclareOption{hvmath}{\@hvmathtrue}%only used for discussions and only under \@cop@hometrue |
| 144 | +\newif\ifproofreadingchanges |
143 | 145 | \InputIfFileExists{copernicus.cfg}% |
144 | 146 | {\typeout{Additional configuration file copernicus.cfg used}}% |
145 | 147 | {\CopernicusError{No additional configuration file copernicus.cfg} |
|
548 | 550 | \ifx\xmltexversion\@undefined |
549 | 551 | \ifcopyediting |
550 | 552 | \let\title\ltx@title |
551 | | - \else |
552 | | - \def\title#1{\ltx@title{#1}\hypersetup{pdftitle=\@title}\xmp@title{#1}} |
553 | | - \fi |
| 553 | + \else |
| 554 | + \ifproofreadingchanges |
| 555 | + \let\title\ltx@title |
| 556 | + \else |
| 557 | + \def\title#1{\ltx@title{#1}\hypersetup{pdftitle=\@title}\xmp@title{#1}} |
| 558 | + \fi\fi |
554 | 559 | \else |
555 | 560 | \def\title#1{\ltx@title{#1}\xmp@title{#1}} |
556 | 561 | \fi |
557 | 562 | \def\maketitle{% |
558 | 563 | \gdef\supplement##1{% |
559 | | - \href{https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}% |
560 | | - {https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}}% |
| 564 | + \if@proof |
| 565 | + [the link will be implemented upon publication]% |
| 566 | + \else |
| 567 | + \href{https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}% |
| 568 | + {https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}% |
| 569 | + \fi}% |
561 | 570 | \ifnum\@fpage<0 |
562 | 571 | \CopernicusError{No article number given but citation by article number required} |
563 | 572 | {Please provide \string\articlenumber.} |
|
1308 | 1317 | \fi |
1309 | 1318 | \fi |
1310 | 1319 | \RequirePackage[normalem]{ulem}% |
1311 | | -\RequirePackage[T3,T1]{fontenc} |
| 1320 | +\RequirePackage[T5,T3,T1]{fontenc} |
1312 | 1321 | \RequirePackage[warn]{textcomp} |
1313 | 1322 | \if@cop@home |
1314 | 1323 | \RequirePackage{fontawesome5} |
|
1370 | 1379 | \fi |
1371 | 1380 | \def\cmrng{{\fontfamily{cmr}\selectfont\ng}} |
1372 | 1381 | \let\old@classoptionslist\@classoptionslist |
1373 | | -\edef\@classoptionslist{english,\old@classoptionslist} |
| 1382 | +\preto\@classoptionslist{english,} |
| 1383 | +\ifdefined\@raw@classoptionslist |
| 1384 | + \preto\@raw@classoptionslist{english,} |
| 1385 | +\fi |
1374 | 1386 | \RequirePackage{babel} |
1375 | 1387 | \let\@classoptionslist\old@classoptionslist |
1376 | 1388 | \ifx\StandardLayout\@undefined\let\StandardLayout\relax\fi |
|
1573 | 1585 | \xdef\AB@thenote{\arabic{affil}}% |
1574 | 1586 | \fi |
1575 | 1587 | \ifcopyediting\else |
| 1588 | + \ifproofreadingchanges\else |
1576 | 1589 | \xmp@author{#2}% |
1577 | | - \fi |
| 1590 | + \fi\fi |
1578 | 1591 | \global\advance\c@authnum\@ne |
1579 | 1592 | \if@cop@home |
1580 | | - \expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faCross}}$}\fi |
| 1593 | + \expandafter\ifx\csname deceased@\the\c@authnum\endcsname\true\relax\def\@@deceased{$^{,\text{\faRibbon}}$}\fi |
1581 | 1594 | \expandafter\ifx\csname econtrib@\the\c@authnum\endcsname\true\relax\def\@@econtrib{$^{,\text{\faStar}}$}\fi |
1582 | 1595 | \fi |
1583 | 1596 | \def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}% |
|
1659 | 1672 | \deceased@sep#1,\@nil |
1660 | 1673 | \@temptokena=\expandafter{\AB@affillist}% |
1661 | 1674 | \protected@xdef\AB@affillist{\the\@temptokena \AB@affilsep |
1662 | | - \AB@affilnote{\faCross}\protect\Affilfont\@deceasedNote}% |
| 1675 | + \AB@affilnote{\faRibbon}\protect\Affilfont\@deceasedNote}% |
1663 | 1676 | } |
1664 | 1677 | \newcommand\equalcontrib[1]{% |
1665 | 1678 | \gdef\@econtribNote{These authors contributed equally to this work.}% |
|
2155 | 2168 | \provide@orig@symbol{Phi} |
2156 | 2169 | \provide@orig@symbol{Psi} |
2157 | 2170 | \provide@orig@symbol{Omega} |
2158 | | - \usepackage{etoolbox}% |
2159 | 2171 | \ifluatex\else |
2160 | 2172 | %% Fix fuer #6924, vgl https://tex.stackexchange.com/questions/561236/setmathalphabet-messes-with-rm |
2161 | 2173 | \@iflatexlater{2020/10/01}{}{\patchcmd\document@select@group{#1{#4}}{\expandafter#1\ifx\math@bgroup\bgroup{#4}\else#4\fi}{}{}}% |
|
2287 | 2299 | \hypersetup{anchorcolor=black,citecolor=black,filecolor=black,linkcolor=black,unicode,% |
2288 | 2300 | menucolor=black,urlcolor=black}%% |
2289 | 2301 | }{% |
2290 | | - \usepackage[\ifcopyediting bookmarks=false\else bookmarks=true\fi,colorlinks]{hyperref} |
| 2302 | + \usepackage[bookmarks=\ifcopyediting false\else\ifproofreadingchanges false\else true\fi\fi,colorlinks]{hyperref}% |
2291 | 2303 | \hypersetup{anchorcolor=black,citecolor=black,filecolor=black,linkcolor=black,% |
2292 | 2304 | menucolor=black,pagecolor=black,urlcolor=black} |
2293 | 2305 | }% |
|
2599 | 2611 | \else |
2600 | 2612 | \ifcopyediting |
2601 | 2613 | \gdef\@howtocite{}% |
2602 | | - \else |
2603 | | - \gdef\@howtocite{#1, \@journalnameabbreviation, \@pvol, \@fpage--\@lpage, \expandafter\url{\@@doi}, \@pyear.}% |
2604 | | - \fi |
| 2614 | + \else |
| 2615 | + \ifproofreadingchanges |
| 2616 | + \gdef\@howtocite{}% |
| 2617 | + \else |
| 2618 | + \gdef\@howtocite{#1, \@journalnameabbreviation, \@pvol, \@fpage--\@lpage, \expandafter\url{\@@doi}, \@pyear.}% |
| 2619 | + \fi\fi |
2605 | 2620 | \fi |
2606 | 2621 | }\def\@howtocite{}%+1,+2,+d |
2607 | 2622 | \def\msnumber#1{\if@cop@home\gdef\@msnumber{#1}\fi} |
|
2636 | 2651 | \fi |
2637 | 2652 | \if@stage@final |
2638 | 2653 | \def\keywords#1{% |
2639 | | - \ifcopyediting\else\xmp@keywords{#1}\fi% |
| 2654 | + \ifcopyediting\else\ifproofreadingchanges\else\xmp@keywords{#1}\fi\fi% |
2640 | 2655 | \def\@keyw{#1}% |
2641 | 2656 | } |
2642 | 2657 | \def\@keyw{} |
2643 | 2658 | \else |
2644 | 2659 | \def\keywords#1{% |
2645 | | - \ifcopyediting\else\xmp@keywords{#1}\fi% |
| 2660 | + \ifcopyediting\else\ifproofreadingchanges\else\xmp@keywords{#1}\fi\fi% |
2646 | 2661 | \CopernicusWarningNoLine{Keywords are not supported.}% |
2647 | 2662 | \vspace{1.7mm}\par\noindent\textbf{Keywords.}\enspace\ignorespaces#1} |
2648 | 2663 | \fi |
|
2781 | 2796 | \fi |
2782 | 2797 | \let\do@skip\relax |
2783 | 2798 | \def\@argi{#1}\ifx\@argi\@empty\else\let\do@skip\space\fi% |
2784 | | - \item \dosupplement{#1\do@skip The supplement related to this article is available online at: |
| 2799 | + \item \dosupplement{#1\do@skip The supplement related to this article is available online at |
2785 | 2800 | \if@stage@final\else\\\fi |
2786 | 2801 | \supplement{#2}.}% |
2787 | 2802 | \end{trivlist}% |
|
3105 | 3120 | \fi |
3106 | 3121 |
|
3107 | 3122 | \def\invbreve#1{\def\x##1{\fontencoding{T3}\selectfont\textroundcap{{\fontencoding{T1}\selectfont##1}}}\ifmmode \x{$#1$}\else\x{#1}\fi} |
| 3123 | +\let\texthookabove\h |
| 3124 | +\let\textdotbelow\d |
| 3125 | +\def\h#1{{\fontencoding{T5}\selectfont\texthookabove{#1}}} |
| 3126 | +\def\d#1{{\fontencoding{T5}\selectfont\textdotbelow{#1}}} |
| 3127 | +\hypersetup{pdfencoding=auto} |
3108 | 3128 |
|
3109 | 3129 | \endinput |
3110 | 3130 | %% |
|
0 commit comments