copernicus.cls 94 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480
  1. %%
  2. %% This is file `copernicus.cls',
  3. %% generated with the docstrip utility.
  4. %%
  5. %% The original source files were:
  6. %%
  7. %% copernicus.dtx (with options: `class')
  8. %%
  9. %% -----------------------------------------------------------------
  10. %% Author: copernicus.org and le-tex publishing services
  11. %%
  12. %% This file is part of the copernicus package for papers
  13. %% published by Copernicus Publications (Copernicus GmbH).
  14. %%
  15. %% Copyright (C) 2018 by Copernicus Publications
  16. %% -----------------------------------------------------------------
  17. \NeedsTeXFormat{LaTeX2e}[1995/12/01]
  18. \ProvidesClass{copernicus}
  19. [2018/01/30 8.67 Copernicus papers]
  20. \frenchspacing
  21. \clubpenalty10000
  22. \widowpenalty10000
  23. \protected@edef\CopernicusInfo#1{\protect\ClassInfo{copernicus}{#1}}
  24. \protected@edef\CopernicusWarningNoLine#1{\protect\ClassWarningNoLine{copernicus}{#1}}
  25. \protected@edef\CopernicusError#1#2{\protect\ClassError{copernicus}{#1}{#2}}
  26. \let\@classfilename\@currname
  27. \newcommand\UndefinedError[1]
  28. {\CopernicusError{You must define #1}{Add #1 to your document!}}
  29. \newcommand\NoSectionWarning[1]
  30. {\CopernicusWarningNoLine{No section #1; proceeding without it}}
  31. \newcommand\NoSectionError[2]
  32. {\CopernicusError{You forgot the section: #1}{Add #2 to your document!}}
  33. \RequirePackage{fixltx2e}[2006/03/24]
  34. \renewcommand*\and{\@centercr}
  35. \AtEndOfClass{%
  36. \DeclareRobustCommand*{\vec}[1]
  37. {\ensuremath{%
  38. \mathchoice{\mbox{\boldmath$\displaystyle#1$}}
  39. {\mbox{\boldmath$\textstyle#1$}}
  40. {\mbox{\boldmath$\scriptstyle#1$}}
  41. {\mbox{\boldmath$\scriptscriptstyle#1$}}}}}
  42. \thinmuskip=2mu
  43. \medmuskip=3mu minus 3mu
  44. \thickmuskip=4mu
  45. \def\cop@opterrshort{Option "\CurrentOption" not supported}
  46. \def\cop@opterrlong{%
  47. The option "\CurrentOption" from article.cls is not supported by copernicus.cls.}
  48. \DeclareOption{a4paper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  49. \DeclareOption{a5paper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  50. \DeclareOption{b5paper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  51. \DeclareOption{letterpaper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  52. \DeclareOption{legalpaper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  53. \DeclareOption{executivepaper}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  54. \DeclareOption{landscape}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  55. \DeclareOption{10pt}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  56. \DeclareOption{11pt}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  57. \DeclareOption{12pt}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  58. \DeclareOption{oneside}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  59. \DeclareOption{twoside}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  60. \DeclareOption{titlepage}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  61. \DeclareOption{notitlepage}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  62. \DeclareOption{onecolumn}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  63. \DeclareOption{twocolumn}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  64. \DeclareOption{fleqn}{\@latexerr{\cop@opterrshort}{\cop@opterrlong}}
  65. \newif\if@stage@final \@stage@finaltrue
  66. \newif\if@sansserifface
  67. \newif\if@sansserifheader
  68. \newif\if@abstractcentered
  69. \newif\if@abstractindented
  70. \newif\if@noauthor \DeclareOption{noauthor}{\@noauthortrue}
  71. \newif\if@nolastpage \DeclareOption{nolastpage}{\@nolastpagetrue}
  72. \newif\if@noref \DeclareOption{noref}{\@noreftrue}
  73. \newif\if@nohyperref \DeclareOption{nohyperref}{\@nohyperreftrue}
  74. \newif\if@cop@home \IfFileExists{copernicuslogo.pdf}{\@cop@hometrue}{\@cop@homefalse}
  75. \newif\ifonline \DeclareOption{online}{\onlinetrue}
  76. \newif\if@twostagejnl
  77. \newif\if@manuscript \DeclareOption{manuscript}{\@manuscripttrue}
  78. \newif\if@noline \DeclareOption{noline}{\@nolinetrue}%classical
  79. \DeclareOption{corrigendum} {\def\specialp@perstring{Corrigendum}}
  80. \DeclareOption{editorialnote}{\def\specialp@perstring{Editorial note}}
  81. \def\jurl@splitter#1.net\@nil{\def\jurl@first{#1}}
  82. \DeclareOption{editorialnotediscussion}{%
  83. \def\specialp@perstring{Editorial note}%
  84. \@noreftrue
  85. \AtEndOfClass{%
  86. \edef\@journalnameabbreviation{\@journalnameabbreviation\space Discuss.}%
  87. \expandafter\jurl@splitter\@journalurl\@nil
  88. \edef\@journalurl{\[email protected]}}}
  89. \newif\if@corrigendum%ask Jasch
  90. \newif\if@editorialnotetwoc%ask Jasch
  91. \newif\if@editorialnoted%ask Jasch
  92. \newif\if@secline% Underlined Sections, lup 2017-11-06
  93. \newif\if@dolinesec\@dolinesecfalse
  94. \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"
  95. \newif\if@hvmath \DeclareOption{hvmath}{\@hvmathtrue}%only used for discussions and only under \@cop@hometrue
  96. \InputIfFileExists{copernicus.cfg}%
  97. {\typeout{Additional configuration file copernicus.cfg used}}%
  98. {\CopernicusError{No additional configuration file copernicus.cfg}
  99. {Please provide copernicus.cfg with the journal configurations.}}
  100. \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
  101. \ProcessOptions
  102. \if@stage@final\else\@twostagejnltrue\fi
  103. \if@cop@home\else
  104. \if@stage@final\else\@stage@finaltrue\@manuscripttrue\fi
  105. \fi
  106. \if@manuscript
  107. \@sansseriffacefalse
  108. \@sansserifheaderfalse
  109. \@abstractcenteredfalse
  110. \@abstractindentedfalse
  111. \fi
  112. \AtEndOfClass{\ifcopyediting\let\@msnumber\relax\fi}
  113. \LoadClass[fleqn]{article}
  114. \AtBeginDocument{\mathindent\z@}
  115. \if@stage@final
  116. \if@manuscript
  117. \oddsidemargin16.4mm
  118. \evensidemargin16.4mm
  119. \textwidth177mm
  120. \textheight\dimexpr660\p@-37mm+11.4mm\relax
  121. \headheight\z@
  122. \headsep\z@
  123. \topmargin10mm
  124. \footskip30pt
  125. \else
  126. \let\footnotesize\small
  127. \oddsidemargin16.4mm
  128. \evensidemargin16.4mm
  129. \textwidth177mm
  130. \headheight16.4mm
  131. \headsep5mm
  132. \topskip12pt
  133. \footskip30pt
  134. \textheight54\baselineskip
  135. \advance\textheight by\topskip
  136. \topmargin\z@
  137. \fi
  138. \else
  139. \renewcommand\normalsize{%
  140. \@setfontsize\normalsize\@xipt{13.6}%
  141. \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
  142. \abovedisplayshortskip \z@ \@plus3\p@
  143. \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
  144. \belowdisplayskip \abovedisplayskip
  145. \let\@listi\@listI}
  146. \normalsize
  147. \renewcommand\small{%
  148. \@setfontsize\small\@xpt\@xiipt
  149. \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
  150. \abovedisplayshortskip \z@ \@plus3\p@
  151. \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
  152. \def\@listi{\leftmargin\leftmargini
  153. \topsep 6\p@ \@plus2\p@ \@minus2\p@
  154. \parsep 3\p@ \@plus2\p@ \@minus\p@
  155. \itemsep \parsep}%
  156. \belowdisplayskip \abovedisplayskip}
  157. \let\footnotesize\small
  158. \def\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
  159. \def\tiny{\@setfontsize\tiny\@vipt\@viipt}
  160. \headheight\z@
  161. \headsep\z@
  162. \topskip\z@
  163. \footskip5mm
  164. \textwidth146mm
  165. \textheight140mm
  166. \advance\textheight by\topskip
  167. \oddsidemargin-15.4mm
  168. \evensidemargin-15.4mm
  169. \topmargin-18.4mm
  170. \fi
  171. \parindent1em
  172. \newdimen\bleed \bleed3mm\relax
  173. \if@stage@final
  174. \hoffset\dimexpr-1in+\bleed\relax
  175. \voffset\dimexpr-1in+\bleed\relax
  176. \if@manuscript
  177. \paperheight\dimexpr240mm+2\bleed\relax%2015-12-14
  178. \else
  179. \paperheight\dimexpr277mm+2\bleed\relax
  180. \fi
  181. \paperwidth\dimexpr210mm+2\bleed\relax
  182. \@tempdima\dimexpr1in+\hoffset\relax
  183. \@tempdimb\dimexpr\@tempdima+\paperwidth-2\bleed\relax
  184. \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\l@offset{\strip@pt\@tempdima}
  185. \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\r@offset{\strip@pt\@tempdimb}
  186. \@tempdima\dimexpr1in+\voffset\relax
  187. \@tempdimb\dimexpr\@tempdima+\paperheight-2\bleed\relax
  188. \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\u@offset{\strip@pt\@tempdima}
  189. \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\o@offset{\strip@pt\@tempdimb}
  190. %and now for the bleed box:
  191. \@tempdima\dimexpr1in+\hoffset-\bleed\relax
  192. \@tempdimb\dimexpr\@tempdima+\paperwidth+2\bleed\relax
  193. \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\b@l@offset{\strip@pt\@tempdima}
  194. \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\b@r@offset{\strip@pt\@tempdimb}
  195. \@tempdima\dimexpr1in+\voffset-\bleed\relax
  196. \@tempdimb\dimexpr\@tempdima+\paperheight+2\bleed\relax
  197. \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\b@u@offset{\strip@pt\@tempdima}
  198. \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\b@o@offset{\strip@pt\@tempdimb}
  199. \ifnum\pdfoutput=\z@
  200. \newcommand{\@setPdfBoxes}{%
  201. \ifx\@processPdfBoxSpec\@empty\relax
  202. \else
  203. {%
  204. \special{!userdict begin
  205. /bop-hook {^^J
  206. \@processPdfBoxSpec} def
  207. end}}
  208. \fi}
  209. \let\@processPdfBoxSpec\@empty
  210. \newcommand\@setPdfBox[2]{%
  211. \xdef\@processPdfBoxSpec{%
  212. \@processPdfBoxSpec
  213. [ {ThisPage} << /#1 [#2] >> /PUT pdfmark} }
  214. \@setPdfBox{TrimBox}{\l@offset\space\u@offset\space\r@offset\space\o@offset}
  215. \@setPdfBox{CropBox}{\l@offset\space\u@offset\space\r@offset\space\o@offset}
  216. \@setPdfBox{BleedBox}{\b@l@offset\space\b@u@offset\space\b@r@offset\space\b@o@offset}
  217. \@setPdfBoxes
  218. \@onlypreamble\@setPdfBoxes
  219. \else
  220. \edef\@tempa{%
  221. /TrimBox [\l@offset\space\u@offset\space\r@offset\space\o@offset]
  222. /CropBox [\l@offset\space\u@offset\space\r@offset\space\o@offset]
  223. /BleedBox[\b@l@offset\space\b@u@offset\space\b@r@offset\space\b@o@offset]}
  224. \expandafter\pdfpageattr\expandafter{\@tempa}
  225. \fi
  226. \else%discussions
  227. \paperheight159mm
  228. \paperwidth166mm
  229. \fi
  230. \parskip0pt% plus 1pt
  231. \def\topfraction{1}%standard is .7
  232. \def\textfraction{0}%standard is .2
  233. \def\floatpagefraction{.7}%standard is .5
  234. \def\dbltopfraction{1}%standard is .7
  235. \def\dblfloatpagefraction{.7}%standard is .5
  236. \if@stage@final
  237. \def\@ddsidemarginbar{%
  238. \rlap{%
  239. \@tempdima-6.5mm\kern-\@tempdima
  240. \@tempdima\dimexpr\@tempdima+\paperwidth-\textwidth-\oddsidemargin+\bleed\relax
  241. \@tempdimb\dimexpr\headheight+\topmargin\relax
  242. \@tempdimc\dimexpr\paperheight-\@tempdimb\relax
  243. \advance\@tempdimb\bleed
  244. \advance\@tempdimc\bleed
  245. \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}}}
  246. \def\@vensidemarginbar{%
  247. \llap{%
  248. \@tempdima\dimexpr1in+\evensidemargin+\bleed\relax
  249. \@tempdimb\dimexpr\headheight+\topmargin\relax
  250. \@tempdimc\dimexpr\paperheight-\@tempdimb\relax
  251. \advance\@tempdimb\bleed
  252. \advance\@tempdimc\bleed
  253. \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}%
  254. \kern6.5mm}}
  255. \def\@ddsidemarginrule{%
  256. \rlap{%
  257. \@tempdima0.8\p@
  258. \kern6.5mm\kern-0.5\@tempdima
  259. \@tempdimb\dimexpr\headheight+\topmargin\relax
  260. \@tempdimc\dimexpr\paperheight-\@tempdimb\relax
  261. \advance\@tempdimb\bleed
  262. \advance\@tempdimc\bleed
  263. \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}}}
  264. \def\@vensidemarginrule{%
  265. \llap{%
  266. \@tempdima0.8\p@
  267. \@tempdimb\dimexpr\headheight+\topmargin\relax
  268. \@tempdimc\dimexpr\paperheight-\@tempdimb\relax
  269. \advance\@tempdimb\bleed
  270. \advance\@tempdimc\bleed
  271. \smash{\vrule\@width\@tempdima\@height\@tempdimb\@depth\@tempdimc}%
  272. \kern6.5mm\kern-0.5\@tempdima}}
  273. \fi
  274. \def\check@journalnameabbreviation#1 Discuss.#2\@nil{#2}
  275. \def\@journalInfo{%
  276. \ifx\specialp@perstring\@undefined\else
  277. {\specialp@perstring} to\space
  278. %check for configured line breaks:
  279. \def\1{Corrigendum}\ifx\specialp@perstring\1\if@corrigendum\hfil\break\fi\else
  280. \def\1{Editorial note}\ifx\specialp@perstring\1
  281. \edef\1{\expandafter\expandafter\expandafter\check@journalnameabbreviation\expandafter\@journalnameabbreviation\space Discuss.\@nil}%
  282. \ifx\1\@empty\if@editorialnotetwoc\hfil\break\fi\else
  283. \if@editorialnoted\hfil\break\fi\fi\fi
  284. \fi
  285. \fi
  286. \@journalnameabbreviation
  287. \ifcopyediting\else\if@noref,\space\@msnumber\else,\space\@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear\fi}
  288. \def\@journalurlInfo{%
  289. \@journalurl\ifcopyediting\else/\if@noref\@msnumber\else\@pvol/\@fpage/\@pyear\fi/\fi}
  290. \def\runningheaderfont{%
  291. \if@stage@final%spec. obsolete ?
  292. \if@sansserifheader
  293. \reset@font\sffamily\normalsize\color{textcol}%
  294. \else
  295. \bfseries
  296. \fi
  297. \fi}
  298. \def\@manuscriptInfo{%
  299. % Manuscript prepared for \@journalnameabbreviation\\
  300. % with version \csname ver@\@classfilename.cls\endcsname\ %
  301. % of the \LaTeX\ class \@classfilename.cls.\\
  302. % Date: \number\day~\ifcase\month\or January\or February\or
  303. % March\or April\or May\or June\or July\or August\or September\or
  304. % October\or November\or December\fi~\number\year
  305. %~\\[12pt]
  306. }
  307. \if@stage@final
  308. \def\ps@plain{%only used for manuscript
  309. \let\@mkboth\@gobbletwo
  310. \let\@oddhead\@empty
  311. \let\@evenhead\@empty
  312. \def\@oddfoot{\reset@font\bfseries\hfil\thepage\hfil}%
  313. \let\@evenfoot\@oddfoot}
  314. \def\ps@headings{%
  315. \def\@oddhead{%
  316. \runningheaderfont
  317. \@runhd\hfil\llap{\thepage}%
  318. \if@cop@home\if@bar
  319. \textcolor{barcol}{\@ddsidemarginbar}%
  320. %\textcolor{textcol}{\@ddsidemarginrule}%
  321. \textcolor{rulecol}{\@ddsidemarginrule}%
  322. \fi\fi}
  323. \def\@evenhead{%
  324. \if@cop@home\if@bar
  325. \textcolor{barcol}{\@vensidemarginbar}%
  326. %\textcolor{textcol}{\@vensidemarginrule}%
  327. \textcolor{rulecol}{\@vensidemarginrule}%
  328. \fi\fi
  329. \runningheaderfont
  330. \rlap{\thepage}\hfil\@runhd}
  331. \if@cop@home
  332. \def\@oddfoot{\edit@rnotereminder\runningheaderfont\@journalurlInfo\hfil\ifx\specialp@perstring\@undefined\@journalInfo\else\specialp@perstring\fi}
  333. \def\@evenfoot{\edit@rnotereminder\runningheaderfont\ifx\specialp@perstring\@undefined\@journalInfo\else\specialp@perstring\fi\hfil\@journalurlInfo}
  334. \else
  335. \let\@oddfoot\@empty
  336. \let\@evenfoot\@empty
  337. \fi
  338. \let\@mkboth\@gobbletwo}
  339. \else%discussions
  340. \def\ps@headings{%
  341. \def\@oddhead{%
  342. \hfil
  343. \rlap{%
  344. \kern5mm
  345. \@tempdimb\dimexpr\headheight+\topmargin+1in\relax
  346. \@tempdimc\dimexpr\paperheight-\@tempdimb\relax
  347. \advance\@tempdimb\bleed
  348. \advance\@tempdimc\bleed
  349. \color{discussion_bartext_background}\smash{\vrule\@width5mm\@height\@tempdimb\@depth\@tempdimc}}%
  350. \rlap{%
  351. \kern5.7mm
  352. \rotatebox{-90}{%
  353. \fontsize{10}{10}\usefont{T1}{ma1}{m}{n}%
  354. \textcolor{discussion_bartext}{\kern-0.5mm%
  355. Discussion Paper \quad | \quad Discussion Paper \quad | \quad Discussion Paper \quad | \quad Discussion Paper \quad |}}}}
  356. \let\@evenhead\@oddhead
  357. \def\@oddfoot{\if@cop@home\edit@rnotereminder\fi\hfil\thepage\hfil}
  358. \let\@evenfoot\@oddfoot}
  359. \fi
  360. \if@stage@final
  361. \if@bar
  362. \def\@titlebar{%
  363. \textcolor{barcol}{\@ddsidemarginbar}%
  364. %\textcolor{textcol}{\@ddsidemarginrule}%
  365. \textcolor{rulecol}{\@ddsidemarginrule}%
  366. \rlap{\kern7.5mm\smash{%
  367. \raise3mm\hbox{\rotatebox[origin=Bl]{-90}{\reset@font\sffamily\Large\textcolor{textcol}{\@btext\strut}}}}}}
  368. \fi
  369. \def\ps@titlepage{%
  370. \if@cop@home
  371. \ifcopyediting
  372. \def\@oddhead{%
  373. \parbox[t]
  374. {\textwidth}
  375. {{\runningheaderfont\@sentence}\\
  376. \color[gray]{0.55}\put(0.7,0){\rule[1mm]{\textwidth}{0.1mm}}\\
  377. \textcolor[gray]{0.55}{Your manuscript was typeset and received English language copy-editing.\\
  378. The resulting file is available for proof-reading in the final journal style.\\
  379. The present document is only to review the language changes.}}%
  380. \if@bar\@titlebar\fi}
  381. \else
  382. \def\@oddhead{%
  383. \parbox[t]
  384. {0.6\textwidth}
  385. {\if@sansserifheader\leavevmode\runningheaderfont\fi
  386. \@journalInfo\\
  387. %\@journalurlInfo\\ %raus laut Ticket 4529
  388. https://doi.org/10.5194/%
  389. \if@noref
  390. \@msnumber
  391. \else
  392. \@journalnameshortlower
  393. -\@pvol-\@fpage-\@pyear
  394. \fi
  395. \ifx\specialp@perstring\@undefined\else-\def\1{Corrigendum}\ifx\specialp@perstring\1corrigendum\else editorial-note\fi\fi
  396. \\
  397. \@journalcopyright\\[1mm]
  398. \includegraphics[width=1.5cm]{CreativeCommons_Attribution_License.png}}%
  399. \hfill
  400. \setbox\z@\hbox{\@journallogo}%
  401. \@tempdima\ht\z@\advance\@tempdima-8\p@\lower\@tempdima\box\z@\\
  402. \ifangeocom
  403. \textcolor{barcol}{\@ddsidemarginbar}%
  404. %\textcolor{textcol}{\@ddsidemarginrule}%
  405. \textcolor{rulecol}{\@ddsidemarginrule}%
  406. \rlap{\kern9mm\smash{%
  407. \@tempdimc\headsep\advance\@tempdimc\textheight\advance\@tempdimc\footskip
  408. \lower\@tempdimc\hbox{\rotatebox[origin=lB]{90}{\fontsize{15}{15}\usefont{T1}{ma1}{m}{n}AnGeo Communicates}}}}%
  409. \else
  410. \if@bar\@titlebar\fi
  411. \fi}
  412. \fi
  413. \def\@oddfoot{\edit@rnotereminder\runningheaderfont\@sentence\hfil}
  414. \else
  415. \def\@oddhead{\parbox[t]{0.6\textwidth}{\@manuscriptInfo}}
  416. \let\@oddfoot\@empty
  417. \fi
  418. \let\@mkboth\@gobbletwo}
  419. \fi
  420. \AtEndDocument{%
  421. \clearpage
  422. \addtocounter{page}{-1}%
  423. \immediate\write\@auxout{\string\newlabel{LastPage}{{}{\thepage}{}{}{}}}%
  424. \addtocounter{page}{1}}
  425. \if@stage@final
  426. \def\@lpage{\hypersetup{linkcolor=textcol}\pageref{LastPage}}
  427. \else
  428. \def\@lpage{\pageref*{LastPage}}
  429. \fi
  430. \newcommand\sw@and{%
  431. \end{minipage}\\[1em]%
  432. \begin{minipage}[t]{\hsize}%
  433. \flushleft\baselineskip12pt}
  434. \def\@runtest{%
  435. \if@noauthor\else\if!\@runauth!\UndefinedError{\string\runningauthor}\fi\fi
  436. \if!\@runtit!\UndefinedError{\string\runningtitle}\fi}
  437. \def\maketitle{%
  438. \gdef\supplement##1{%
  439. \href{https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}%
  440. {https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-supplement}}%
  441. \ifnum\@fpage<0
  442. \CopernicusError{No article number given but citation by article number required}
  443. {Please provide \string\articlenumber.}
  444. \fi
  445. \ifx\citati@nbyarticlenumber\@undefined
  446. \ifodd\@fpage\else
  447. \CopernicusError
  448. {Starting page must be odd!}{change the firstpage command}%
  449. \fi
  450. \ifx\specialp@perstring\@undefined
  451. \setcounter{page}{\@fpage}%
  452. \fi
  453. \fi
  454. \setcounter{footnote}{0}%
  455. \if@stage@final\if@manuscript\else\thispagestyle{titlepage}\fi\fi
  456. \begingroup
  457. \parindent=\z@
  458. \@maketitle
  459. \endgroup
  460. \global\let\thanks\relax
  461. \global\let\maketitle\relax
  462. \global\let\@thanks\@empty
  463. \global\let\@author\@empty
  464. \global\let\@title\@empty
  465. \if@stage@final
  466. \if@manuscript\gdef\baselinestretch{1.4}\reset@font\normalsize\fi
  467. \fi
  468. \@runtest}
  469. \if@stage@final
  470. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  471. %% This is taken from `long2.sty'.
  472. %% Author: Tomas "tohecz" Hejda <[email protected]>
  473. %% Licenced under LaTeX-Project Public License version 1.3 or newer.
  474. \newlength\longtwo@top
  475. \newlength\longtwo@bottom
  476. \newsavebox\longtwo@box
  477. \def\longtwo@repeat{%
  478. \longtwo@column[{\@twocolumnfalse
  479. \ifdim\ht\longtwo@box>1.00\textheight%1
  480. \begingroup
  481. \vbadness10000
  482. \setbox0\vsplit\longtwo@box to 1.00\textheight%1
  483. \setbox1\vbox{\unvbox\longtwo@box}
  484. \global\setbox\longtwo@box\vbox{\unvbox1}%
  485. \setbox2\vbox to \textheight{\unvbox0}%
  486. \ht2=0.9\textheight
  487. \box2
  488. \endgroup
  489. \else
  490. \ifdim\ht\longtwo@box>0.84\textheight
  491. \global\let\longtwo@repeat\clearpage
  492. \else
  493. \global\let\longtwo@repeat\relax
  494. \fi
  495. \unvbox\longtwo@box
  496. \vspace{15pt plus 15pt}%
  497. \fi
  498. }]%
  499. \longtwo@repeat}
  500. \long\def\longtwo@[#1]{%
  501. \begingroup
  502. \let\longtwo@column\twocolumn
  503. \let\longtwo@mkttl\maketitle
  504. \def\maketitle{%
  505. \begingroup
  506. \let\newpage\relax
  507. \longtwo@mkttl
  508. \endgroup}
  509. \longtwo@column[{\@twocolumnfalse
  510. \global\setbox\longtwo@box\vbox{#1}%
  511. \ifdim\ht\longtwo@box>\textheight
  512. \begingroup
  513. \vbadness10000
  514. \setbox0\vsplit\longtwo@box to 1.00\textheight%1
  515. \setbox1\vbox{\unvbox\longtwo@box}%
  516. \global\setbox\longtwo@box\vbox{\unvbox1}%
  517. \setbox2\vbox to \textheight{\unvbox0}%
  518. \ht2=0.9\textheight
  519. \box2
  520. \endgroup
  521. \else
  522. \ifdim\ht\longtwo@box>0.87\textheight
  523. \global\let\longtwo@repeat\clearpage
  524. \else
  525. \global\let\longtwo@repeat\relax
  526. \fi
  527. \unvbox\longtwo@box
  528. \fi
  529. }]%
  530. \longtwo@repeat
  531. \endgroup}
  532. \def\longtwocolumn{\@ifnextchar[\longtwo@\twocolumn}
  533. %% End of file `long2.sty'.
  534. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  535. \def\@maketitle{%
  536. \if@manuscript%layout for first page in one-column mode
  537. \@@maketitlemanuscript
  538. \else%layout for first page in two-column mode
  539. \if@twocolumn
  540. \longtwocolumn[\@@maketitlefinal]%
  541. \else%allows output of heads larger than one page
  542. \@@maketitlefinal
  543. \fi
  544. \fi}
  545. \def\@@maketitlemanuscript{%
  546. \global\@topnum\z@
  547. \begin{nolinenumbers}%
  548. \parbox[t]{\textwidth}{\@manuscriptInfo}\par
  549. \vskip\baselineskip
  550. \raggedright
  551. \let\footnotesize\normalsize
  552. \let\footnoterule\relax
  553. \def\thefootnote{\fnsymbol{footnote}}%
  554. \def\@mpfn{footnote}%
  555. \let\thempfn=\thefootnote
  556. \renewcommand\@makefntext[1]{\parindent1em\noindent\@makefnmark##1}%
  557. {\LARGE\bfseries\if@sansserifface\mathversion{sansbold}\else\mathversion{bold}\fi\@title\par}%
  558. \if@noauthor
  559. \else
  560. {\large
  561. \renewcommand\Authfont{\normalfont}%
  562. \renewcommand\Affilfont{\normalsize\normalfont}%
  563. \setlength\affilsep{4pt}%
  564. \let\and=\sw@and
  565. \flushleft
  566. \@author\\[4pt]
  567. \ifx\@corresp\@empty\else\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} Correspondence:}} \@corresp\ifx\@howtocite\@empty\else\\[4pt]\fi\fi
  568. \ifx\@howtocite\@empty\else\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} How to cite:}} \@howtocite\fi
  569. \par}%
  570. \fi
  571. \@thanks
  572. \vspace{\baselineskip}%
  573. \end{nolinenumbers}}
  574. \def\@maketitle@setup{%
  575. \let\footnotesize\normalsize
  576. \let\footnoterule\relax
  577. \def\thefootnote{\fnsymbol{footnote}}%
  578. \def\@mpfn{footnote}%
  579. \let\thempfn=\thefootnote
  580. \renewcommand\@makefntext[1]{\parindent1em\noindent\@makefnmark##1}}
  581. \if@abstractcentered%modern
  582. \def\@@maketitlefinal{%
  583. \vspace*{31mm}%
  584. {\list{}{\leftmargin10mm\rightmargin\leftmargin}%
  585. \item\relax
  586. \hsize\linewidth
  587. \@maketitle@setup
  588. \centering
  589. \center{\LARGE\bfseries\if@sansserifface\sffamily\mathversion{sansbold}\else\mathversion{bold}\fi\color{textcol}%
  590. \ifx\specialp@perstring\@undefined\else\textit{{\specialp@perstring} to}\break``\fi
  591. \@title
  592. \ifx\specialp@perstring\@undefined
  593. \else
  594. ''\if@noref,\else\space published in\fi\space
  595. \@journalnameabbreviation ,
  596. \if@noref\@msnumber \else \@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear
  597. \fi
  598. \par}%
  599. \vspace{10pt}%
  600. \if@noauthor
  601. \else
  602. {\normalsize
  603. \renewcommand\Authfont{\bfseries}%
  604. \renewcommand\Affilfont{\reset@font}%
  605. \setlength\affilsep{4pt}%
  606. \let\and=\sw@and
  607. \@author\par}%
  608. \vskip-0.5\baselineskip
  609. \fi
  610. \ifx\@corresp\@empty\else\vskip\topsep\centering\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} Correspondence:}}\space\@corresp\fi
  611. \ifx\@howtocite\@empty\else\vskip.5\topsep\centering\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} How to cite:}}\space\@howtocite\fi
  612. \par\vskip0.33\baselineskip
  613. {\small
  614. \ifx\specialp@perstring\@undefined
  615. \if!\@recvd!
  616. \else
  617. Received: \@recvd
  618. \def\datesep{ -- }%
  619. \if@twostagejnl\ifx\@pubdiscuss\@empty\else
  620. \datesep Discussion started: \@pubdiscuss\def\datesep{\break\def\datesep{ -- }}%
  621. \fi\fi
  622. \if!\@revsd!\else\datesep Revised: \@revsd\fi
  623. \if!\@accptd!\else\datesep Accepted: \@accptd\fi
  624. \ifx\@published\@undefined\else\datesep\fi
  625. \fi
  626. \fi
  627. \ifx\@published\@undefined\else Published: \@published\fi
  628. }%
  629. \ifx\abstractexists\@undefined
  630. \else
  631. \par\vskip0.5\baselineskip
  632. \bgroup
  633. \advance\hsize-2\fboxsep\advance\hsize-2\fboxrule
  634. \parskip\z@
  635. \trivlist\item\relax
  636. \textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries\abstractname.}%
  637. \enspace\ignorespaces\@abstr
  638. \ifx\second@bstract\@undefined\else\par\vspace{1.7mm}\noindent
  639. \second@bstract
  640. \fi
  641. \if!\@keyw!\else
  642. \par\vspace{1.7mm}\noindent
  643. \textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries Keywords.}%
  644. \enspace\ignorespaces\@keyw
  645. \fi
  646. \endtrivlist
  647. \egroup
  648. \fi
  649. \endlist
  650. \par\vspace{1.5\baselineskip}}}
  651. \else%classical or indented
  652. \if@abstractindented%% indented
  653. \def\@@maketitlefinal{%
  654. \vspace*{36mm}%
  655. {\@maketitle@setup
  656. \raggedright
  657. {\LARGE\bfseries\if@sansserifface\sffamily\mathversion{sansbold}\else\mathversion{bold}\fi\color{textcol}%
  658. \ifx\specialp@perstring\@undefined\else\textit{{\specialp@perstring} to}\break``\fi
  659. \@title
  660. \ifx\specialp@perstring\@undefined
  661. \else
  662. ''\if@noref,\else\space published in\fi\space
  663. \@journalnameabbreviation,
  664. \if@noref\@msnumber \else \@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear
  665. \fi
  666. \par}%
  667. \if@noauthor
  668. \else
  669. \vspace{\baselineskip}%
  670. {\normalsize
  671. \renewcommand\Authfont{\bfseries}%
  672. \renewcommand\Affilfont{\mdseries}%
  673. \setlength\affilsep{4pt}%
  674. \let\and=\sw@and
  675. \@author\par}%
  676. \vskip-0.25\baselineskip
  677. \fi
  678. \@thanks}
  679. %% NEU:
  680. \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
  681. \par\vskip1.5\baselineskip
  682. \def\labelfont{\bfseries\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol}}%
  683. \list{}{\labelwidth35mm%
  684. \leftmargin\labelwidth
  685. \itemsep4mm
  686. \labelsep\z@
  687. \xdef\@indescription{}%
  688. \def\makelabel##1{\labelfont##1\hss}}%
  689. \ifx\@corresp\@empty\else\item[{Correspondence:}]\@corresp\fi
  690. \ifnum\ifx\@published\@undefined\ifx\specialp@perstring\@undefined\if!\@recvd!0\else1\fi\else0\fi\else1\fi=1\relax
  691. \item[{Relevant dates:}]%
  692. \fi
  693. \bgroup\raggedright
  694. \ifx\specialp@perstring\@undefined
  695. \if!\@recvd!
  696. \else
  697. \strut\hbox{Received:\nobreakspace\@recvd}%
  698. \def\datesep{ -- }%
  699. \if@twostagejnl\ifx\@pubdiscuss\@empty\else
  700. \datesep \hbox{Discussion started:\nobreakspace\@pubdiscuss}\def\datesep{\newline\def\datesep{ -- }}%
  701. \fi\fi
  702. \if!\@revsd!\else\datesep \hbox{Revised:\nobreakspace\@revsd}\fi
  703. \if!\@accptd!\else\datesep \hbox{Accepted:\nobreakspace\@accptd}\fi
  704. \ifx\@published\@undefined\else\datesep\fi
  705. \fi
  706. \fi
  707. \ifx\@published\@undefined\else Published:\nobreakspace\@published\fi
  708. \par\egroup
  709. \ifx\@howtocite\@empty\else\item[{How to cite:}]\@howtocite\fi
  710. \ifx\abstractexists\@undefined
  711. \else
  712. \item[\abstractname:]\@abstr%
  713. \ifx\second@bstract\@undefined\else\item[\secabstractname:]\second@bstract\fi
  714. \if!\@keyw!\else\item[Keywords:]\@keyw\fi
  715. \fi
  716. \endlist
  717. \fi
  718. \vspace{20pt}}
  719. \else%% classical
  720. \def\@@maketitlefinal{%
  721. \vspace*{36mm}%
  722. {\@maketitle@setup
  723. \raggedright
  724. {\LARGE\bfseries\if@sansserifface\if@sansserifface\sffamily\fi\mathversion{sansbold}\else\mathversion{bold}\fi\color{textcol}%
  725. \ifx\specialp@perstring\@undefined\else\textit{{\specialp@perstring} to}\break``\fi
  726. \@title
  727. \ifx\specialp@perstring\@undefined
  728. \else
  729. ''\if@noref,\else\space published in\fi\space
  730. \@journalnameabbreviation,
  731. \if@noref\@msnumber \else \@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi\fi, \@pyear
  732. \fi
  733. \par}%
  734. \if@noauthor
  735. \else
  736. \vspace{\baselineskip}%
  737. {\normalsize
  738. \renewcommand\Authfont{\bfseries}%
  739. \renewcommand\Affilfont{\mdseries}%
  740. \setlength\affilsep{4pt}%
  741. \let\and=\sw@and
  742. \@author\par}%
  743. \vskip-0.25\baselineskip
  744. \fi
  745. \@thanks
  746. \ifx\@corresp\@empty\else\vskip\baselineskip\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} Correspondence:}}\space\@corresp\fi
  747. \ifx\@howtocite\@empty\else\vskip.75\baselineskip\textbf{{\if@sansserifface\sffamily\fi\upshape\noindent\color{textcol} How to cite:}}\space\@howtocite\fi
  748. \par\vspace{10pt}%
  749. \ifx\specialp@perstring\@undefined
  750. \if!\@recvd!
  751. \else
  752. Received: \@recvd
  753. \def\datesep{ -- }%
  754. \if@twostagejnl\ifx\@pubdiscuss\@empty\else
  755. \datesep Discussion started: \@pubdiscuss\def\datesep{\newline\def\datesep{ -- }}%
  756. \fi\fi
  757. \if!\@revsd!\else\datesep Revised: \@revsd\fi
  758. \if!\@accptd!\else\datesep Accepted: \@accptd\fi
  759. \ifx\@published\@undefined\else\datesep\fi
  760. \fi
  761. \fi
  762. \ifx\@published\@undefined\else Published: \@published\fi
  763. \vspace{20pt}}}
  764. \fi
  765. \fi
  766. \else%discussions
  767. \def\titleheight#1{\def\@tithei{#1}} \def\@tithei{7.5cm}%reserved for future usage
  768. \def\@maketitle{%
  769. \global\@topnum\z@
  770. \if@cop@home\ifonline
  771. \hypertarget{title}{}%
  772. \hypersetup{pdfauthor={\@runauth}}%
  773. \hypersetup{pdftitle={\@runtit}}%
  774. \fi\fi
  775. \begin{nolinenumbers}%
  776. \if@cop@home
  777. \ifx\@msnumber\@undefined
  778. \CopernicusError{Please add \string\msnumber{...}}{You must provide the number of the manuscript}%
  779. \global\let\@msnumber\@empty
  780. \else
  781. \ifx\@msnumber\@empty
  782. \CopernicusError{Please fill \string\msnumber{...}}{You must provide the number of the manuscript}%
  783. \fi\fi
  784. \parbox[b]{107mm}{\fontsize{8}{11}\usefont{T1}{ma1}{m}{n}%
  785. %\@journalInfo\\
  786. %\@journalurlInfo\\
  787. %\if@noref\else
  788. % https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear
  789. %\fi\\
  790. %\@journalcopyright
  791. \ifx\specialp@perstring\@undefined\else{\specialp@perstring} to\space\fi
  792. \@journalnameabbreviation, %
  793. \ifx\specialp@perstring\@undefined
  794. \if@noref\else\doi{10.5194/\@msnumber}, \@pyear\fi\\
  795. Manuscript under review for journal \@journalnameabbreviationbase
  796. \else
  797. \@msnumber\\\@journalurl/\@msnumber/%
  798. \fi
  799. \\
  800. \ifx\specialp@perstring\@undefined
  801. Published: \@published
  802. \else
  803. \if@noref\else\doi{10.5194/\@msnumber-editorial-note}\fi
  804. \fi
  805. \\
  806. \copyright\ Author(s) \@pyear. CC-BY 3.0 License.%
  807. %\\[1mm]\includegraphics[width=1.5cm]{CreativeCommons_Attribution_License.png}%
  808. }%
  809. \hfill
  810. \setbox\z@\hbox{\@journallogo}\@tempdima\dimexpr\ht\z@-17mm\relax
  811. \smash{\lower\dimexpr3mm+\@tempdima\relax\llap{\@journallogo}}%war2.5mm
  812. \vskip5mm
  813. \ifacp\vskip1.5mm\fi
  814. \ifamt\vskip1.5mm\fi
  815. \ifhess\vskip1.5mm\fi
  816. {\fboxsep2mm
  817. \colorbox{discussion_bartext_background}
  818. {\advance\hsize-2\fboxsep
  819. \parbox{\hsize}
  820. {\color{discussion_bartext}\fontsize{9.5}{13}\usefont{T1}{ma1}{m}{n}%
  821. \@sentenceDiscussion\par}}}%
  822. \else
  823. \parbox[t]{\textwidth}{\@manuscriptInfo}%
  824. \fi
  825. \vskip13.6\p@
  826. \raggedright
  827. {\huge\bfseries\mathversion{bold}%
  828. \ifx\specialp@perstring\@undefined\else{\large\specialp@perstring\space to\\}``\fi
  829. \@title
  830. \ifx\specialp@perstring\@undefined\else''\\[1mm]\large\@journalnameabbreviation, \@msnumber, \@pyear\fi
  831. \\[5mm]}%
  832. \if@noauthor\else
  833. \def\Authfont{\rmfamily\bfseries}%
  834. \def\Affilfont{\@affilfontsize\rmfamily\mdseries}%
  835. \affilsep3mm
  836. \@author\\[3mm]
  837. \fi
  838. \if@cop@home
  839. {\small Received: \@recvd\ -- Accepted: \@accptd\ -- Published: \@published\\*[2mm]
  840. \if@noauthor\else Correspondence: \@corresp\fi\\*[2mm]
  841. \@sentence}
  842. \else
  843. \if@noauthor\else
  844. {\small Correspondence: \@corresp}%
  845. \fi
  846. \fi
  847. \end{nolinenumbers}%
  848. \vfill
  849. \clearpage}
  850. \fi%stage
  851. \if@stage@final
  852. \if@sansserifface
  853. \def\section{\@dolinesectrue\@startsection{section}{1}{\z@}
  854. {-3.5ex\@plus-1ex\@minus-0.2ex}
  855. {\[email protected]\else2.3ex\@plus0.2ex\fi}
  856. {\raggedright\normalsize\sffamily\bfseries\mathversion{sansbold}\upshape\noindent\color{textcol}}}
  857. \def\subsection{\@dolinesectrue\@startsection{subsection}{2}{\z@}
  858. {\if@secline-3ex\@plus-1ex\@minus-0.2ex\else-3.25ex\@plus-1ex\@minus-0.2ex\fi}
  859. {\[email protected]\else1.5ex\@plus0.2ex\fi}
  860. {\raggedright\normalsize\sffamily\mdseries\mathversion{sans}\upshape\noindent\color{textcol}}}
  861. \def\subsubsection{\@dolinesectrue\@startsection{subsubsection}{3}{\z@}
  862. {\if@secline-3ex\@plus-1ex\@minus-0.2ex\else-3.25ex\@plus-1ex\@minus-0.2ex\fi}
  863. {\[email protected]\else1.5ex\@plus0.2ex\fi}
  864. {\raggedright\normalsize\sffamily\mdseries\mathversion{sans}\upshape\noindent\color{textcol}}}
  865. \else%classical
  866. \def\section{\@dolinesectrue\@startsection{section}{1}{\z@}
  867. {-2em\@plus-1ex\@minus-.2ex}
  868. {\[email protected]\else1em\@plus.2ex\fi}
  869. {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}}
  870. \def\subsection{\@dolinesectrue\@startsection{subsection}{2}{\z@}
  871. {-1em\@plus-0.25ex\@minus-.2ex}
  872. {\[email protected]\else1em\@plus.2ex\fi}
  873. {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}}
  874. \def\subsubsection{\@dolinesectrue\@startsection{subsubsection}{3}{\z@}
  875. {-1em\@plus-0.25ex\@minus-.2ex}
  876. {\[email protected]\else1em\@plus.2ex\fi}
  877. {\raggedright\normalsize\normalfont\bfseries\mathversion{bold}}}
  878. \fi%final
  879. \else%discussions
  880. \def\section{\@dolinesectrue\@startsection{section}{1}{\z@}
  881. {-2em\@plus-1ex\@minus-.2ex}
  882. {1em\@plus.2ex}
  883. {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}}
  884. \def\subsection{\@dolinesectrue\@startsection{subsection}{2}{\z@}
  885. {-1em\@plus-0.25ex\@minus-.2ex}
  886. {1em\@plus.2ex}
  887. {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}}
  888. \def\subsubsection{\@dolinesectrue\@startsection{subsubsection}{3}{\z@}
  889. {-1em\@plus-0.25ex\@minus-.2ex}
  890. {1em\@plus.2ex}
  891. {\raggedright\normalfont\normalsize\bfseries\mathversion{bold}}}
  892. \fi
  893. \def\@startsection#1#2#3#4#5#6{%
  894. \gdef\cur@secdepth{#2}%
  895. \if@noskipsec \leavevmode \fi
  896. \par
  897. \@tempskipa #4\relax
  898. \@afterindenttrue
  899. \ifdim \@tempskipa <\z@
  900. \@tempskipa -\@tempskipa \@afterindentfalse
  901. \fi
  902. \if@nobreak
  903. \everypar{}%
  904. \else
  905. \addpenalty\@secpenalty\addvspace\@tempskipa
  906. \fi
  907. \if@secline\let\@secline@omitted\relax\fi
  908. \@ifstar
  909. {\@ssect{#3}{#4}{#5}{#6}}%
  910. {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
  911. \def\@afterheading{%
  912. \@nobreaktrue
  913. \everypar{%
  914. \if@nobreak
  915. \@nobreakfalse
  916. \clubpenalty \@M
  917. \if@afterindent \else
  918. {\setbox\z@\lastbox}%
  919. \fi
  920. \if@secline
  921. \if@dolinesec
  922. \if@sansserifface
  923. \rlap{\smash{\expandafter\ifnum\cur@secdepth>\@ne\raise1.2\baselineskip\else\raise1.5\baselineskip\fi\hbox{\vrule width\hsize height\arrayrulewidth\relax}}}%
  924. \else
  925. \rlap{\smash{\raise1.5\baselineskip\hbox{\vrule width\hsize height\arrayrulewidth\relax}}}%
  926. \fi
  927. \fi%
  928. \@dolinesecfalse
  929. \global\let\@secline@omitted\@undefined
  930. \fi
  931. \else
  932. \clubpenalty \@clubpenalty
  933. \everypar{}%
  934. \fi}%
  935. }
  936. \let\paragraph=\subsubsection
  937. \let\subparagraph=\paragraph
  938. \if@stage@final
  939. \if@manuscript
  940. \else
  941. \leftmargini2em
  942. \leftmarginii1.75em
  943. \leftmarginiii1.5em
  944. \leftmarginiv1em
  945. \leftmarginv0.5em
  946. \leftmarginvi0.5em
  947. \fi
  948. \fi
  949. \def\labelitemi{\bfseries\textendash}
  950. \def\labelitemii{\bfseries\textendash}
  951. \def\labelitemiii{$\m@th\bullet$}
  952. \def\labelitemiv{$\m@th\cdot$}
  953. \def\itemize{%
  954. \if@secline
  955. \ifx\@secline@omitted\relax
  956. \leavevmode
  957. \nobreak
  958. \vspace*{-1.72\baselineskip}%
  959. \global\let\@secline@omitted\@undefined
  960. \fi
  961. \fi
  962. \ifnum \@itemdepth >\thr@@\@toodeep\else
  963. \advance\@itemdepth\@ne
  964. \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  965. \expandafter
  966. \list
  967. \csname\@itemitem\endcsname
  968. {\def\makelabel##1{\hss\llap{##1}}}%
  969. \fi}
  970. \let\@abslang\relax
  971. \long\def\secondabstract#1{%
  972. \subpdfbookmark{\secabstractname.}{\secabstractname.}%
  973. \toks@{%
  974. \if@abstractindented\else\if@stage@final
  975. \noindent\textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries \secabstractname.} \ignorespaces\enskip
  976. \fi\fi
  977. #1}
  978. \immediate\write\@auxout{\string\gdef\string\second@bstract{\the\toks@}}%
  979. \if@abstractindented\else
  980. \if@stage@final
  981. \else
  982. \section*{\secabstractname}
  983. \second@bstract
  984. \fi
  985. \fi
  986. }
  987. \if@stage@final
  988. \ifnum\if@abstractcentered1\else\if@abstractindented1\else0\fi\fi=1\relax%modern oder indented
  989. \long\def\abstract{%
  990. \immediate\write\@auxout{\string\gdef\string\abstractexists{true}}%
  991. \iflanguage{ngerman}{\@abslang}{\iflanguage{german}{\@abslang}{}}%
  992. \subpdfbookmark{\abstractname}{abstract}%
  993. \edef\ABS@{\@currenvir}%
  994. \toks@{}\ABS@get@body}
  995. \let\endabstract\relax
  996. \long\def\ABS@get@body#1\end
  997. {\toks@\expandafter{\the\toks@\parindent1em\relax#1}\ABS@find@end}
  998. \def\ABS@find@end#1{%
  999. \def\@tempa{#1}%
  1000. \ifx\@tempa\ABS@
  1001. \expandafter\ABS@endabstract
  1002. \else
  1003. \toks@\expandafter{\the\toks@\end{#1}}\expandafter\ABS@get@body
  1004. \fi}
  1005. \def\ABS@{abstract}
  1006. \def\ABS@endabstract{%
  1007. \immediate\write\@auxout{\string\gdef\string\@abstr{\the\toks@}}%
  1008. \iflanguage{ngerman}%
  1009. {\gdef\@abslang{\selectlanguage{english}}}%
  1010. {\iflanguage{german}%
  1011. {\gdef\@abslang{\selectlanguage{english}}}%
  1012. {\gdef\@abslang{\selectlanguage{ngerman}}}}
  1013. \expandafter\end\expandafter{\ABS@}}
  1014. \else%classical
  1015. \renewenvironment{abstract}
  1016. {\gdef\abstractexists{true}%
  1017. \iflanguage{ngerman}{\@abslang}{\iflanguage{german}{\@abslang}{}}%
  1018. \reset@font\normalsize\par\noindent
  1019. \subpdfbookmark{\abstractname}{abstract}%
  1020. \textcolor{textcol}{\reset@font\normalsize\if@sansserifface\sffamily\fi\bfseries\abstractname.} \ignorespaces}
  1021. {%
  1022. \ifx\second@bstract\@undefined\else\vskip\baselineskip\second@bstract\fi
  1023. \if!\@keyw!\else
  1024. \par\vspace{1.7mm}\noindent
  1025. \textbf{Keywords.}\enspace\ignorespaces\@keyw
  1026. \fi
  1027. \if@manuscript\else\if@noline\else
  1028. \par\vskip\baselineskip
  1029. \fi\fi
  1030. \iflanguage{ngerman}
  1031. {\gdef\@abslang{\selectlanguage{english}}}%
  1032. {\iflanguage{german}%
  1033. {\gdef\@abslang{\selectlanguage{english}}}%
  1034. {\gdef\@abslang{\selectlanguage{german}}%
  1035. \if@manuscript\else\if@noline\else\hrule\fi\fi}}}
  1036. \fi
  1037. \else%discussions
  1038. \renewenvironment{abstract}
  1039. {\gdef\abstractexists{true}%
  1040. \iflanguage{ngerman}{\@abslang}{\iflanguage{german}{\@abslang}{}}%
  1041. \section*{\abstractname\if@cop@home\ifonline\hypertarget{abstr}{}\fi\fi}}
  1042. {\iflanguage{ngerman}%
  1043. {\gdef\@abslang{\selectlanguage{english}}}%
  1044. {\iflanguage{german}%
  1045. {\gdef\@abslang{\selectlanguage{english}}}%
  1046. {\gdef\@abslang{\selectlanguage{ngerman}}}}}
  1047. \fi%stage
  1048. %%make sure the author doesn't forget anything
  1049. \AtEndDocument{%
  1050. \@ifundefined{abstractexists}
  1051. {\NoSectionWarning{Abstract}}
  1052. {}}
  1053. \if@stage@final
  1054. \let\@oxfloat=\@xfloat
  1055. \else
  1056. \let\orig@xfloat\@xfloat
  1057. \def\@oxfloat#1[#2]{%
  1058. \clearpage
  1059. \@nodocument
  1060. \begin{nolinenumbers}%
  1061. \def\@captype{#1}%
  1062. \null\vfill}
  1063. \let\orig@end@float\end@float
  1064. \def\end@float{%
  1065. \vfill
  1066. \end{nolinenumbers}}
  1067. \fi
  1068. \def\@xfloat#1[#2]{%
  1069. \@oxfloat#1[#2]%
  1070. \if@stage@final\vspace*{2mm}\fi
  1071. \centering
  1072. \small}
  1073. \if@stage@final
  1074. \if@sansserifface
  1075. \def\fnum@figure{\sffamily\color{textcol}\figurename\nobreakspace\thefigure}
  1076. \def\fnum@table{\sffamily\color{textcol}\tablename\nobreakspace\thetable}
  1077. \fi
  1078. \else
  1079. \def\fnum@figure{\rmfamily\bfseries\figurename\nobreakspace\thefigure}
  1080. \def\fnum@table{\rmfamily\bfseries\tablename\nobreakspace\thetable}
  1081. \fi
  1082. \long\def\@makecaption#1#2{%
  1083. \def\@tempa{figure}\ifx\@captype\@tempa
  1084. \if@stage@final
  1085. \vskip0.7\abovecaptionskip
  1086. \else
  1087. \vskip\abovecaptionskip\goodbreak
  1088. \fi
  1089. \fi
  1090. {\reset@font\small{\bfseries#1.} #2\par}%
  1091. \if@cop@home\ifonline\ifnum\csname c@\@captype\endcsname=1 % for 1st fig or tab only
  1092. \immediate\write\@auxout{\string\gdef\string\@num\@captype{}}%
  1093. \hypertarget{\@captype}{}%
  1094. \fi\fi\fi
  1095. \def\@tempa{table}\ifx\@captype\@tempa
  1096. \vskip\abovecaptionskip
  1097. \if@stage@final\else\goodbreak\fi
  1098. \fi}
  1099. \if@stage@final
  1100. \if@manuscript
  1101. \else
  1102. \columnsep7mm\relax
  1103. \fi
  1104. \else
  1105. \columnsep7mm\relax
  1106. \fi
  1107. \if@stage@final
  1108. \if@manuscript
  1109. \pagestyle{plain}
  1110. \else
  1111. \pagestyle{headings}
  1112. \fi
  1113. \else
  1114. \pagestyle{headings}
  1115. \fi
  1116. \if@stage@final
  1117. \if@manuscript
  1118. \else
  1119. \@twosidetrue
  1120. \@twocolumntrue
  1121. \sloppy
  1122. \flushbottom
  1123. \fi
  1124. \fi
  1125. \RequirePackage[T1]{fontenc}
  1126. \RequirePackage{textcomp}
  1127. \ifx\xmltexversion\@undefined
  1128. \RequirePackage[utf8]{inputenc}
  1129. \DeclareUnicodeCharacter{0394}{$\Delta$}
  1130. \DeclareUnicodeCharacter{8710}{$\Delta$}
  1131. \DeclareUnicodeCharacter{0331}{\cmrng}
  1132. \DeclareUnicodeCharacter{014B}{\cmrng}
  1133. \fi
  1134. \def\cmrng{{\fontfamily{cmr}\selectfont\ng}}
  1135. \let\old@classoptionslist\@classoptionslist
  1136. \edef\@classoptionslist{english,\old@classoptionslist}
  1137. \RequirePackage[english]{babel}
  1138. \let\@classoptionslist\old@classoptionslist
  1139. \def\@tempa{french}\ifx\bbl@main@language\@tempa
  1140. \StandardLayout
  1141. \ifx\xmltexversion\@undefined\else
  1142. \begingroup
  1143. \catcode`\!=\active\gdef!{\utfeightax!}%
  1144. \catcode`\?=\active\gdef?{\utfeightax?}%
  1145. \catcode`\:=\active\gdef:{\utfeightax:}%
  1146. \endgroup
  1147. \fi
  1148. \fi
  1149. \expandafter\ifx\csname l@ngerman\endcsname\relax
  1150. \chardef\l@ngerman="FD
  1151. \fi
  1152. \expandafter\ifx\csname l@german\endcsname\relax
  1153. \chardef\l@german="FE
  1154. \fi
  1155. \def\@tempa{%
  1156. \def\introductionname{Introduction}%
  1157. \def\secabstractname{Kurzfassung}%
  1158. \def\conclusionname{Conclusions}%
  1159. \def\copyrightstatementname{Copyright statement}%
  1160. \def\codeavailabilityname{Code availability}%
  1161. \def\dataavailabilityname{Data availability}%
  1162. \def\codedataavailabilityname{Code and data availability}%
  1163. \def\sampleavailabilityname{Sample availability}%
  1164. \def\authorcontributionname{Author contributions}%
  1165. \def\competinginterestsname{Competing interests}%
  1166. \def\teamlistname{Team list}%
  1167. \def\disclaimername{Disclaimer}%
  1168. \def\sistatementname{Special issue statement}%
  1169. \def\acknowledgementname{Acknowledgement}%
  1170. \def\acknowledgementsname{Acknowledgements}%
  1171. \if@cop@home
  1172. \def\equationname{Eq.}%
  1173. \def\sectionname{Sect.}%
  1174. \fi}
  1175. \expandafter\addto\expandafter\captionsbritish\expandafter{\@tempa}
  1176. \expandafter\addto\expandafter\captionsUKenglish\expandafter{\@tempa}
  1177. \expandafter\addto\expandafter\captionsenglish\expandafter{\@tempa}
  1178. \expandafter\addto\expandafter\captionsamerican\expandafter{\@tempa}
  1179. \expandafter\addto\expandafter\captionsUSenglish\expandafter{\@tempa}
  1180. \def\@tempa{%
  1181. \def\figurename{Abb.}%
  1182. \def\abstractname{Kurzfassung}%
  1183. \def\secabstractname{Abstract}%
  1184. \def\introductionname{Einleitung}%
  1185. \def\conclusionname{Fazit}%
  1186. \def\copyrightstatementname{Urheberrechtserklärung}%
  1187. \def\codeavailabilityname{Codeverfügbarkeit}%
  1188. \def\dataavailabilityname{Datenverfügbarkeit}%
  1189. \def\codedataavailabilityname{Code- und Datenverfügbarkeit}%
  1190. \def\sampleavailabilityname{Probenverfügbarkeit}%
  1191. \def\authorcontributionname{Autorenmitwirkung}%
  1192. \def\competinginterestsname{Interessenkonflikt}%
  1193. \def\teamlistname{Gruppenautorenschaft}%
  1194. \def\disclaimername{Haftungsausschluss}%
  1195. \def\sistatementname{Erklärung zum Sonderheft}%
  1196. \def\acknowledgementname{Danksagung}%
  1197. \def\acknowledgementsname{Danksagung}%
  1198. \if@cop@home
  1199. \def\equationname{Gl.}%
  1200. \def\sectionname{Kap.}%
  1201. \fi}
  1202. \expandafter\addto\expandafter\captionsngerman\expandafter{\@tempa}
  1203. \expandafter\addto\expandafter\captionsgerman\expandafter{\@tempa}
  1204. \def\@tempa{%
  1205. \def\figurename{Figure}%
  1206. \def\tablename{Tableau}%
  1207. \def\secabstractname{Kurzfassung}%
  1208. \def\introductionname{Introduction}%
  1209. \def\conclusionname{Conclusion}%
  1210. \def\copyrightstatementname{Affirmation du droit d'auteur}%
  1211. \def\codeavailabilityname{Disponibilité du code}%
  1212. \def\dataavailabilityname{Disponibilité des données}%
  1213. \def\sampleavailabilityname{Disponibilité des examples}%
  1214. \def\codedataavailabilityname{Disponibilité du code et des données}%
  1215. \def\authorcontributionname{Collaborateurs}%
  1216. \def\competinginterestsname{Intérêts concurrents}%
  1217. \def\teamlistname{Liste d'auteurs}%
  1218. \def\disclaimername{Clause de non-responsabilité}%
  1219. \def\sistatementname{Déclaration de la numéro special}%
  1220. \def\acknowledgementname{Remerciements}%
  1221. \def\acknowledgementsname{Remerciements}%
  1222. \if@cop@home
  1223. \def\equationname{Éq.}%
  1224. \def\sectionname{Sect.}%
  1225. \fi}
  1226. \expandafter\addto\expandafter\captionsfrench\expandafter{\@tempa}
  1227. \expandafter\addto\expandafter\captionsfrancais\expandafter{\@tempa}
  1228. \expandafter\addto\expandafter\captionscanadien\expandafter{\@tempa}
  1229. \expandafter\addto\expandafter\captionsacadian\expandafter{\@tempa}
  1230. \RequirePackage{array}
  1231. \def\@cline#1-#2\@nil{%
  1232. \noalign{%
  1233. \ifx\@clinecorr\@undefined
  1234. \vskip0.5mm%
  1235. \global\let\@clinecorr\relax
  1236. \else
  1237. \vskip-1.5mm%
  1238. \fi}%
  1239. \omit
  1240. \@multicnt#1%
  1241. \advance\@multispan\m@ne
  1242. \ifnum\@multicnt=\@ne\@firstofone{&\omit}\fi
  1243. \@multicnt#2%
  1244. \advance\@multicnt-#1%
  1245. \advance\@multispan\@ne
  1246. \leaders\hrule\@height\arrayrulewidth\hfill
  1247. \cr
  1248. \noalign{%
  1249. \vskip-\arrayrulewidth
  1250. \vskip1.5mm}}
  1251. \def\@arraycr{\relax\iffalse{\fi\ifnum 0=`}\fi
  1252. \global\let\@clinecorr\@undefined
  1253. \@ifstar \@xarraycr \@xarraycr}
  1254. \RequirePackage{tabularx}
  1255. \IfFileExists{graphicx.sty}
  1256. {\RequirePackage{graphicx}%
  1257. \ifnum\pdfoutput=\z@
  1258. \DeclareGraphicsExtensions{.eps,.ps}%
  1259. \else
  1260. \DeclareGraphicsExtensions{.pdf,.png,.jpg}
  1261. \fi}
  1262. {\CopernicusWarningNoLine{Cannot find graphicx.sty; proceeding without it}}
  1263. \IfFileExists{color.sty}
  1264. {\RequirePackage{color}}
  1265. {\CopernicusWarningNoLine{Cannot find color.sty; proceeding without it}}
  1266. \IfFileExists{amssymb.sty}
  1267. {\RequirePackage{amssymb}}
  1268. {\CopernicusWarningNoLine{Cannot find amssymb.sty; proceeding without it}}
  1269. \IfFileExists{amsmath.sty}
  1270. {\RequirePackage[intlimits,fleqn,tbtags]{amsmath}
  1271. \ifx\xmltexversion\@undefined
  1272. \else
  1273. \renewcommand{\allowdisplaybreaks}[1][4]{%
  1274. \global\interdisplaylinepenalty\getdsp@pen{##1}\relax}%
  1275. \fi}
  1276. {\CopernicusWarningNoLine{Cannot find amsmath.sty; proceeding without it}}
  1277. \RequirePackage{amsthm}
  1278. \newcommand\Authfont{\normalfont}
  1279. \newcommand\Affilfont{\normalfont}
  1280. \newcommand\Authsep{, }
  1281. \newcommand\Authands{, and }
  1282. \newcommand\Authand{ and }
  1283. \newlength\affilsep\setlength{\affilsep}{1em}
  1284. \newlength\@affilsep
  1285. \newcounter{Maxaffil}
  1286. \setcounter{Maxaffil}{2}
  1287. \newcounter{authors}
  1288. \newcounter{affil}
  1289. \newif\ifnewaffil \newaffiltrue
  1290. \newcommand\AB@authnote[1]{\textsuperscript{\normalfont#1}}
  1291. \newcommand\AB@affilnote[1]{\textsuperscript{\normalfont#1}}
  1292. \providecommand\textsuperscript[1]{$^{#1}$}
  1293. \newcommand\AB@blk@and{\protect\Authfont\protect\AB@setsep}
  1294. \newcommand\AB@pand{\protect\and \protect\Authfont \protect\AB@setsep}
  1295. \@namedef{@sep1}{}
  1296. \@namedef{@sep2}{\Authand}
  1297. \newcommand\AB@affilsep{\protect\Affilfont}
  1298. \newcommand\AB@affilsepx{\protect\\\protect\Affilfont}
  1299. \newcommand\AB@setsep{\setlength{\@affilsep}{\affilsep}}
  1300. \newcommand\AB@resetsep{\setlength{\@affilsep}{\z@}}
  1301. \newcommand\AB@authlist{}
  1302. \newcommand\AB@affillist{}
  1303. \newcommand\AB@authors{}
  1304. \newcommand\AB@empty{}
  1305. \xdef\AB@author{\noexpand\AB@blk@and\@author}
  1306. \renewcommand\author[2][]%
  1307. {\ifnewaffil\addtocounter{affil}{1}%
  1308. \xdef\AB@thenote{\arabic{affil}}\fi
  1309. \def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
  1310. \setcounter{Maxaffil}{0}\fi
  1311. \ifnum\value{authors}>1\relax
  1312. \expandafter\gdef\csname @sep\number\c@authors\endcsname{\Authsep}%
  1313. \fi
  1314. \addtocounter{authors}{1}%
  1315. \begingroup
  1316. \let\protect\@unexpandable@protect \let\and\AB@pand
  1317. \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}%
  1318. \@temptokena=\expandafter{\AB@authors}%
  1319. {\def\\{\protect\\[\@affilsep]\protect\Affilfont
  1320. \protect\AB@resetsep}%
  1321. \protected@xdef\AB@author{\AB@blk@and#2}%
  1322. \ifnewaffil\gdef\AB@las{}\gdef\AB@lasx{\protect\Authand}\gdef\AB@as{}%
  1323. \xdef\AB@authors{\the\@temptokena\AB@blk@and}%
  1324. \else
  1325. \xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}%
  1326. \global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}%
  1327. \gdef\AB@as{\Authsep}%
  1328. \fi
  1329. \gdef\AB@au@str{#2}}%
  1330. \@temptokena=\expandafter{\AB@authlist}%
  1331. \let\\=\authorcr
  1332. \protected@xdef\AB@authlist{\the\@temptokena
  1333. \protect\@nameuse{@sep\number\c@authors}%
  1334. \protect\Authfont#2\AB@authnote{\AB@note}}%
  1335. \endgroup
  1336. \ifnum\value{authors}>2\relax
  1337. \expandafter\gdef\csname @sep\number\c@authors\endcsname{\Authands}%
  1338. \fi
  1339. \newaffilfalse
  1340. }
  1341. \newcommand\authorcr{\protect\\ \protect\Authfont \protect\AB@setsep}%
  1342. \newcommand\affil[2][]%
  1343. {\newaffiltrue\let\AB@blk@and\AB@pand
  1344. \def\@tempa{#1}\ifx\@tempa\@empty\def\AB@note{\AB@thenote}\else\def\AB@note{#1}%
  1345. \setcounter{Maxaffil}{0}\fi
  1346. \begingroup
  1347. \let\protect\@unexpandable@protect
  1348. \def\thanks{\protect\thanks}\def\footnote{\protect\footnote}%
  1349. \@temptokena=\expandafter{\AB@authors}%
  1350. {\def\\{\protect\\\protect\Affilfont}\protected@xdef\AB@temp{#2}}%
  1351. \protected@xdef\AB@authors{\the\@temptokena\AB@las\AB@au@str
  1352. \protect\\[\affilsep]\protect\Affilfont\AB@temp}%
  1353. \gdef\AB@las{}\gdef\AB@au@str{}%
  1354. {\def\\{, \ignorespaces}\protected@xdef\AB@temp{#2}}%
  1355. \@temptokena=\expandafter{\AB@affillist}%
  1356. \protected@xdef\AB@affillist{\the\@temptokena \AB@affilsep
  1357. \AB@affilnote{\AB@note}\protect\Affilfont\AB@temp}%
  1358. \endgroup
  1359. \let\AB@affilsep\AB@affilsepx
  1360. }
  1361. \def\@author{}
  1362. \renewcommand\@author{%
  1363. \ifx\AB@affillist\AB@empty\AB@author\else
  1364. \ifnum\value{affil}>\value{Maxaffil}%
  1365. \AB@authlist\\[\affilsep]\AB@affillist
  1366. \else
  1367. \AB@authors
  1368. \fi
  1369. \fi}
  1370. \def\Author{\@ifnextchar[\@Author{\@Author[]}}%]
  1371. \def\@Author[#1]{%
  1372. \def\@tempa{#1}%
  1373. \@ifnextchar(\@@Author{\@@Author()}}%)}
  1374. \def\@@Author(#1){%
  1375. \def\@tempb{#1}%
  1376. \@ifnextchar(\@@@Author{\@@@Author()}}%)}
  1377. \def\@@@Author(#1)#2#3{%
  1378. \def\@tempc{#1}%
  1379. \protected@edef\@tempd{%
  1380. \ifx\@tempb\@empty\else\@tempb\nobreakspace\fi
  1381. #2\nobreakspace
  1382. #3%
  1383. \ifx\@tempc\@empty\else\nobreakspace\@tempc\fi}%
  1384. \expandafter\expandafter\expandafter\author\expandafter\expandafter\expandafter
  1385. [\expandafter\@tempa\expandafter]\expandafter{\@tempd}}
  1386. \providecommand\appendixname{Appendix}
  1387. \let\orisection=\section
  1388. \let\theolds=\thesection
  1389. \let\theoldss=\thesubsection
  1390. \def\appendix{\par
  1391. \setcounter{section}{0}%
  1392. \setcounter{subsection}{0}%
  1393. \def\thesection{\@Alph\c@section}%
  1394. \def\thesubsection{\thesection\@arabic\c@subsection}%
  1395. \setcounter{secnumdepth}{4}%
  1396. \@addtoreset{equation}{section}%
  1397. \setcounter{equation}{0}%
  1398. \setcounter{reaction}{0}%
  1399. \def\theequation{\thesection\@arabic\c@equation}%
  1400. \def\thereaction{\thesection R\@arabic\c@reaction}%
  1401. \let\c@org@eq\c@equation%
  1402. \let\org@theeq\theequation%
  1403. \if@stage@final
  1404. \@addtoreset{figure}{section}%
  1405. \setcounter{figure}{0}%
  1406. \def\thefigure{\thesection\@arabic\c@figure}%
  1407. \@addtoreset{table}{section}%
  1408. \setcounter{table}{0}%
  1409. \def\thetable{\thesection\@arabic\c@table}%
  1410. \fi
  1411. \global\let\old@sect\@sect
  1412. \def\@sect##1##2##3##4##5##6[##7]##8{%
  1413. \ifnum ##2>\c@secnumdepth
  1414. \let\@svsec\@empty
  1415. \else
  1416. \refstepcounter{##1}%
  1417. \ifnum ##2=\@ne
  1418. \def\@tempa{##8}%
  1419. \protected@edef\@svsec{%
  1420. \appendixname\space\csname the##1\endcsname
  1421. \ifx\@tempa\@empty\else:\enskip\fi\relax}%
  1422. \else
  1423. \protected@edef\@svsec{\@seccntformat{##1}\relax}%
  1424. \fi
  1425. \fi
  1426. \@tempskipa ##5\relax
  1427. \ifdim \@tempskipa>\z@
  1428. \begingroup
  1429. \ifnum ##2=\@ne\let\@hangfrom\noindent\fi
  1430. ##6{%
  1431. \@hangfrom{\hskip ##3\relax\@svsec}%
  1432. \interlinepenalty \@M ##8\@@par}%
  1433. \endgroup
  1434. \csname ##1mark\endcsname{##7}%
  1435. \addcontentsline{toc}{##1}{%
  1436. \appendixname\space\csname the##1\endcsname\if!##7!\else:\space\fi%for bookmarks
  1437. ##7}%
  1438. \else
  1439. \def\@svsechd{%
  1440. ##6{\hskip ##3\relax
  1441. \@svsec ##8}%
  1442. \csname ##1mark\endcsname{##7}%
  1443. \addcontentsline{toc}{##1}{%
  1444. \appendixname\space\csname the##1\endcsname\if!##7!\else:\space\fi%for bookmarks
  1445. ##7}}%
  1446. \fi
  1447. \@xsect{##5}}
  1448. \global\let\old@ssect\@ssect
  1449. \def\@ssect##1##2##3##4##5{%
  1450. \@tempskipa ##3\relax
  1451. \ifdim \@tempskipa>\z@
  1452. \begingroup
  1453. ##4{%
  1454. \@hangfrom{\hskip ##1}%
  1455. \@tempskipa##2\relax
  1456. \ifdim\@tempskipa<-17\p@%check for sectionlevel=1
  1457. \appendixname
  1458. \def\@tempa{##5}\ifx\@tempa\@empty\else:\enskip\fi
  1459. \fi
  1460. \interlinepenalty \@M ##5\@@par}%
  1461. \endgroup
  1462. \else
  1463. \def\@svsechd{##4{\hskip ##1\relax ##5}}%
  1464. \fi
  1465. \@xsect{##3}}}
  1466. \def\noappendix{\setcounter{secnumdepth}{0}%
  1467. \global\let\section=\orisection
  1468. \global\let\thesection=\theolds
  1469. \global\let\thesubsection=\theoldss
  1470. \ifx\old@sect\@undefined\else\global\let\@sect\old@sect\fi
  1471. \ifx\old@ssect\@undefined\else\global\let\@ssect\old@ssect\fi
  1472. \def\thefigure{\@arabic\c@figure}%
  1473. \def\thetable{\@arabic\c@table}}
  1474. \IfFileExists{url.sty}
  1475. {\RequirePackage{url}\urlstyle{same}}%
  1476. {\CopernicusWarningNoLine{Cannot find url.sty; proceeding without it}%
  1477. \def\url#1{%
  1478. \CopernicusError{To use \string\url, you must have url.sty}{Install url.sty}}}
  1479. \newcommand\doitext{https://doi.org/}
  1480. \newcommand*\doi{%
  1481. \begingroup
  1482. \lccode`\~=`\#\relax
  1483. \lowercase{\def~{\#}}%
  1484. \lccode`\~=`\_\relax
  1485. \lowercase{\def~{\_}}%
  1486. \lccode`\~=`\<\relax
  1487. \lowercase{\def~{\textless}}%
  1488. \lccode`\~=`\>\relax
  1489. \lowercase{\def~{\textgreater}}%
  1490. \lccode`\~=0\relax
  1491. \catcode`\#=\active
  1492. \catcode`\_=\active
  1493. \catcode`\<=\active
  1494. \catcode`\>=\active
  1495. %catcode change won't work after \bibitem while backref.sty
  1496. % grabs for the whole entry
  1497. \@doi}
  1498. \def\@doi#1{%
  1499. \let\#\relax
  1500. \let\_\relax
  1501. \let\textless\relax
  1502. \let\textgreater\relax
  1503. \edef\x{\toks0={{#1}}}%
  1504. \x
  1505. \edef\#{\@percentchar23}%
  1506. \edef\_{_}%
  1507. \edef\textless{\@percentchar3C}% instead of {\string<} for Apple
  1508. \edef\textgreater{\@percentchar3E}% instead of {\sting>} for Apple
  1509. \edef\x{\toks1={\noexpand\href{https://doi.org/#1}}}%
  1510. \x
  1511. \edef\x{\endgroup\doitext\the\toks1 \the\toks0}%
  1512. \x}
  1513. \IfFileExists{accents.sty}
  1514. {\RequirePackage{accents}}
  1515. {\CopernicusWarningNoLine{Cannot find accents.sty; proceeding without it}}
  1516. \IfFileExists{cancel.sty}
  1517. {\RequirePackage{cancel}}
  1518. {\CopernicusWarningNoLine{Cannot find cancel.sty; proceeding without it}}
  1519. \IfFileExists{multirow.sty}
  1520. {\RequirePackage{multirow}}
  1521. {\CopernicusWarningNoLine{Cannot find multirow.sty; proceeding without it}}
  1522. \IfFileExists{supertabular.sty}
  1523. {\RequirePackage{supertabular}%
  1524. \let\old@tablecaption\tablecaption
  1525. \def\tablecaption{\def\@captype{table}\old@tablecaption}
  1526. \let\old@supertabular\supertabular
  1527. \def\supertabular{%
  1528. \clearpage
  1529. \centering
  1530. \small
  1531. \old@supertabular}
  1532. \@namedef{supertabular*}##1{%
  1533. \clearpage
  1534. \centering
  1535. \small
  1536. \@ifnextchar[{\@nameuse{@supertabular*}{##1}}%
  1537. {\@nameuse{@supertabular*}{##1}[]}%]
  1538. }
  1539. \let\old@endsupertabular\endsupertabular
  1540. \def\ud@captype{\let\@captype\@undefined}
  1541. \def\ud@cr{\let\\\@normalcr}
  1542. \long\def\endsupertabular{%
  1543. \old@endsupertabular\par
  1544. \global\let\@table@first@head\undefined
  1545. \global\let\@table@last@tail\undefined
  1546. \tablehead{}%
  1547. \tabletail{}%
  1548. \aftergroup\ud@captype
  1549. \aftergroup\ud@cr}
  1550. \expandafter\let\csname endsupertabular*\endcsname\endsupertabular}
  1551. {\CopernicusWarningNoLine{Cannot find supertabular.sty; proceeding without it}}
  1552. \IfFileExists{algorithmic.sty}
  1553. {\RequirePackage{algorithmic}}
  1554. {\CopernicusWarningNoLine{Cannot find algorithmic.sty; proceeding without it}}
  1555. \IfFileExists{algorithm.sty}
  1556. {\if@stage@final
  1557. \else
  1558. \def\extra@float##1{%
  1559. \@ifnextchar[%]
  1560. {\orig@xfloat{##1}}%
  1561. {\edef\reserved@a{\noexpand\orig@xfloat{##1}[\csname fps@##1\endcsname]}%
  1562. \reserved@a}}
  1563. \RequirePackage{float}%
  1564. \def\float@restyle##1{\expandafter\edef\csname
  1565. fst@##1\endcsname{\expandafter\noexpand\csname
  1566. fs@\float@style\endcsname}%
  1567. \@namedef{##1}{\@nameuse{fst@##1}%
  1568. \@float@setevery{##1}\extra@float{##1}}%
  1569. \@namedef{##1*}{\@nameuse{fst@##1}%
  1570. \@float@setevery{##1}\@dblfloat{##1}}%
  1571. \expandafter\let\csname end##1\endcsname\float@end
  1572. \expandafter\let\csname end##1*\endcsname\float@dblend
  1573. \expandafter\let\csname @float@c@##1\endcsname=\float@caption
  1574. \@ifundefined{@float@every@##1}{%
  1575. \expandafter\newtoks\csname @float@every@##1\endcsname}{}%
  1576. \@nameuse{@float@every@##1}={}}
  1577. \def\float@end{\@endfloatbox
  1578. \global\setbox\@currbox\float@makebox\columnwidth
  1579. \let\@endfloatbox\relax\orig@end@float}
  1580. \fi
  1581. \RequirePackage{algorithm}
  1582. \def\theHalgorithm{\@arabic\c@algorithm}}
  1583. {\CopernicusWarningNoLine{Cannot find algorithm.sty; proceeding without it}}
  1584. \let\cop@makecaption\@makecaption
  1585. \if@stage@final
  1586. \IfFileExists{caption.sty}
  1587. {\RequirePackage{caption}}
  1588. {\CopernicusWarningNoLine{Cannot find caption.sty; proceeding without it}}
  1589. \else
  1590. \IfFileExists{subfig.sty}
  1591. {\RequirePackage{subfig}}
  1592. {\CopernicusWarningNoLine{Cannot find subfig.sty; proceeding without it}}
  1593. \fi
  1594. \let\@makecaption\cop@makecaption
  1595. \IfFileExists{subfloat.sty}
  1596. {\RequirePackage{subfloat}%
  1597. \protected@xdef\themainfigure{\thefigure}%
  1598. \protected@xdef\themaintable{\thetable}%
  1599. \g@addto@macro\subfiguresbegin{\global\let\theHfigure\thesubfloatfigure}
  1600. \g@addto@macro\subtablesbegin{\global\let\theHtable\thesubfloattable}
  1601. \g@addto@macro\subfiguresend{\global\let\theHfigure\thefigure@original}
  1602. \g@addto@macro\subtablesend{\global\let\theHtable\thetable@original}}
  1603. {\CopernicusWarningNoLine{Cannot find subfloat.sty; proceeding without it}}
  1604. \RequirePackage[authoryear,round]{natbib}
  1605. \def\NAT@sort{0}\def\NAT@cmprs{0}
  1606. \renewcommand\NAT@sep{;} \renewcommand\NAT@cmt{, }
  1607. \renewcommand\NAT@aysep{,} \renewcommand\NAT@yrsep{, }
  1608. \setlength\bibsep\z@
  1609. \let\bibfont\small
  1610. \NAT@numbersfalse
  1611. \NAT@set@cites
  1612. \let\NAT@set@cites\relax
  1613. \AtBeginDocument{\let\@citex\NAT@citex}
  1614. \newcommand\urlprefix{}
  1615. \renewenvironment{thebibliography}[1]
  1616. {\bibsection
  1617. \if@secline\leavevmode\vspace*{-\baselineskip}\nobreak\fi
  1618. \parindent\z@
  1619. \bibpreamble
  1620. \bibfont
  1621. \list{\@biblabel{\arabic{NAT@ctr}}}{\@bibsetup{#1}%
  1622. \setcounter{NAT@ctr}{0}}%
  1623. \ifNAT@openbib
  1624. \renewcommand\newblock{\par}
  1625. \else
  1626. \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
  1627. \fi
  1628. \sloppy
  1629. %\clubpenalty4000\widowpenalty4000
  1630. \sfcode`\.=1000\relax
  1631. \let\citeN\cite \let\shortcite\cite
  1632. \let\citeasnoun\cite}
  1633. {\def\@noitemerr{%
  1634. \PackageWarning{natbib}{Empty `thebibliography' environment}}%
  1635. \endlist\vskip-\lastskip}
  1636. \def\bibsection{%
  1637. \if@stage@final
  1638. \if@manuscript\newpage\fi
  1639. \pdfbookmark[1]{\refname}{biblio}%
  1640. \fi
  1641. \noappendix\section*{\refname\if@cop@home\ifonline\hypertarget{references}{}\fi\fi}}
  1642. \RequirePackage{rotating}
  1643. \def\@rotxdblfloat#1[#2]{%
  1644. \@float{#1}[#2]%
  1645. \hsize\textwidth\linewidth\textwidth
  1646. \begin{lrbox}\rot@float@box
  1647. \begin{minipage}\textheight
  1648. }
  1649. \IfFileExists{lineno.sty}
  1650. {\RequirePackage[mathlines,modulo]{lineno}%
  1651. \if@stage@final
  1652. \if@manuscript
  1653. \linenumbers\setpagewiselinenumbers\renewcommand\linenumberfont{\normalfont\small\sffamily}%
  1654. \else
  1655. \setpagewiselinenumbers\switchlinenumbers%cf. the switch option
  1656. \linenumbersep3\p@
  1657. \if@cop@home
  1658. \nolinenumbers
  1659. \else%new, 2015-12-14
  1660. \linenumbers
  1661. \fi
  1662. \fi
  1663. \else
  1664. \setpagewiselinenumbers
  1665. \if@cop@home\linenumbers\fi
  1666. \fi
  1667. \g@addto@macro\nolinenumbers{\linenopenalty\z@}%avoids problems with \patchAmsMathEnvironmentForLinenoX while \nolinenumbers
  1668. \newcommand*\patchAmsMathEnvironmentForLineno[1]{%
  1669. \expandafter\let\csname old##1\expandafter\endcsname\csname ##1\endcsname
  1670. \expandafter\let\csname oldend##1\expandafter\endcsname\csname end##1\endcsname
  1671. \renewenvironment{##1}%
  1672. {\linenomath\csname old##1\endcsname}%
  1673. {\csname oldend##1\endcsname\endlinenomath}}%
  1674. \newcommand*\patchBothAmsMathEnvironmentsForLineno[1]{%
  1675. \patchAmsMathEnvironmentForLineno{##1}%
  1676. \patchAmsMathEnvironmentForLineno{##1*}}%
  1677. \newcommand*\patchAmsMathEnvironmentForLinenoX[1]{%
  1678. \expandafter\let\csname old##1\expandafter\endcsname\csname ##1\endcsname
  1679. \expandafter\let\csname oldend##1\expandafter\endcsname\csname end##1\endcsname
  1680. \renewenvironment{##1}%
  1681. {\linenomath\advance
  1682. \postdisplaypenalty-\linenopenalty
  1683. \csname old##1\endcsname}%
  1684. {\csname oldend##1\endcsname\endlinenomath}}%
  1685. \newcommand*\patchBothAmsMathEnvironmentsForLinenoX[1]{%
  1686. \patchAmsMathEnvironmentForLinenoX{##1}%
  1687. \patchAmsMathEnvironmentForLinenoX{##1*}}%
  1688. \AtBeginDocument{%
  1689. \patchBothAmsMathEnvironmentsForLineno{equation}%
  1690. \patchBothAmsMathEnvironmentsForLinenoX{align}%
  1691. \patchBothAmsMathEnvironmentsForLinenoX{flalign}%
  1692. \patchBothAmsMathEnvironmentsForLinenoX{alignat}%
  1693. \patchBothAmsMathEnvironmentsForLinenoX{gather}%
  1694. \patchBothAmsMathEnvironmentsForLinenoX{multline}}}
  1695. {\CopernicusWarningNoLine{Cannot find lineno.sty; proceeding without it}%
  1696. \let\nolinenumbers\bgroup\let\endnolinenumbers\egroup}
  1697. \IfFileExists{times.sty}
  1698. {\RequirePackage{times}
  1699. \def\Hv@scale{0.95}}
  1700. {\CopernicusWarningNoLine{Cannot find times.sty; proceeding without it}}
  1701. \if@stage@final
  1702. \if@cop@home
  1703. \let\vec\@undefined
  1704. \let\grave\@undefined
  1705. \let\acute\@undefined
  1706. \let\check\@undefined
  1707. \let\breve\@undefined
  1708. \let\bar\@undefined
  1709. \let\hat\@undefined
  1710. \let\dot\@undefined
  1711. \let\tilde\@undefined
  1712. \let\ddot\@undefined
  1713. \ifx\xmltexversion\@undefined\else{\catcode`\_=\active\global\let\xmltexUndersc@re_}\fi
  1714. \def\provide@orig@symbol#1{\expandafter\let\csname orig#1\expandafter\endcsname\csname#1\endcsname}
  1715. \provide@orig@symbol{Gamma}
  1716. \provide@orig@symbol{Delta}
  1717. \provide@orig@symbol{Theta}
  1718. \provide@orig@symbol{Lambda}
  1719. \provide@orig@symbol{Xi}
  1720. \provide@orig@symbol{Pi}
  1721. \provide@orig@symbol{Sigma}
  1722. \provide@orig@symbol{Upsilon}
  1723. \provide@orig@symbol{Phi}
  1724. \provide@orig@symbol{Psi}
  1725. \provide@orig@symbol{Omega}
  1726. \RequirePackage[mtbold]{mathtime}
  1727. \DeclareSymbolFont{largesymbolsA}{U}{esint}{m}{n}%from esint.sty
  1728. \DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{'015}%from esint.sty
  1729. \def\oiint{\oiintop\nolimits}%from esint.sty
  1730. \ifx\xmltexversion\@undefined\else{\catcode`\_=\active\global\let_\xmltexUndersc@re}\fi
  1731. \if@sansserifface
  1732. \DeclareMathVersion{sans}
  1733. \DeclareMathVersion{sansbold}
  1734. \def\mversion@sans{sans}\def\mversion@sansbold{sansbold}
  1735. \SetSymbolFont{operators}{sans}{OT1}{hvr}{m}{n}%
  1736. \SetSymbolFont{letters}{sans}{OML}{hvm}{m}{it}%
  1737. \SetSymbolFont{symbols} {sans}{MY2}{mtt}{m}{n}%because +=; reencoded in mathtime.sty
  1738. \SetSymbolFont{largesymbols}{sans}{OMX}{hvex}{m}{n}%
  1739. \SetSymbolFont{operators}{sansbold}{OT1}{hvr}{bx}{n}%
  1740. \SetSymbolFont{letters}{sansbold}{OML}{hvm}{b}{it}%
  1741. \SetSymbolFont{symbols} {sansbold}{MY2}{mtt}{b}{n}%because +=; reencoded in mathtime.sty
  1742. \def\provide@fontspec@symbol#1{%
  1743. \expandafter\let\csname mt#1\expandafter\endcsname\csname#1\endcsname
  1744. \expandafter\DeclareRobustCommand\expandafter*\csname #1\endcsname{%
  1745. \ifx\math@version\mversion@sans\csname orig#1\endcsname
  1746. \else\ifx\math@version\mversion@sansbold\csname orig#1\endcsname
  1747. \else\csname mt#1\endcsname\fi\fi}}
  1748. \provide@fontspec@symbol{Gamma}
  1749. \provide@fontspec@symbol{Delta}
  1750. \provide@fontspec@symbol{Theta}
  1751. \provide@fontspec@symbol{Lambda}
  1752. \provide@fontspec@symbol{Xi}
  1753. \provide@fontspec@symbol{Pi}
  1754. \provide@fontspec@symbol{Sigma}
  1755. \provide@fontspec@symbol{Upsilon}
  1756. \provide@fontspec@symbol{Phi}
  1757. \provide@fontspec@symbol{Psi}
  1758. \provide@fontspec@symbol{Omega}
  1759. \DeclareMathDelimiter{(}{\mathopen} {operators}{"28}{largesymbols}{"00}%was reencoded in mathtime.sty
  1760. \DeclareMathDelimiter{)}{\mathclose}{operators}{"29}{largesymbols}{"01}%was reencoded in mathtime.sty
  1761. \SetMathAlphabet\mathrm{sans}{OT1}{hvr}{m}{n}%mind! (gives more flexibility)
  1762. \SetMathAlphabet\mathrm{sansbold}{OT1}{hvr}{bx}{n}%mind! (gives more flexibility)
  1763. \SetMathAlphabet\mathit{sans}{OT1}{hvr}{m}{it}%
  1764. \SetMathAlphabet\mathit{sansbold}{OT1}{hvr}{bx}{it}%
  1765. \SetMathAlphabet\mathbf{sans}{OT1}{hvr}{bx}{n}%
  1766. \SetMathAlphabet\mathbf{sansbold}{OT1}{hvr}{bx}{n}%
  1767. \RequirePackage{hvams}
  1768. \DeclareMathAlphabet\mathbold{MY1}{mtt}{b}{\greekshape}%
  1769. \SetMathAlphabet\mathbold{sans}{OML}{hvm}{b}{it}%
  1770. \SetMathAlphabet\mathbold{sansbold}{OML}{hvm}{bx}{it}%
  1771. \fi
  1772. \else
  1773. \if@sansserifface
  1774. \DeclareMathVersion{sans}
  1775. \DeclareMathVersion{sansbold}
  1776. \SetSymbolFont{operators}{sansbold}{OT1}{cmr} {bx}{n}
  1777. \SetSymbolFont{letters} {sansbold}{OML}{cmm} {b}{it}
  1778. \SetSymbolFont{symbols} {sansbold}{OMS}{cmsy}{b}{n}
  1779. \SetMathAlphabet\mathsf{sansbold}{OT1}{cmss}{bx}{n}
  1780. \SetMathAlphabet\mathit{sansbold}{OT1}{cmr}{bx}{it}
  1781. \DeclareMathAlphabet\mathbold{OML}{cmm}{b}{it}%
  1782. \fi
  1783. \fi
  1784. \else%discussions
  1785. \if@cop@home
  1786. \if@hvmath
  1787. \RequirePackage{hvmath}
  1788. \expandafter\let\csname\expandafter\string\csname T1\endcsname\string\'-\string y\endcsname\relax%patching wrong glyph in hvr, slot 253
  1789. \DeclareMathSymbol{,}{\mathpunct}{operators}{"2C}
  1790. \DeclareMathSymbol{.}{\mathord}{operators}{"2E}
  1791. \RequirePackage{hvams}
  1792. \else
  1793. \let\rmdefault\sfdefault
  1794. \DeclareSymbolFont{operators}{OT1}{cmss} {m}{n}
  1795. \DeclareMathAlphabet{\mathbf}{OT1}{cmss}{bx}{n}
  1796. \fi
  1797. \else
  1798. \let\rmdefault\sfdefault
  1799. \DeclareSymbolFont{operators}{OT1}{cmss} {m}{n}
  1800. \DeclareMathAlphabet{\mathbf}{OT1}{cmss}{bx}{n}
  1801. \fi
  1802. \fi
  1803. \DeclareMathAlphabet{\mathblackbold}{U}{dsrom}{m}{n}
  1804. \RequirePackage{pifont}
  1805. \if@cop@home
  1806. \if@nohyperref
  1807. \else
  1808. \if@stage@final\else
  1809. \PassOptionsToPackage{pagebackref,pdffitwindow}{hyperref}
  1810. \fi
  1811. \usepackage[\ifcopyediting bookmarks=false\else bookmarks=true\fi,colorlinks]{hyperref}
  1812. \hypersetup{anchorcolor=black,citecolor=black,filecolor=black,linkcolor=black,%
  1813. menucolor=black,pagecolor=black,urlcolor=black}
  1814. \let\old@Hy@backout\Hy@backout\def\Hy@backout{\leavevmode\old@Hy@backout}%bug-fixing, to be checked
  1815. \ifnum\pdfoutput=\z@\RequirePackage{breakurl}\fi
  1816. \pdfstringdefDisableCommands{\let\boldsymbol\relax\let\vec\relax}
  1817. \fi
  1818. \edef\@pdfcreator{%
  1819. copernicus.cls%
  1820. \space version \csname [email protected]\endcsname
  1821. \ifx\xmltexversion\@undefined\else, produced from XML\fi}
  1822. \if@nohyperref\pdfinfo{/Creator (\@pdfcreator)}\fi
  1823. \else
  1824. \usepackage[bookmarks=false,pdfborder={0 0 0}]{hyperref}
  1825. \pdfstringdefDisableCommands{\let\boldsymbol\relax\let\vec\relax}
  1826. \fi
  1827. \ifx\xmltexversion\@undefined
  1828. \else
  1829. \ifnum\pdfoutput=\z@
  1830. \def\ReadBookmarks{%
  1831. \begingroup
  1832. \escapechar=`\\%
  1833. \let\escapechar\@gobble %
  1834. \def\@@BOOKMARK[##1][##2]##3##4##5{\calc@bm@number{##5}}%
  1835. \@inputtoc{\jobname.out}{}{}%
  1836. \ifx\WriteBookmarks\relax
  1837. \global\let\WriteBookmarks\relax
  1838. \fi
  1839. \def\@@BOOKMARK[##1][##2]##3##4##5{%
  1840. \def\Hy@temp{##4}%
  1841. \pdfmark{%
  1842. pdfmark=/OUT,%
  1843. Count={##2\check@bm@number{##3}},%
  1844. Dest={##3},%
  1845. Title=\expandafter\strip@prefix\meaning\Hy@temp
  1846. }%
  1847. }%
  1848. {%
  1849. \def\WriteBookmarks{0}%
  1850. \@inputtoc{\jobname.out}{}{}%
  1851. }%
  1852. %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}%
  1853. \ifx\WriteBookmarks\relax
  1854. \else
  1855. \if@filesw
  1856. \newwrite\@outlinefile
  1857. \immediate\openout\@outlinefile=\jobname.out\relax
  1858. \ifHy@typexml
  1859. \immediate\write\@outlinefile{<relaxxml>\relax}%
  1860. \fi
  1861. \fi
  1862. \fi
  1863. \endgroup}
  1864. \else
  1865. \def\ReadBookmarks{%
  1866. \begingroup
  1867. \escapechar=`\\%
  1868. \let\escapechar\@gobble %
  1869. \def\@@BOOKMARK[##1][##2]##3##4##5{\calc@bm@number{##5}}%
  1870. \@inputtoc{\jobname.out}{}{}%
  1871. \ifx\WriteBookmarks\relax
  1872. \global\let\WriteBookmarks\relax
  1873. \fi
  1874. \def\@@BOOKMARK[##1][##2]##3##4##5{%
  1875. \def\Hy@temp{##4}%
  1876. \Hy@pstringdef\Hy@pstringName{\HyperDestNameFilter{##3}}%
  1877. \Hy@OutlineName{}\Hy@pstringName{%
  1878. ##2\check@bm@number{##3}%
  1879. }{%
  1880. \expandafter\strip@prefix\meaning\Hy@temp
  1881. }%
  1882. }%
  1883. {%
  1884. \def\WriteBookmarks{0}%
  1885. \@inputtoc{\jobname.out}{}{}%
  1886. }%
  1887. %{\escapechar\m@ne\InputIfFileExists{\jobname.out}{}{}}%
  1888. \ifx\WriteBookmarks\relax
  1889. \else
  1890. \if@filesw
  1891. \newwrite\@outlinefile
  1892. \immediate\openout\@outlinefile=\jobname.out\relax
  1893. \ifHy@typexml
  1894. \immediate\write\@outlinefile{<relaxxml>\relax}%
  1895. \fi
  1896. \fi
  1897. \fi
  1898. \endgroup}
  1899. \fi
  1900. \fi
  1901. \if@stage@final\else
  1902. \if@cop@home
  1903. \ifonline
  1904. \let\orig@psheadings\ps@headings
  1905. \let\orig@abstractname\abstractname
  1906. \let\orig@pdfcreator\@pdfcreator
  1907. \usepackage[screen,rightpanel]{pdfscreencop}
  1908. \let\ps@headings\orig@psheadings \pagestyle{headings}%because pdfscreencop overwrites it
  1909. \let\abstractname\orig@abstractname%because pdfscreencop overwrites it
  1910. \let\@pdfcreator\orig@pdfcreator%because pdfscreencop overwrites it
  1911. \setcounter{secnumdepth}{3}%because pdfscreencop sets it to 4
  1912. \setlength\footskip{5mm}%because pdfscreencop overwrites it
  1913. \def\addButton#1#2{\begingroup\normalsfcodes\fboxsep\z@
  1914. \sffamily\colorbox{buttonbackground}{\hbox to#1{\hfil\Black\st#2\hfil}}\endgroup}
  1915. \hypersetup{anchorcolor=black,citecolor=black,filecolor=black,linkcolor=black,%
  1916. menucolor=black,pagecolor=black,urlcolor=black,%
  1917. pdfcenterwindow=false,pdfmenubar=true,pdftoolbar=true,pdfwindowui=true}
  1918. %because pdfscreencop overwrites it
  1919. \def\PDFSCR@Warning#1{}% no more "No overlay specified" warnings
  1920. \setlength\panelwidth{5cm}%
  1921. \newlength\bigbutton\setlength\bigbutton{0.75\panelwidth}%
  1922. \newlength\buttongap\setlength\buttongap{0.06\panelwidth}%
  1923. \newlength\smallbutton\setlength\smallbutton{0.5\bigbutton}%
  1924. \addtolength\smallbutton{-0.5\buttongap-0.5pt}%
  1925. \def\panelfont{\rmfamily\scriptsize}%
  1926. \margins{10mm}{10mm}{7mm}{7mm}%
  1927. \screensize{15.9cm}{21.6cm}%
  1928. \definecolor{backgroundcolor}{rgb}{1.,1.,1.}%white
  1929. \backgroundcolor{backgroundcolor}%
  1930. \definecolor{section0}{rgb}{0.,0.,0.}%black
  1931. \definecolor{section1}{rgb}{0.,0.,0.}%black
  1932. \definecolor{section2}{rgb}{0.,0.,0.}%black
  1933. \definecolor{section3}{rgb}{0.,0.,0.}%black
  1934. \definecolor{section4}{rgb}{0.,0.,0.}%black
  1935. \def\panel{%
  1936. \colorbox[rgb]{0.94,0.95,0.95}%
  1937. {\begin{minipage}[t][\paperheight][t]{\panelwidth}
  1938. %% set default font for panel:
  1939. \fontseries{m}\fontshape{n}\fontsize{11}{13.7pt}\rmfamily
  1940. %% journal name, volume, pages, year, runningtitle, runningauthor:
  1941. \null\vspace*{7mm}%
  1942. \centering
  1943. \parbox[t]{0.8\panelwidth}%
  1944. {\centering\color{paneltext}%
  1945. {\Large\bfseries
  1946. %overwrite of default urlcolor=black to journal-specific color @journalname
  1947. %for the @journalnameshort link to the journal webpage on the panel
  1948. \hypersetup{urlcolor=journalname}%
  1949. \href{http://\@journalurl}{\@journalnameshort}}\\[2mm]
  1950. \if@noref
  1951. \else
  1952. {\fontsize{8.7}{11}\selectfont
  1953. %\@pvol, \@fpage\if@nolastpage\else{--\@lpage}\fi, \@pyear
  1954. \hypersetup{urlcolor=paneltext}\doi{10.5194/\@msnumber}%
  1955. }\\[1mm]%
  1956. \fi
  1957. \rule{0.8\panelwidth}{1.1pt}\\[1mm]
  1958. {\bfseries\mathversion{bold}%
  1959. \leavevmode\null
  1960. \ifx\firstruntit@utput\@undefined
  1961. \global\let\firstruntit@utput\relax
  1962. \else
  1963. \def\blackb@x[##1]##2{\relax}%
  1964. \fi
  1965. \@runtit}%
  1966. \if@noauthor\else\\[3mm]{\small\leavevmode\null\@runauth}\fi
  1967. \\[0mm]%
  1968. \rule{0.8\panelwidth}{1.1pt}\\[5mm]} %keep this blank!
  1969. %% the buttons:
  1970. \addButton{\bigbutton}
  1971. {\hyperlink{title}{\hfill\color{buttontext}Title Page\hfill}}%
  1972. \\[1.5mm]
  1973. \addButton{\smallbutton}
  1974. {\hyperlink{abstr}{\hfill\color{buttontext}Abstract\hfill}}%
  1975. \hspace{\buttongap}%
  1976. \ifessd
  1977. \addButton{\smallbutton}
  1978. {\hyperlink{instru}{\hfill\color{buttontext}Instruments\hfill}}%
  1979. \\[1.5mm]
  1980. \else
  1981. \addButton{\smallbutton}
  1982. {\hyperlink{intro}{\hfill\color{buttontext}Introduction\hfill}}%
  1983. \\[1.5mm]
  1984. \fi
  1985. \ifessd
  1986. \addButton{\bigbutton}
  1987. {\hyperlink{datastruct}{\hfill\color{buttontext}Data Provenance \& Structure\hfill}}%
  1988. \\[1.5mm]
  1989. \else
  1990. \addButton{\smallbutton}
  1991. {\hyperlink{conclusions}{\hfill\color{buttontext}Conclusions\hfill}}%
  1992. \hspace{\buttongap}%
  1993. \addButton{\smallbutton}
  1994. {\hyperlink{references}{\hfill\color{buttontext}References\hfill}}%
  1995. \\[1.5mm]
  1996. \fi
  1997. \addButton{\smallbutton}
  1998. {\@ifundefined{@numtable}%automatically defined via \@num\@captype
  1999. {\hfill\color{buttontext}Tables\hfill}
  2000. {\hyperlink{table}{\hfill\color{buttontext}Tables\hfill}}}%
  2001. \hspace{\buttongap}%
  2002. \addButton{\smallbutton}
  2003. {\@ifundefined{@numfigure}% automatically defined via \@num\@captype
  2004. {\hfill\color{buttontext}Figures\hfill}
  2005. {\hyperlink{figure}{\hfill\color{buttontext}Figures\hfill}}}%
  2006. \\[4mm]%
  2007. \Acrobatmenu{FirstPage}{\addButton{\smallbutton}%
  2008. {\color{buttontext}$\rule[-0.144ex]{0.35ex}{1.244ex}\!\blacktriangleleft$}}%
  2009. \hspace{\buttongap}%
  2010. \Acrobatmenu{LastPage}
  2011. {\addButton{\smallbutton}%
  2012. {\color{buttontext}$\blacktriangleright\!\rule[-0.144ex]{0.35ex}{1.244ex}$}}%
  2013. \\[1.5mm]
  2014. \Acrobatmenu{PrevPage}
  2015. {\addButton{\smallbutton}{\color{buttontext}$\blacktriangleleft$}}%
  2016. \hspace{\buttongap}%
  2017. \Acrobatmenu{NextPage}
  2018. {\addButton{\smallbutton}{\color{buttontext}$\blacktriangleright$}}%
  2019. \\[1.5mm]
  2020. \Acrobatmenu{GoBack}{\addButton{\smallbutton}{\color{buttontext}Back}}%
  2021. \hspace{\buttongap}%
  2022. \Acrobatmenu{Close}{\addButton{\smallbutton}{\color{buttontext}Close}}%
  2023. \\[1.5mm]
  2024. \Acrobatmenu{FullScreen}{\addButton{\bigbutton}{\color{buttontext}Full Screen / Esc}}%
  2025. \\[4mm]
  2026. \addButton{\bigbutton}
  2027. {\href{http://\@journalurl/\@pvol/\@fpage/\@pyear/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-print.pdf}%
  2028. {\hfill\color{buttontext}Printer-friendly Version\hfill}}%
  2029. \\[1.5mm]
  2030. \addButton{\bigbutton}
  2031. {\href{http://\@journalurl/\@pvol/\@fpage/\@pyear/\@journalnameshortlower-\@pvol-\@fpage-\@pyear-discussion.html}%
  2032. {\hfill\color{buttontext}Interactive Discussion\hfill}}%
  2033. \\[4mm]
  2034. \href{http://creativecommons.org/licenses/by/3.0/}{\includegraphics[width=1.7cm]{CreativeCommons_Attribution_License.png}}%
  2035. \null\vspace*{10mm}%
  2036. \end{minipage}}}
  2037. \fi
  2038. \fi
  2039. \fi
  2040. %% some of the following commands are only active if \@cop@hometrue
  2041. \def\texlicencestatement#1{\gdef\@texlicencestatement{#1}}%
  2042. \def\@texlicencestatement{\CopernicusError{Please add \string\texlicencestatement}{You must provide the licence statement before \string\maketitle"}}
  2043. \def\received#1{\if@cop@home\def\@recvd{#1}\fi} \def\@recvd{}%+1,+2,+d
  2044. \def\pubdiscuss#1{\if@cop@home\def\@pubdiscuss{#1}\fi} \def\@pubdiscuss{}%+1,+2,-d -- twostagejnltrue
  2045. \def\revised#1{\if@cop@home\def\@revsd{#1}\fi} \def\@revsd{}%+1,+2,-d
  2046. \def\accepted#1{\if@cop@home\def\@accptd{#1}\fi} \def\@accptd{}%+1,+2,+d
  2047. \def\published#1{\if@cop@home\gdef\@published{#1}\fi} \if@stage@final\else\def\@published{}\fi%+1,+2,+d
  2048. \def\firstpage#1{\if@cop@home\ifx\specialp@perstring\@undefined\ifx\citati@nbyarticlenumber\@undefined\gdef\@fpage{#1}\fi\fi\fi}
  2049. \def\@fpage{1}%+1,+2,+d
  2050. \def\articlenumber#1{\if@cop@home\ifx\specialp@perstring\@undefined\ifx\citati@nbyarticlenumber\relax\gdef\@fpage{#1}\fi\fi\fi}
  2051. \def\citationbyarticlenumber{%
  2052. \@nolastpagetrue
  2053. \let\citati@nbyarticlenumber\relax
  2054. \def\@fpage{-1}}
  2055. \ifx\xmltexversion\@undefined
  2056. \@onlypreamble\citationbyarticlenumber
  2057. \fi
  2058. \def\pubyear#1{\if@cop@home\ifx\specialp@perstring\@undefined\gdef\@pyear{#1}\fi\gdef\@cyear{#1}\fi}
  2059. \def\@pyear{\number\year}%+1,+2,+d
  2060. \let\@cyear\@pyear
  2061. \def\pubvol#1{\if@cop@home\ifx\specialp@perstring\@undefined\gdef\@pvol{#1}\fi\fi}%+1,+2,+d
  2062. \let\pubnum\@gobble%not for TeX, only for secondary data use
  2063. \def\correspondence#1{\gdef\@corresp{#1}} \def\@corresp{}%+1,+2,+d
  2064. \def\citationstatement#1{%
  2065. \edef\@@doi{https://doi.org/10.5194/\@journalnameshortlower-\@pvol-\@fpage-\@pyear}%
  2066. \def\@tempa{#1}%
  2067. \ifx\@tempa\@empty
  2068. \gdef\@howtocite{}%
  2069. \else
  2070. \gdef\@howtocite{#1, \@journalnameabbreviation, \@pvol, \@fpage--\@lpage, \expandafter\url{\@@doi}, \@pyear.}%
  2071. \fi
  2072. }\def\@howtocite{}%+1,+2,+d
  2073. \def\msnumber#1{\if@cop@home\gdef\@msnumber{#1}\fi}
  2074. \if@stage@final
  2075. \else
  2076. \def\affilfontsize#1{\def\@affilfontsize{#1}}
  2077. \def\@affilfontsize{\small}
  2078. \fi
  2079. \if@stage@final
  2080. \def\bartext#1{\gdef\@btext{#1}} \def\@btext{}
  2081. \fi
  2082. \if@cop@home
  2083. \newcounter{jnlvolume}%the journal volume
  2084. \setcounter{jnlvolume}{\number\year}
  2085. \addtocounter{jnlvolume}{1}
  2086. \AtBeginDocument{\addtocounter{jnlvolume}{-\@journalstartyear}}
  2087. \def\@pvol{\arabic{jnlvolume}}
  2088. \if@stage@final
  2089. \ifadgeo\def\@pvol{1}\fi
  2090. \ifasr\def\@pvol{1}\fi
  2091. \fi
  2092. \AtBeginDocument{%
  2093. \ifx\specialp@perstring\@undefined\else
  2094. \def\origfirstpage#1{\ifx\citati@nbyarticlenumber\@undefined\gdef\@fpage{#1}\fi}
  2095. \def\origlastpage#1{\gdef\@lpage{#1}}
  2096. \def\origpubyear#1{\gdef\@pyear{#1}}
  2097. \def\origpubvol#1{\gdef\@pvol{#1}}
  2098. \def\origarticlenumber#1{\ifx\citati@nbyarticlenumber\relax\gdef\@fpage{#1}\fi}
  2099. \fi}
  2100. \else
  2101. \def\@pvol{0}
  2102. \fi
  2103. \if@stage@final
  2104. \def\keywords#1{\def\@keyw{#1}}
  2105. \def\@keyw{}
  2106. \else
  2107. \def\keywords#1{%
  2108. \CopernicusWarningNoLine{Keywords are not supported.}%
  2109. \vspace{1.7mm}\par\noindent\textbf{Keywords.}\enspace\ignorespaces#1}
  2110. \fi
  2111. \newcommand*\editorthanks[3]
  2112. {\ifthenelse{\equal{#2}{}}% check if the first referee exits, if not write:
  2113. {\\ \hspace*{4mm} Topical Editor\ #1\ thanks two unknown referees %
  2114. for their help in evaluating this paper.}
  2115. {\ifthenelse{\equal{#3}{}}% check if second referee exist, if not write:
  2116. {\\ \hspace*{4mm}Topical Editor\ #1\ thanks\ #2\ and another %
  2117. referee for their help in evaluating this paper.}%
  2118. {\\ \hspace*{4mm}Topical Editor\ #1\ thanks\ #2\ and\ #3\ for their %
  2119. help in evaluating this paper.}}}
  2120. \def\runningauthor#1{\def\@runauth{#1}}
  2121. \def\@runauth{}
  2122. \def\runningtitle#1{\def\@runtit{#1}}
  2123. \def\@runtit{}
  2124. \if@stage@final
  2125. \def\runninghead#1{\def\@runhd{#1}}
  2126. \def\@runhd{%
  2127. \ifx\firstrunhd@utput\@undefined
  2128. \global\let\firstrunhd@utput\relax
  2129. \else
  2130. \def\blackb@x[##1]##2{\relax}%
  2131. \fi
  2132. \if@noauthor\else\@runauth: \fi\@runtit}
  2133. \fi
  2134. \DeclareRobustCommand*\degree{\ensuremath{^{\circ}}}
  2135. \DeclareRobustCommand*\permil{\ifmmode\text{\textperthousand}\else\textperthousand\fi}
  2136. \def\@Radical{\put(2.0,2.0){\circle*{1.5}}\kern3.5\p@}
  2137. \def\@RadicalC{\raise0.25ex\hbox{\@Radical}}
  2138. \DeclareRobustCommand*\Radical{%
  2139. \ifmmode\mathchoice{\@RadicalC}{\@RadicalC}{\@Radical}{\@Radical}\else\@RadicalC\fi}
  2140. \def\testbx{bx}
  2141. \DeclareRobustCommand*\chem[1]
  2142. {\ensuremath{%
  2143. {\mathcode`\-="0200\mathcode`\=="003D% no space around "-" and "="
  2144. \ifx\f@series\testbx\mathbf{#1}\else\mathrm{#1}\fi}}}
  2145. \@ifpackageloaded{hyperref}
  2146. {\begingroup
  2147. \toks0=\expandafter{\pdfstringdefPreHook}%
  2148. \xdef\pdfstringdefPreHook{%
  2149. \the\toks0 %
  2150. \let\noexpand\hack\noexpand\@gobble
  2151. \let\noexpand\chem\noexpand\@firstofone}%
  2152. \endgroup}
  2153. {\relax}
  2154. \DeclareRobustCommand*\unit[1]
  2155. {\ensuremath{%
  2156. {\thinmuskip3mu\relax
  2157. \def\mu{\text{\textmu}}\def~{\,}%
  2158. \ifx\f@series\testbx\mathbf{#1}\else\mathrm{#1}\fi}}}
  2159. \@definecounter{reaction}
  2160. \def\thereaction{R\@arabic\c@reaction}
  2161. \let\c@org@eq\c@equation
  2162. \let\org@theeq\theequation
  2163. \def\setreaction{%
  2164. \global\let\c@equation\c@reaction
  2165. \global\let\theequation\thereaction}
  2166. \def\setequation{%
  2167. \global\let\c@equation\c@org@eq
  2168. \global\let\theequation\org@theeq}
  2169. \newenvironment{reaction}
  2170. {\let\c@equation\c@reaction
  2171. \let\theequation\thereaction
  2172. \incr@eqnum
  2173. \mathdisplay@push
  2174. \st@rredfalse \global\@eqnswtrue
  2175. \mathdisplay{equation}}
  2176. {\endmathdisplay{equation}%
  2177. \mathdisplay@pop
  2178. \ignorespacesafterend}
  2179. \IfFileExists{lineno.sty}
  2180. {\AtBeginDocument{%
  2181. \patchAmsMathEnvironmentForLineno{reaction}}}
  2182. {}
  2183. \newenvironment{rxnarray}
  2184. {\let\c@equation\c@reaction
  2185. \let\theequation\thereaction
  2186. \eqnarray}
  2187. {\endeqnarray
  2188. \let\c@equation\c@reaction
  2189. \let\theequation\thereaction}
  2190. \if@stage@final\else
  2191. \newcounter{parentreaction}
  2192. \newenvironment{subreactions}
  2193. {\refstepcounter{reaction}%
  2194. \protected@edef\theparentreaction{\thereaction}%
  2195. \setcounter{parentreaction}{\value{reaction}}%
  2196. \setcounter{reaction}{0}%
  2197. \def\thereaction{\theparentreaction\alph{reaction}}%
  2198. \ignorespaces}
  2199. {\setcounter{reaction}{\value{parentreaction}}%
  2200. \ignorespacesafterend}
  2201. \fi
  2202. \newcommand\tophline{\hline\noalign{\vspace{1mm}}}
  2203. \newcommand\middlehline{\noalign{\vspace{1mm}}\hline\noalign{\vspace{1mm}}}
  2204. \newcommand\bottomhline{\noalign{\vspace{1mm}}\hline}
  2205. \newcommand\hhline{\noalign{\vspace{1mm}}\hline\noalign{\vspace{1mm}}}
  2206. \newdimen\tabularwidth
  2207. \def\@tabular{%
  2208. \leavevmode
  2209. \setbox\z@
  2210. \hbox \bgroup $\col@sep\tabcolsep \let\d@llarbegin\begingroup
  2211. \let\d@llarend\endgroup
  2212. \@tabarray}
  2213. \def\endtabular{\endarray $\egroup
  2214. \global\tabularwidth\wd\z@
  2215. \unhbox\z@}
  2216. \expandafter\let\csname endtabular*\endcsname=\endtabular
  2217. \DeclareRobustCommand\belowtable[1]{%
  2218. \par\vspace{1ex}%
  2219. {\if@stage@final\else\def\@tempa{table}\ifx\@captype\@tempa\else\centering\fi\fi
  2220. \ifdim\tabularwidth<10mm\tabularwidth\hsize\fi
  2221. \leavevmode\vrule\@width\z@\@height2ex\@depth\z@
  2222. \parbox{\tabularwidth}{\raggedright\scriptsize#1}%
  2223. \if@stage@final\else\par\fi}}
  2224. \ifessd
  2225. \newcommand\instrumentation[1][Instrumentation]
  2226. {\section[#1]{#1\if@cop@home\ifonline\hypertarget{instru}{}\fi\fi}%
  2227. \gdef\instrumentationexists{true}%
  2228. \gdef\introductionexists{true}}
  2229. \newcommand\datastructure[1][Data Provenance and Structure]
  2230. {\section[#1]{#1\if@cop@home\ifonline\hypertarget{datastruct}{}\fi\fi}%
  2231. \gdef\datastructureexists{true}%
  2232. \gdef\conclusionsexists{true}}
  2233. \AtEndDocument{%
  2234. \@ifundefined{instrumentationexists}
  2235. {\@ifundefined{introductionexists}
  2236. {\NoSectionError{Instrumentation}{\string\instrumentation}%
  2237. \gdef\introductionexists{true}}
  2238. {\CopernicusWarningNoLine{No section "Instrumentation"}}}
  2239. {}
  2240. \@ifundefined{datastructureexists}
  2241. {\@ifundefined{conclusionsexists}
  2242. {\NoSectionError{Data Provenance and Structure}{\string\datastructure}%
  2243. \gdef\conclusionsexists{true}}
  2244. {\CopernicusWarningNoLine{No section "Data Provenance and Structure"}}}
  2245. {}}
  2246. \fi
  2247. \newcommand\introduction[1][\introductionname]
  2248. {\section[#1]{#1\if@cop@home\ifonline\hypertarget{intro}{}\fi\fi}%
  2249. \gdef\introductionexists{true}}
  2250. \newcommand\conclusions[1][\conclusionname]
  2251. {\section[#1]{#1\if@cop@home\ifonline\hypertarget{conclusions}{}\fi\fi}%
  2252. \gdef\conclusionsexists{true}}
  2253. \if@twostagejnl
  2254. \AtEndDocument{%
  2255. \@ifundefined{introductionexists}
  2256. {\NoSectionWarning{Introduction}}
  2257. {}
  2258. \@ifundefined{conclusionsexists}
  2259. {\NoSectionWarning{Conclusions}}
  2260. {}}
  2261. \fi
  2262. \def\Supplementary#1{{%
  2263. \advance\partopsep0.5\baselineskip
  2264. \setbox\longtwo@box\vbox{%2- und 3-zeilige Supplement-Blöcke sollen den gleichen vertikalen Raum in Anspruch nehmen
  2265. \begin{trivlist}\bfseries
  2266. \if@stage@final
  2267. \let\\\@centercr\@rightskip\z@\@plus\tw@ em
  2268. \rightskip\@rightskip
  2269. \parindent\z@
  2270. \fi
  2271. \item The Supplement related to this article is available online at
  2272. \if@stage@final\else\\\fi
  2273. \supplement{#1}.
  2274. \end{trivlist}}%
  2275. \ifdim\ht\longtwo@box<60\p@\vskip0.5\baselineskip\fi
  2276. \unvcopy\longtwo@box
  2277. \ifdim\ht\longtwo@box<60\p@\vskip0.5\baselineskip\fi}}
  2278. \def\generateCommand#1#2{%
  2279. \expandafter\long\expandafter\def\csname#1\endcsname##1{%
  2280. \if@stage@final\ifhmode\vskip2\baselineskip\else\addvspace{2\baselineskip}\fi\fi
  2281. \bgroup
  2282. \list{}{\labelwidth\z@ \leftmargin\z@ \itemindent-\leftmargin
  2283. \parsep\z@
  2284. \listparindent\parindent
  2285. \def\makelabel####1{%
  2286. \hspace\labelsep
  2287. \if@stage@final
  2288. \if@sansserifface
  2289. \sffamily\bfseries\mathversion{sansbold}\textcolor{textcol}{####1.}%
  2290. \else
  2291. \itshape####1.%
  2292. \fi
  2293. \pdfbookmark[1]{\csname #1name\endcsname}{#1}%
  2294. \else
  2295. \itshape####1.%
  2296. \fi}%
  2297. \reset@font\small}%
  2298. \item[\csname #1name\endcsname]%
  2299. ##1#2}}
  2300. \generateCommand{copyrightstatement}{\endlist\egroup}
  2301. \ifessd
  2302. \long\def\codeavailability#1{\ifx\thesection\theolds\else\noappendix\fi\section{\codeavailabilityname}#1}
  2303. \long\def\dataavailability#1{\ifx\thesection\theolds\else\noappendix\fi\section{\dataavailabilityname}#1}
  2304. \long\def\codedataavailability#1{\ifx\thesection\theolds\else\noappendix\fi\section{\codedataavailabilityname}#1}
  2305. \else
  2306. \generateCommand{codeavailability} {\endlist\egroup}
  2307. \generateCommand{dataavailability} {\endlist\egroup}
  2308. \generateCommand{codedataavailability}{\endlist\egroup}
  2309. \fi
  2310. \generateCommand{authorcontribution}{\endlist\egroup}
  2311. \generateCommand{sampleavailability}{\endlist\egroup}
  2312. \generateCommand{competinginterests}{\endlist\egroup}
  2313. \generateCommand{teamlist} {\endlist\egroup}
  2314. \generateCommand{disclaimer} {\endlist\egroup}
  2315. \generateCommand{sistatement} {\endlist\egroup}
  2316. \generateCommand{acknowledgement} {} \def\endacknowledgement{\endlist\egroup}
  2317. \generateCommand{acknowledgements} {} \def\endacknowledgements{\endlist\egroup}
  2318. \iffalse %instead of \if@stage@final, to check what they want
  2319. \def\appendixfigures{%
  2320. \ifx\afterfirstappendixfigures\@undefined
  2321. \let\afterfirstappendixfigures\relax
  2322. \fi
  2323. \setcounter{figure}{0}%
  2324. \def\thefigure{A\@arabic\c@figure}%
  2325. \let\theHfigure\thefigure}
  2326. \def\appendixtables{%
  2327. \ifx\afterfirstappendixtables\@undefined
  2328. \let\afterfirstappendixtables\relax
  2329. \fi
  2330. \setcounter{table}{0}%
  2331. \def\thetable{A\@arabic\c@table}%
  2332. \let\theHtable\thetable}
  2333. \else
  2334. \def\appendixfigures{%
  2335. \ifx\afterfirstappendixfigures\@undefined
  2336. \let\afterfirstappendixfigures\relax
  2337. \setcounter{section}{0}%
  2338. \def\thesection{\Alph{section}}%
  2339. \let\theHsection\thesection
  2340. \fi
  2341. \refstepcounter{section}%
  2342. \setcounter{figure}{0}%
  2343. \def\thefigure{\thesection\@arabic\c@figure}%
  2344. \let\theHfigure\thefigure}
  2345. \def\appendixtables{%
  2346. \ifx\afterfirstappendixtables\@undefined
  2347. \let\afterfirstappendixtables\relax
  2348. \setcounter{section}{0}%
  2349. \def\thesection{\Alph{section}}%
  2350. \let\theHsection\thesection
  2351. \fi
  2352. \refstepcounter{section}%
  2353. \setcounter{table}{0}%
  2354. \def\thetable{\thesection\@arabic\c@table}%
  2355. \let\theHtable\thetable}
  2356. \fi
  2357. \if@cop@home
  2358. \newcounter{CEnote}
  2359. \newcounter{TSnote}
  2360. \def\theCEnote{\@arabic\c@CEnote}
  2361. \def\theTSnote{\@arabic\c@TSnote}
  2362. \newtoks\CEnotes
  2363. \newtoks\TSnotes
  2364. \global\let\edit@rnotereminder\@empty%initialising
  2365. \def\n@telabel#1{\noexpand\n@tel@bel{#1\csname the#1note\endcsname}}
  2366. \def\n@tel@bel#1{%
  2367. \smash{\raisebox{0.2ex}{\bfseries\scriptsize\fboxsep1pt
  2368. \colorbox[RGB]{255,149,64}{\textcolor[RGB]{255,255,255}{#1}}}}}
  2369. \DeclareRobustCommand\blackbox{\@ifnextchar[\blackb@x{\blackb@x[TS]}}%]
  2370. \def\blackb@x[#1]#2{%
  2371. \refstepcounter{#1note}%
  2372. \CopernicusWarningNoLine{Editor's note on page \thepage}%
  2373. \hypertarget{#1\csname the#1note\endcsname}
  2374. {\hyperlink{#1\csname the#1note\endcsname R}
  2375. {\n@tel@bel{#1\csname the#1note\endcsname}}}%
  2376. \gdef\edit@rnotereminder{%
  2377. \smash{%
  2378. \if@stage@final
  2379. \llap{\rotatebox{90}{\scriptsize
  2380. \else
  2381. \tiny
  2382. \fi
  2383. \lower1ex\rlap{\fboxsep0.5ex\colorbox[RGB]{255,149,64}{\bfseries\strut
  2384. \textcolor[RGB]{255,255,255}
  2385. {Please note the remarks at the end of the manuscript.}}}%
  2386. \if@stage@final
  2387. }\kern\marginparsep}%
  2388. \fi
  2389. }%
  2390. \global\let\edit@rnotereminder\@empty}%
  2391. \edef\@tempa{\leavevmode
  2392. \noexpand\hypertarget{#1\csname the#1note\endcsname R}
  2393. {\noexpand\hyperlink{#1\csname the#1note\endcsname}
  2394. {\noexpand\hb@xt@10mm{\n@telabel{#1}\hss}}}}%
  2395. \global\csname #1notes\endcsname\expandafter\expandafter\expandafter{%
  2396. \the\expandafter\csname #1notes\expandafter\endcsname\@tempa\mdseries#2\par}}
  2397. \AtEndDocument{%
  2398. \if@stage@final
  2399. \onecolumn
  2400. \else
  2401. \clearpage
  2402. \fi
  2403. \thispagestyle{empty}%
  2404. \parindent\z@
  2405. \begin{nolinenumbers}%
  2406. \expandafter\def\expandafter\@tempa\expandafter{\the\CEnotes}%
  2407. \expandafter\def\expandafter\@tempb\expandafter{\the\TSnotes}%
  2408. \ifx\@tempa\@empty
  2409. \else
  2410. \@tempcnta-\c@page
  2411. \section*{Remarks from the language copy-editor}
  2412. \hangindent10mm
  2413. \@tempa
  2414. \fi
  2415. \ifx\@tempb\@empty
  2416. \ifx\@tempa\@empty
  2417. \else
  2418. \advance\@tempcnta\c@page\advance\@tempcnta\@ne
  2419. \CopernicusInfo{Pages with editing remarks: \the\@tempcnta.}%
  2420. \fi
  2421. \else
  2422. \ifx\@tempa\@empty\@tempcnta-\c@page\fi
  2423. \section*{Remarks from the typesetter}
  2424. \hangindent10mm
  2425. \@tempb
  2426. \advance\@tempcnta\c@page\advance\@tempcnta\@ne
  2427. \CopernicusInfo{Pages with editing remarks: \the\@tempcnta.}%
  2428. \fi
  2429. \end{nolinenumbers}}
  2430. \fi
  2431. \def\iftwocol#1#2{\if@twocolumn#1\else #2\fi}
  2432. \let\hack\@firstofone
  2433. \newcommand\@journalname{Journalname}
  2434. \newcommand\@journalnameabbreviation{J. Name}
  2435. \newcommand\@journalnameshort{JN}
  2436. \newcommand\@journalnameshortlower{jn}
  2437. \newcommand\@journalurl{www.jn.net}
  2438. \newcommand\@journalpublisher{Copernicus Publications}
  2439. \newcommand\@journalcopyright{%
  2440. \copyright\ Author(s)\ \@cyear. %
  2441. \if!\@texlicencestatement!%
  2442. \CopernicusError{\string\texlicencestatement{} must have content}{Say, e.g., "\string\texlicencestatement{CC Attribution 4.0 License.}"}%
  2443. \else
  2444. \@texlicencestatement
  2445. \fi}
  2446. \newcommand\@journalstartyear{2013}
  2447. \newcommand\@journallogo{Journallogo}
  2448. \newcommand\@sentence{Sentence.}
  2449. \newcommand\@sentenceDisc{Sentence.}
  2450. \if@stage@final
  2451. \definecolor{textcol}{rgb}{0,0,0}
  2452. \definecolor{bgcol}{rgb}{1,1,1}
  2453. \definecolor{barcol}{rgb}{1,1,1}
  2454. \else
  2455. \definecolor{discussion_bartext}{gray}{0.5}
  2456. \definecolor{discussion_bartext_background}{gray}{0.85}
  2457. \fi
  2458. %%Now, journal configuration from copernicus.cfg:
  2459. \@addjournalconfig
  2460. %%Now, additions the manuscript and for the the discussion stage:
  2461. \if@stage@final
  2462. \if@manuscript
  2463. \definecolor{textcol}{rgb}{0,0,0}
  2464. \definecolor{bgcol}{rgb}{1,1,1}
  2465. \definecolor{barcol}{rgb}{1,1,1}
  2466. \fi
  2467. \else
  2468. \edef\@journalname{\@journalname\space Discussions}
  2469. \let\@journalnameabbreviationbase\@journalnameabbreviation
  2470. \edef\@journalnameabbreviation{\@journalnameabbreviation\space Discuss.}
  2471. \edef\@journalnameshort{\@journalnameshort D}
  2472. \edef\@journalnameshortlower{\@journalnameshortlower d}
  2473. \fi
  2474. \newwrite\@pagelistfile
  2475. \immediate\openout\@pagelistfile=\jobname.pagelist\relax
  2476. \endinput
  2477. %%
  2478. %% End of file `copernicus.cls'.