Advertisement
Guest User

dgruyter.sty

a guest
Sep 16th, 2014
775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.86 KB | None | 0 0
  1. %%
  2. %% This is file `dgruyter.sty',
  3. %% generated with the docstrip utility.
  4. %%
  5. %% The original source files were:
  6. %%
  7. %% dgruyter.dtx (with options: `package')
  8. %% -----------------------------------------------------------------
  9. %% Author: le-tex publishing services
  10. %% Maintainer: le-tex publishing services
  11. %%
  12. %% This file is part of the dgruyter package for preparing
  13. %% books for Walter de Gruyter GmbH.
  14. %%
  15. %% Copyright (C) 2013 Walter de Gruyter GmbH
  16. %% -----------------------------------------------------------------
  17. \NeedsTeXFormat{LaTeX2e}[2011/06/27]
  18. \ProvidesPackage{dgruyter_author}
  19. [2013/10/15 v0.87 Walter de Gruyter layout]
  20. \iffalse\defaulthyphenchar=127\fi%not robust yet
  21. \emergencystretch1em
  22. \p@=1bp
  23. \def\set@fontsize#1#2#3{%
  24. \@defaultunits\@tempdimb#2bp\relax\@nnil
  25. \@tempdimb\dimexpr\@tempdimb*7200/7227\relax
  26. \edef\f@size{\strip@pt\@tempdimb}%
  27. \@defaultunits\@tempskipa#3bp\relax\@nnil
  28. \edef\f@baselineskip{\the\@tempskipa}%
  29. \edef\f@linespread{#1}%
  30. \let\baselinestretch\f@linespread
  31. \def\size@update{%
  32. \baselineskip\f@baselineskip\relax
  33. \baselineskip\f@linespread\baselineskip
  34. \normalbaselineskip\baselineskip
  35. \setbox\strutbox\hbox{%
  36. \vrule\@height.7\baselineskip
  37. \@depth.3\baselineskip
  38. \@width\z@}%
  39. \let\size@update\relax}}
  40. \def\@DeclareMathSizes#1#2#3#4#5{%
  41. \@defaultunits\dimen@#2bp\relax\@nnil
  42. \dimen@\dimexpr\dimen@*7200/7227\relax
  43. \if$#3$%
  44. \expandafter \let
  45. \csname S@\strip@pt\dimen@\endcsname
  46. \math@fontsfalse
  47. \else
  48. \expandafter \gdef
  49. \csname S@\strip@pt\dimen@\endcsname
  50. {\gdef\tf@size{#3}\gdef\sf@size{#4}%
  51. \gdef\ssf@size{#5}%
  52. #1%
  53. }%
  54. \fi}
  55. \frenchspacing
  56. \clubpenalty\@M
  57. \widowpenalty\@M
  58. \let\orig@doendpe\@doendpe
  59. \def\enumerate{%
  60. \ifnum \@enumdepth >\thr@@\@toodeep\else
  61. \advance\@enumdepth\@ne
  62. \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
  63. \expandafter
  64. \list
  65. \csname label\@enumctr\endcsname
  66. {\topsep\z@
  67. \labelsep\z@
  68. \labelwidth6mm
  69. \usecounter\@enumctr\def\makelabel##1{##1\hss}}%
  70. \fi}
  71. \def\endenumerate{%
  72. \ifnum\@listdepth=\@ne\advance\@topsepadd\baselineskip\fi
  73. \endlist
  74. \gdef\@doendpe{%
  75. \@endpetrue
  76. \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
  77. \global\let\@doendpe\orig@doendpe}}
  78. \def\itemize{%
  79. \ifnum \@itemdepth >\thr@@\@toodeep\else
  80. \advance\@itemdepth\@ne
  81. \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  82. \expandafter
  83. \list
  84. \csname\@itemitem\endcsname
  85. {\topsep\z@
  86. \labelsep\z@
  87. \labelwidth6mm
  88. \def\makelabel##1{##1\hss}}%
  89. \fi}
  90. \def\enditemize{%
  91. \ifnum\@listdepth=\@ne\advance\@topsepadd\baselineskip\fi
  92. \endlist
  93. \gdef\@doendpe{%
  94. \@endpetrue
  95. \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
  96. \global\let\@doendpe\orig@doendpe}}
  97. \def\@seccntformat#1{%
  98. {\noexpand\sffamily\addfontfeature{Numbers=Monospaced}%
  99. \csname the#1\endcsname}%
  100. \enskip}
  101. \def\@starttoc#1{%
  102. \begingroup
  103. \parindent\z@
  104. \sffamily
  105. \makeatletter
  106. \@input{\jobname.#1}%
  107. \if@filesw
  108. \expandafter\newwrite\csname tf@#1\endcsname
  109. \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
  110. \fi
  111. \@nobreakfalse
  112. \endgroup}
  113. \def\@dottedtocline#1#2#3#4#5{%
  114. \ifnum #1>\c@tocdepth \else
  115. \ifx\lastentry@author\@undefined
  116. \vskip#2\@plus.2\p@
  117. \fi
  118. {\parindent\z@
  119. \raggedright
  120. \@afterindenttrue
  121. \interlinepenalty\@M
  122. \leavevmode
  123. \ifnum\c@tocdepth=\z@\@tempdima6mm\else\@tempdima12mm\fi
  124. \ifnum#1>\z@\advance\@tempdima6mm\fi
  125. \leftskip\@tempdima\relax
  126. #3%overwriting style
  127. \null\nobreak\hskip -\leftskip
  128. {\ifnum#1<\@ne\mathversion{bold}\bfseries\fi#4}%
  129. \ifnum#1<\z@%
  130. \else
  131. \nobreakspace\dg@barone\nobreak\space
  132. \textbf{#5}
  133. \fi%
  134. \par}%
  135. \let\lastentry@author\@undefined
  136. \fi}
  137. \DeclareRobustCommand*\numberline[1]{%
  138. \hb@xt@\@tempdima{%
  139. {\sffamily\addfontfeature{Numbers=Monospaced}#1}\hfil}}
  140. \def\thestandardf@@tnote{\@arabic\c@footnote}
  141. \def\@makefnmark{%
  142. \hbox{%
  143. \ifx\thefootnote\thestandardf@@tnote
  144. \fontencoding{U}\selectfont\@thefnmark
  145. \else
  146. \@textsuperscript{\selectfont\@thefnmark}%
  147. \fi}}
  148. \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
  149. \hbox{}\thispagestyle{empty}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
  150. \RequirePackage{fixltx2e}[2006/03/24]
  151. \@ifclassloaded{article}
  152. {\relax}
  153. {\@ifclassloaded{book}
  154. {\relax}
  155. {\PackageWarningNoLine{dgruyter}
  156. {Neither document class 'article' nor 'book' in use.\MessageBreak
  157. See the package documentation}}}
  158. \def\f@rmatError{%
  159. \PackageError{dgruyter}
  160. {You mustn't specify more than one format option}
  161. {Please provide at least one of "small", "medium", or "big"\MessageBreak
  162. as an optional argument to the \string\usepackage\space command.\MessageBreak
  163. You shouldn't try to proceed from here, type x to quit.}}
  164. \DeclareOption{small}
  165. {\ifx\f@rmat\@undefined
  166. \let\f@rmat=s
  167. \else
  168. \f@rmatError
  169. \fi}
  170. \DeclareOption{medium}
  171. {\@ifclassloaded{article}
  172. {\PackageError{dgruyter}
  173. {Format "medium" is not available for articles}
  174. {Please use one of "medium" or "big"\MessageBreak
  175. as an optional argument to the \string\usepackage\space command.\MessageBreak
  176. You shouldn't try to proceed from here, type x to quit.}}
  177. {\ifx\f@rmat\@undefined
  178. \let\f@rmat=m
  179. \else
  180. \f@rmatError
  181. \fi}}
  182. \DeclareOption{big}
  183. {\ifx\f@rmat\@undefined
  184. \let\f@rmat=b
  185. \else
  186. \f@rmatError
  187. \fi}
  188. \DeclareOption{online} {\let\m@de=o}
  189. \DeclareOption{print} {\let\m@de=p}
  190. \DeclareOption{printona4}{\let\m@de=a}
  191. \DeclareOption{work} {\let\m@de=w}
  192. \ExecuteOptions{online}
  193. \ProcessOptions
  194. \ifx\f@rmat\@undefined
  195. \PackageError{dgruyter}
  196. {You haven't specified a format option}
  197. {You need to specify a format as an optional\MessageBreak
  198. argument to the \string\usepackage\space command;\MessageBreak
  199. available format options are small, medium, or big.\MessageBreak
  200. You shouldn't try to proceed from here, type x to quit.}
  201. \fi
  202. \ifx\f@rmat s
  203. \paperwidth 155mm
  204. \paperheight230mm
  205. \else
  206. \ifx\f@rmat m
  207. \paperwidth 170mm
  208. \paperheight240mm
  209. \else
  210. \paperwidth 210mm
  211. \paperheight280mm
  212. \fi
  213. \fi
  214. \@ifclassloaded{article}
  215. {\@twosidetrue}
  216. {\ifx\f@rmat b
  217. \let\@tempa\@undefined
  218. \@for\CurrentOption:=\@classoptionslist\do{%
  219. \ifx\CurrentOption\@empty\else
  220. \def\@tempa{onecolumn}%
  221. \ifx\CurrentOption\@tempa\let\@tempb\relax\fi
  222. \fi}
  223. \ifx\@tempb\relax\else\@twocolumntrue\fi
  224. \fi}
  225. \renewcommand\normalsize{%
  226. \@setfontsize\normalsize{9.5}{13}%
  227. \abovedisplayskip9.5\p@\@plus2\p@\@minus5\p@
  228. \abovedisplayshortskip\z@\@plus3\p@
  229. \belowdisplayshortskip6\p@\@plus3\p@\@minus3\p@
  230. \belowdisplayskip\abovedisplayskip
  231. \let\@listi\@listI}
  232. \@setfontsize\normalsize\@xpt{13}%
  233. \AtBeginDocument{\normalsize}
  234. \renewcommand\small{%
  235. \@setfontsize\small{8}{11}%
  236. \abovedisplayskip8\p@\@plus3\p@\@minus3\p@
  237. \abovedisplayshortskip\z@\@plus2\p@
  238. \belowdisplayshortskip3\p@\@plus2\p@\@minus2\p@
  239. \belowdisplayskip\abovedisplayskip
  240. \def\@listi{\leftmargin\leftmargini}}
  241. \let\footnotesize\small
  242. \renewcommand\scriptsize{\@setfontsize\scriptsize{7}{8}}
  243. \renewcommand\tiny{\@setfontsize\tiny{5}{6}}
  244. \renewcommand\large{\@setfontsize\large{12}{15}}
  245. \renewcommand\Large{\@setfontsize\Large{15}{19.5}}
  246. \renewcommand\LARGE{\@setfontsize\LARGE{17}{19.5}}
  247. \renewcommand\huge{\@setfontsize\huge{22}{26}}
  248. \renewcommand\Huge{\@setfontsize\Huge{24}{26}}
  249. \DeclareMathSizes{9.5}{9.5}{\@viipt}{\@vpt}
  250. \DeclareMathSizes{15}{15}{\@xpt}{\@viiipt}
  251. \DeclareMathSizes{22}{22}{15}{13}
  252. \DeclareMathSizes{24}{24}{\@xxpt}{\@xviipt}
  253. \setlength\parindent{6mm}
  254. \setlength\smallskipamount{3.25\p@\@plus1\p@\@minus1\p@}
  255. \setlength\medskipamount{6.5\p@\@plus2\p@\@minus2\p@}
  256. \setlength\bigskipamount{13\p@\@plus4\p@\@minus4\p@}
  257. \def\showinmm#1{%
  258. \@tempdima=0.35146 #1\relax
  259. \edef\@tempa{\strip@pt\@tempdima\space mm}
  260. \show\@tempa}
  261. \newdimen\gridwidth
  262. \ifx\f@rmat s
  263. \gridwidth6mm
  264. \else
  265. \ifx\f@rmat m
  266. \gridwidth6.5mm
  267. \else
  268. \if@twocolumn
  269. \gridwidth10.5mm
  270. \else
  271. \gridwidth9.25mm
  272. \fi
  273. \fi
  274. \fi
  275. \textwidth\dimexpr12\gridwidth+44mm\relax
  276. \oddsidemargin18mm
  277. \evensidemargin\dimexpr\paperwidth-\textwidth-\oddsidemargin\relax
  278. \@ifundefined{chapter}
  279. {\ifx\m@de w
  280. \ifx\f@rmat s
  281. \advance\oddsidemargin1.5mm
  282. \advance\evensidemargin-1.5mm
  283. \else
  284. \advance\oddsidemargin2mm
  285. \advance\evensidemargin-2mm
  286. \fi
  287. \fi}
  288. {}
  289. \marginparwidth5mm
  290. \marginparsep2mm
  291. \topskip9.5\p@
  292. \ifx\f@rmat b\topmargin12mm\else\topmargin10mm\fi
  293. \headheight4.5mm
  294. \advance\topmargin-1mm
  295. \ifx\f@rmat b\headsep23mm\else\headsep21mm\fi
  296. \advance\headsep-\topmargin
  297. \advance\headsep-\headheight
  298. \ifx\f@rmat s
  299. \textheight\dimexpr39\baselineskip+\topskip\relax
  300. \else
  301. \ifx\f@rmat m
  302. \textheight\dimexpr41\baselineskip+\topskip\relax
  303. \else
  304. \textheight\dimexpr50\baselineskip+\topskip\relax
  305. \fi
  306. \fi
  307. \footskip10mm \advance\footskip11\p@
  308. \skip\footins=2\baselineskip
  309. \footnotesep8\p@
  310. \setlength\floatsep {13\p@\@plus2\p@\@minus\z@}
  311. \setlength\textfloatsep{19.5\p@\@plus2\p@\@minus\z@}
  312. \setlength\intextsep {19.5\p@\@plus2\p@\@minus\z@}
  313. \setlength\dblfloatsep {13\p@ \@plus 2\p@ \@minus 2\p@}
  314. \setlength\dbltextfloatsep{19.5\p@ \@plus 2\p@ \@minus 4\p@}
  315. \setlength\@fptop{0\p@}
  316. \setlength\@dblfptop{0\p@}
  317. \partopsep\z@
  318. \parsep\z@
  319. \itemsep\z@
  320. \def\@listi {\leftmargin\leftmargini
  321. \topsep11\p@\@plus\z@\@minus\z@}
  322. \let\@listI\@listi
  323. \@listi
  324. \def\@listii {\leftmargin\leftmarginii
  325. \labelwidth\leftmarginii
  326. \advance\labelwidth-\labelsep
  327. \topsep\z@}
  328. \def\@listiii{\leftmargin\leftmarginiii
  329. \labelwidth\leftmarginiii
  330. \advance\labelwidth-\labelsep
  331. \topsep\z@}
  332. \def\@listiv {\leftmargin\leftmarginiv
  333. \labelwidth\leftmarginiv
  334. \advance\labelwidth-\labelsep}
  335. \def\@listv {\leftmargin\leftmarginv
  336. \labelwidth\leftmarginv
  337. \advance\labelwidth-\labelsep}
  338. \def\@listvi {\leftmargin\leftmarginvi
  339. \labelwidth\leftmarginvi
  340. \advance\labelwidth-\labelsep}
  341. \parskip\z@
  342. \def\DOI#1{\gdef\@DOI{#1}}
  343. \let\@DOI\@empty
  344. \@ifclassloaded{article}
  345. {\def\ps@plain{%
  346. \let\@mkboth\@gobbletwo
  347. \let\@oddfoot\@empty
  348. \let\@evenfoot\@empty
  349. \def\@oddhead{%
  350. \rlap{\vrule\@width\textwidth\@height-6\p@\@depth7.5\p@}%
  351. \sffamily\small
  352. \usebox\dg@wordmark
  353. \hfil
  354. \ifx\@DOI\@empty\else DOI\space\@DOI\quad\fi
  355. \dg@bartwo
  356. \ifx\@pstring\@undefined\else\quad\@pstring\fi}%
  357. \def\@evenhead{%
  358. \rlap{\vrule\@width\textwidth\@height-6\p@\@depth7.5\p@}%
  359. \sffamily\small
  360. \ifx\@pstring\@undefined\else\@pstring\quad\fi
  361. \dg@bartwo
  362. \ifx\@DOI\@empty\else\quad DOI\space\@DOI\fi
  363. \hfil
  364. \usebox\dg@wordmark}}}
  365. {\def\cclogo#1{\gdef\@cclogo{#1}}%
  366. \let\@cclogo\@empty
  367. \def\ps@plain{%
  368. \let\@mkboth\@gobbletwo
  369. \let\@oddhead\@empty
  370. \let\@evenhead\@empty
  371. \def\@oddfoot{\sffamily\bfseries\small\@DOI\hfil\@cclogo}
  372. \let\@evenfoot\@oddfoot}}
  373. \@ifclassloaded{article}
  374. {\def\ps@headings{%
  375. \let\@oddfoot\@empty
  376. \let\@evenfoot\@empty
  377. \def\@oddhead{%
  378. \small\sffamily
  379. \usebox\dg@wordmark
  380. \hfil
  381. \rightmark
  382. \quad\dg@bartwo\quad
  383. \bfseries\normalsize\thepage}
  384. \def\@evenhead{%
  385. \small\sffamily
  386. {\bfseries\normalsize\thepage}%
  387. \quad\dg@bartwo\quad
  388. \leftmark
  389. \hfil
  390. \usebox\dg@wordmark}%
  391. \let\@mkboth\markboth
  392. \let\sectionmark\@gobble
  393. \let\subsectionmark\@gobble}}
  394. {\def\ps@headings{%
  395. \let\@oddfoot\@empty
  396. \let\@evenfoot\@empty
  397. \def\@oddhead{%
  398. \small\sffamily
  399. \hfil
  400. \rightmark
  401. \quad\dg@bartwo\quad
  402. \bfseries\normalsize\thepage}
  403. \def\@evenhead{%
  404. \small\sffamily
  405. {\bfseries\normalsize\thepage}%
  406. \quad\dg@bartwo\quad
  407. \leftmark
  408. \hfil}%
  409. \let\@mkboth\markboth
  410. \def\chaptermark##1{%
  411. \markboth{\ifx\thesection\theinchapsection
  412. \ifnum\c@secnumdepth>\m@ne\if@mainmatter\thechapter\enskip\fi\fi\fi##1}
  413. {\ifx\thesection\theinchapsection
  414. \ifnum\c@secnumdepth>\m@ne\if@mainmatter\thechapter\enskip\fi\fi\fi##1}}%
  415. \def\sectionmark##1{%
  416. \ifx\thesection\theinchapsection
  417. \markright{\ifnum\c@secnumdepth>\z@\thesection\enskip\fi##1}%
  418. \fi}}}
  419. \pagestyle{headings}
  420. \def\@authorwarning{\@latex@warning@no@line{No \noexpand\author given}}
  421. \def\publisherlogo#1{\gdef\@publisherlogo{#1}}
  422. \gdef\@publisherlogo{dg-degruyter}
  423. \@ifclassloaded{article}
  424. {}
  425. {\def\distributionseries#1{\def\@distributionseries{#1}}
  426. \let\@distributionseries\@empty
  427. \def\seriestitle#1{\gdef\@seriestitle{#1}}
  428. \def\seriessubtitle#1{\gdef\@seriessubtitle{#1}}
  429. \def\seriesvolume#1{\gdef\@seriesvolume{#1}}
  430. \def\subtitle#1{\gdef\@subtitle{#1}}
  431. \def\serieseditor#1{\gdef\@serieseditor{#1}}
  432. \def\collaborator#1{\gdef\@collaborator{#1}}
  433. \def\edition#1{\gdef\@edition{#1}}
  434. \def\editor#1{\gdef\@editor{#1}}
  435. \def\authorinfo#1{\gdef\@authorinfo{#1}}
  436. \def\isbn#1{\gdef\@isbn{#1}}
  437. \def\eisbn#1{\gdef\@eisbn{#1}}
  438. \def\setisbn#1{\gdef\@setisbn{#1}}
  439. \def\issn#1{\gdef\@issn{#1}}
  440. \def\copyrightyear#1{\gdef\@copyrightyear{#1}}
  441. \gdef\@copyrightyear{\the\year}
  442. \def\cover#1{\gdef\@cover{#1}}
  443. \def\copyrighttext#1{\gdef\@copyrighttext{#1}}
  444. \def\typesetter#1{\gdef\@typesetter{#1}}
  445. \def\printbind#1{\gdef\@printbind{#1}}
  446. \long\def\dg@barpage#1#2{%
  447. \if@twocolumn
  448. \onecolumn
  449. \@tempswatrue
  450. \else
  451. \@tempswafalse
  452. \fi
  453. \bgroup
  454. \thispagestyle{empty}%
  455. \ifx\f@rmat s
  456. \@tempdima\dimexpr98.52mm-3.5mm-\topmargin-\headheight-\headsep\relax
  457. \else
  458. \ifx\f@rmat m
  459. \@tempdima\dimexpr99.347mm-3.5mm-\topmargin-\headheight-\headsep\relax
  460. \else
  461. \@tempdima\dimexpr101.347mm-3.5mm-\topmargin-\headheight-\headsep\relax
  462. \fi
  463. \fi
  464. \parindent\z@
  465. \vtop to\@tempdima{\vss#1}\par
  466. {\fontsize{16}{13}\sffamily\dg@barone}\par
  467. #2\par
  468. \egroup
  469. \par
  470. \if@tempswa\twocolumn\else\break\fi}
  471. \def\maketitle{%
  472. \if@twocolumn
  473. \onecolumn
  474. \@tempswatrue
  475. \else
  476. \@tempswafalse
  477. \fi
  478. \bgroup
  479. \thispagestyle{empty}%
  480. \parindent\z@
  481. \raggedright
  482. \sffamily
  483. \normalsize
  484. \ifx\@author\@authorwarning\@editor\else\@author\fi\par
  485. \textbf{\@title}\par
  486. \@distributionseries\par
  487. \vfill
  488. \break
  489. \ifx\@seriestitle\@undefined
  490. \thispagestyle{empty}%
  491. \null\par
  492. \break
  493. \else
  494. \dg@barpage
  495. {\vbox to156\p@{%
  496. {\ifx\f@rmat b\fontsize{33}{35.1}\else\Huge\fi
  497. \bfseries\@seriestitle\par\vfill}}}
  498. {\ifx\@seriessubtitle\@undefined\else
  499. {\ifx\f@rmat b\relax\Huge\else\fontsize{14}{17}\fi
  500. \rmfamily\@seriessubtitle\par}%
  501. \vskip28\p@
  502. \fi
  503. \ifx\@serieseditor\@undefined\else
  504. {\fontsize{14}{17}\selectfont
  505. \setbox\z@\hbox{\@serieseditor}%
  506. \ifdim\wd\z@>\hsize\normalsize\fi
  507. \iflanguage{ngerman}{Herausgegeben von}{Editor in Chief}\\
  508. \@serieseditor
  509. \par}
  510. \vskip17\p@
  511. \fi
  512. \ifx\@seriesvolume\@undefined\else
  513. {\Huge\bfseries\iflanguage{ngerman}{Band}{Volume}\space\@seriesvolume}\par
  514. \fi}
  515. \fi
  516. \dg@barpage
  517. {\setbox\z@\hbox{\Huge\@author}%
  518. \ifdim\wd\z@>\hsize\LARGE\else\Huge\fi\@author
  519. \strut\par
  520. \vskip-0.3\baselineskip
  521. \vskip19.5\p@
  522. \setbox\z@\vbox{\fontsize{42}{45.5}\bfseries\@title}%
  523. \ifdim\ht\z@<140\p@
  524. \def\title@fontsize{\fontsize{42}{45.5}}%
  525. \else
  526. \ifx\f@rmat b\relax
  527. \def\title@fontsize{\fontsize{33}{35.1}}%
  528. \else
  529. \setbox\z@\vbox{\fontsize{33}{35.1}\bfseries\@title}%
  530. \ifdim\ht\z@<150\p@
  531. \def\title@fontsize{\fontsize{33}{35.1}}%
  532. \else
  533. \let\title@fontsize\Huge
  534. \fi
  535. \fi
  536. \fi
  537. \vbox to156\p@{\title@fontsize\bfseries\@title\par\vfill}}%
  538. {\fontsize{14}{17}\selectfont
  539. \ifx\@subtitle\@undefined\else
  540. {\rmfamily\ifx\f@rmat b\relax\Huge\fi\@subtitle\par}\vskip28pt
  541. \fi
  542. \ifx\@editor\@undefined\else
  543. \iflanguage{ngerman}{Herausgegeben von}{Edited by}\\
  544. \@editor\par\vskip11pt
  545. \fi
  546. \ifx\@collaborator\@undefined\else
  547. \iflanguage{ngerman}{In Zusammenarbeit mit}{Editors}\\
  548. \@collaborator\par\vskip11pt
  549. \fi
  550. \ifx\@edition\@undefined\else
  551. \@edition\par\vskip11pt
  552. \fi
  553. \vfill
  554. \ifx\f@rmat b\relax
  555. \includegraphics[scale=1.043]{\@publisherlogo}%
  556. \else
  557. \includegraphics[scale=1.343]{\@publisherlogo}%
  558. \fi
  559. \hskip7mm %fill in cooperator-logo here
  560. \par}%
  561. \thispagestyle{empty}%
  562. \small
  563. \multicolsep\z@
  564. \ifx\@classification\@undefined
  565. \else
  566. \vskip0.5\baselineskip
  567. \ifx\classificationName\@undefined\let\classificationName\classificationname\fi
  568. {\bfseries\classificationName\par}\@classification\par\vskip\baselineskip
  569. \global\let\@classification\@undefined
  570. \fi
  571. \ifx\@authorinfo\@undefined
  572. \null
  573. \else
  574. \ifx\f@rmat b\relax\begin{multicols}{2}\fi
  575. \@authorinfo
  576. \ifx\f@rmat b\relax\end{multicols}\fi
  577. \fi
  578. \par\vfill
  579. \ifx\f@rmat b\relax\begin{multicols}{2}\fi
  580. \ifx\@copyrighttext\@undefined\else\@copyrighttext\fi
  581. \par\vskip\baselineskip
  582. \ifx\@isbn\@undefined\else ISBN\space\@isbn\\\fi
  583. \ifx\@eisbn\@undefined\else e-ISBN\space\@eisbn\\\fi
  584. \ifx\@setisbn\@undefined\else Set-ISBN\space\@setisbn\\\fi
  585. \ifx\@issn\@undefined\else ISSN\space\@issn\\\fi
  586. \vskip\baselineskip
  587. \textbf{Library of Congress Cataloging-in-Publication Data}\\
  588. A CIP catalog record for this book has been applied
  589. for at the Library of Congress.\par
  590. \vskip\baselineskip
  591. \iflanguage{ngerman}
  592. {\textbf{Bibliografische Information der Deutschen Nationalbibliothek}\\
  593. Die Deutsche Nationalbibliothek verzeichnet diese Publikation in der
  594. Deutschen Nationalbibliografie; detaillierte bibliografische Daten sind
  595. im Internet \"uber\break \url{http://dnb.dnb.de} abrufbar.}
  596. {\textbf{Bibliographic information published by the Deutsche Nationalbibliothek}\\
  597. The Deutsche Nationalbibliothek lists this publication in the
  598. Deutsche Nationalbibliografie;\\ detailed bibliographic data are
  599. available in the Internet at \url{http://dnb.dnb.de}.}%
  600. \par\vskip\baselineskip
  601. \ifx\f@rmat b\relax\columnbreak\fi
  602. \textcopyright\space\@copyrightyear\space Walter de Gruyter GmbH, Berlin/Boston\\
  603. \ifx\@cover\@undefined\else
  604. \iflanguage{ngerman}{Umschlaggestaltung}{Cover image}:\space\@cover\\
  605. \fi
  606. \ifx\@typesetter\@undefined\else
  607. \iflanguage{ngerman}{Satz}{Typesetting}:\space\@typesetter\\
  608. \fi
  609. \ifx\@printbind\@undefined\else
  610. \iflanguage{ngerman}{Druck und Bindung}{Printing and binding}:\space\@printbind\\
  611. \fi
  612. \ifx\dgf@nts\relax
  613. \ifx\f@encoding\eutw@encoding\char"267E\else{\fontencoding{TS1}\selectfont\char"C9}\fi
  614. \else
  615. \textcircled{\raise0.2ex\hbox{$\scriptstyle\infty$}}%
  616. \fi
  617. \iflanguage{ngerman}
  618. {Gedruckt auf s\"aurefreiem Papier}
  619. {Printed on acid-free paper}%
  620. \\
  621. Printed in Germany\par
  622. \vskip\baselineskip
  623. \url{www.degruyter.com}\par
  624. \ifx\f@rmat b\relax\end{multicols}\fi
  625. \egroup
  626. \if@tempswa\twocolumn\else\break\fi}}
  627. \setcounter{secnumdepth}{4}
  628. \@ifclassloaded{article}
  629. {\renewcommand\part{%
  630. \if@noskipsec\leavevmode\fi
  631. \par
  632. \addvspace{2\baselineskip}%
  633. \@afterindentfalse
  634. \secdef\@part\@spart}
  635. \def\@part[#1]#2{%
  636. \ifnum\c@secnumdepth>\m@ne
  637. \refstepcounter{part}%
  638. \addcontentsline{toc}{part}{\thepart\space#1}%
  639. \else
  640. \addcontentsline{toc}{part}{#1}%
  641. \fi
  642. {\parindent\z@\raggedright
  643. \interlinepenalty\@M
  644. \sffamily\Large
  645. \ifnum\c@secnumdepth>\m@ne
  646. \partname\nobreakspace\thepart
  647. \if!#2!\@empty\else:\space\fi
  648. \par\nobreak
  649. \fi
  650. \if!#2!\@empty\else\bfseries#2\fi
  651. \par}%
  652. \nobreak
  653. \vskip13\p@
  654. \@afterheading}
  655. \def\@spart#1{%
  656. {\parindent\z@\raggedright
  657. \interlinepenalty\@M
  658. \sffamily\Large
  659. \bfseries#1\par}%
  660. \nobreak
  661. \vskip13\p@
  662. \@afterheading}}
  663. {\renewcommand\part{%
  664. \cleardoublepage
  665. \secdef\@part\@spart}
  666. \def\@part[#1]#2{%
  667. \ifnum\c@secnumdepth>-2\relax
  668. \refstepcounter{part}%
  669. \addcontentsline{toc}{part}{\numberline{\partname\ \thepart}#1}%
  670. \else
  671. \addcontentsline{toc}{part}{#1}%
  672. \fi
  673. \markboth{\partname\ \thepart\enskip#1}{\partname\ \thepart\enskip#1}%
  674. \dg@barpage
  675. {}
  676. {\parindent\z@\raggedright
  677. \interlinepenalty\@M
  678. \sffamily\Large
  679. \ifnum\c@secnumdepth>-2\relax
  680. \partname\nobreakspace\thepart
  681. \if!#2!\@empty\else:\space\fi
  682. \fi
  683. \if!#2!\@empty\else\bfseries#2\fi
  684. \par}}
  685. \def\@spart#1{%
  686. \dg@barpage
  687. {}
  688. {\parindent\z@\raggedright
  689. \interlinepenalty\@M
  690. \sffamily\Large
  691. \bfseries#1%
  692. \par}}}
  693. \@ifclassloaded{article}
  694. {\relax}
  695. {\renewcommand\chapter{%
  696. \clearpage
  697. \thispagestyle{plain}%
  698. \global\@topnum\z@
  699. \@afterindentfalse
  700. \secdef\@chapter\@schapter}
  701. \def\@chapter[#1]#2{%
  702. \let\thesection\theinchapsection
  703. \let\theequation\theinchapequation
  704. \let\thefigure\theinchapfigure
  705. \let\thetable\theinchaptable
  706. \ifnum \c@secnumdepth >\m@ne
  707. \if@mainmatter
  708. \refstepcounter{chapter}%
  709. \typeout{\@chapapp\space\thechapter.}%
  710. \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}%
  711. \else
  712. \addcontentsline{toc}{chapter}{\mdseries#1}%
  713. \fi
  714. \else
  715. \addcontentsline{toc}{chapter}{#1}%
  716. \fi
  717. \chaptermark{#1}%
  718. \addtocontents{lof}{\protect\addvspace{13\p@}}%
  719. \addtocontents{lot}{\protect\addvspace{13\p@}}%
  720. \if@twocolumn
  721. \@topnewpage[\@makechapterhead{#2}]%
  722. \else
  723. \@makechapterhead{#2}%
  724. \@afterheading
  725. \fi}
  726. \def\@makechapterhead#1{%
  727. {\parindent\z@
  728. \raggedright
  729. \leavevmode
  730. \vrule\@width\z@\@height\dimexpr\topskip+0.5\baselineskip\relax\@depth\z@
  731. \sffamily\mathversion{bold}\bfseries
  732. \Large%should better be \LARGE
  733. \settowidth\hangindent{\thechapter\enskip}%
  734. \interlinepenalty\@M
  735. \ifnum \c@secnumdepth >\m@ne
  736. \if@mainmatter
  737. \thechapter\enskip
  738. \fi
  739. \fi
  740. #1\par\nobreak
  741. \vskip13\p@}%
  742. \ifx\@chapsubtitle\@undefined
  743. \else
  744. \@chapsubtitle\global\let\@chapsubtitle\@undefined
  745. \fi}
  746. \def\@schapter#1{%
  747. \setcounter{section}{\z@}%
  748. \let\thesection\theplainsection
  749. \let\theequation\theplainequation
  750. \let\thefigure\theplainfigure
  751. \let\thetable\theplaintable
  752. \if@mainmatter
  753. \addcontentsline{toc}{chapter}{#1}%
  754. \else
  755. \addcontentsline{toc}{chapter}{\mdseries#1}%
  756. \fi
  757. \chaptermark{#1}%
  758. \if@twocolumn
  759. \@topnewpage[\@makeschapterhead{#1}]%
  760. \else
  761. \@makeschapterhead{#1}%
  762. \@afterheading
  763. \fi}
  764. \def\@makeschapterhead#1{%
  765. {\parindent\z@
  766. \raggedright
  767. \leavevmode
  768. \vrule\@width\z@\@height\dimexpr\topskip+0.5\baselineskip\relax\@depth\z@
  769. \sffamily\mathversion{bold}\bfseries
  770. \Large%should better be \LARGE
  771. \interlinepenalty\@M
  772. #1\par\nobreak
  773. \vskip 13\p@}}
  774. \let\theinchapsection\thesection
  775. \def\theplainsection{\arabic{section}}
  776. \let\theinchapequation\theequation
  777. \def\theplainequation{\arabic{equation}}
  778. \let\theinchapfigure\thefigure
  779. \def\theplainfigure{\arabic{figure}}
  780. \let\theinchaptable\thetable
  781. \def\theplaintable{\arabic{table}}}
  782. %%in the following defs the \theinchapsection should be obsolete after styleguide revision
  783. \renewcommand\section{%
  784. \suppressfloats[t]%
  785. \@startsection{section}{1}{\z@}%
  786. {\ifx\thesection\theinchapsection-24\p@\else-26\p@\fi}%
  787. {13\p@}%
  788. {\raggedright\sffamily\selectfont\bfseries\mathversion{bold}%
  789. \ifx\thesection\theinchapsection
  790. \large
  791. \else
  792. \Large\leavevmode\vrule\@width\z@\@height\dimexpr\topskip+6.5\p@\relax\@depth\z@
  793. \fi}}
  794. \renewcommand\subsection{%
  795. \@startsection{subsection}{2}{\z@}%
  796. {\ifx\thesection\theinchapsection-26\p@\else-24\p@\fi}%
  797. {13\p@\@plus\z@\@minus4\p@}%
  798. {\raggedright\sffamily\bfseries\mathversion{bold}%
  799. \ifx\thesection\theinchapsection
  800. \normalsize
  801. \else
  802. \large
  803. \fi}}
  804. \renewcommand\subsubsection{%
  805. \@startsection{subsubsection}{3}{\z@}%
  806. {-26\p@}%
  807. {\ifx\thesection\theinchapsection1sp\else13\p@\fi}%
  808. {\raggedright\sffamily\bfseries\mathversion{bold}%
  809. \ifx\thesection\theinchapsection
  810. \normalsize
  811. \else
  812. \normalsize
  813. \fi}}
  814. \renewcommand\paragraph{%
  815. \@startsection{paragraph}{4}{\z@}%
  816. {-26\p@}%
  817. {1sp}%
  818. {\raggedright\sffamily
  819. \ifx\thesection\theinchapsection
  820. \itshape\normalsize
  821. \else
  822. \bfseries\mathversion{bold}\normalsize
  823. \fi}}
  824. \renewcommand\subparagraph{%
  825. \@startsection{subparagraph}{5}{\z@}%
  826. {-26\p@}%
  827. {1sp}%
  828. {\raggedright\sffamily
  829. \ifx\thesection\theinchapsection
  830. \itshape\normalsize
  831. \else
  832. \itshape\normalsize
  833. \fi}}%\itshape is le-tex decision
  834. \leftmargini\parindent
  835. \leftmargin\leftmargini
  836. \leftmarginii\leftmargini
  837. \leftmarginiii\leftmargini
  838. \def\labelitemi{\normalfont\textendash}
  839. \def\labelitemii{\normalfont\textendash}
  840. \renewenvironment{description}
  841. {\list{}{\topsep\z@
  842. \labelwidth\z@ \itemindent-\leftmargin
  843. \let\makelabel\descriptionlabel}}
  844. {\ifnum\@listdepth=\@ne\advance\@topsepadd\baselineskip\fi
  845. \endlist
  846. \gdef\@doendpe{%
  847. \@endpetrue
  848. \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
  849. \global\let\@doendpe\orig@doendpe}}
  850. \renewenvironment{quotation}
  851. {\list{}{\listparindent\parindent
  852. \itemindent \listparindent
  853. \parsep \z@}%
  854. \small
  855. \item\relax}
  856. {\endlist
  857. \gdef\@doendpe{%
  858. \@endpetrue
  859. \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
  860. \global\let\@doendpe\orig@doendpe}}
  861. \renewenvironment{quote}
  862. {\list{}{}%
  863. \small
  864. \item\relax}
  865. {\endlist
  866. \gdef\@doendpe{%
  867. \@endpetrue
  868. \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
  869. \global\let\@doendpe\orig@doendpe}}
  870. \newenvironment{legaltext}
  871. {\list{}{\topsep\baselineskip}%
  872. \bfseries
  873. \item
  874. \vrule\@height1.7\baselineskip\@width\z@}
  875. {\topsep\baselineskip
  876. \endlist}
  877. \renewcommand\tableofcontents{%
  878. \cleardoublepage
  879. \thispagestyle{plain}%
  880. \@afterindentfalse
  881. \chaptermark{\contentsname}%
  882. \@makeschapterhead{\contentsname}%
  883. \let\lastentry@author\relax
  884. \@starttoc{toc}}
  885. \def\l@part{\@dottedtocline{-1}{13\p@}{}}
  886. \def\l@chapter{\@dottedtocline{0}{13\p@}{}}
  887. \def\l@contribution{\@dottedtocline{0}{13\p@}{\leftskip\z@}}
  888. \def\l@section{\@dottedtocline{1}{\z@}{}}
  889. \def\l@subsection{\@dottedtocline{2}{\z@}{}}
  890. \def\l@subsubsection{\@dottedtocline{3}{\z@}{}}
  891. \def\l@paragraph{\@dottedtocline{4}{\z@}{}}
  892. \def\l@subparagraph{\@dottedtocline{5}{\z@}{}}
  893. \def\l@author#1#2{\vskip13\p@{#1}\par\let\lastentry@author\relax}
  894. \renewcommand\listoffigures{%
  895. \if@twocolumn
  896. \@restonecoltrue\onecolumn
  897. \else
  898. \@restonecolfalse
  899. \fi
  900. \chapter*{\listfigurename}%
  901. \@starttoc{lof}%
  902. \if@restonecol\twocolumn\fi}
  903. \def\l@figure{\@dottedtocline{1}{\z@}{}}
  904. \renewcommand\listoftables{%
  905. \if@twocolumn
  906. \@restonecoltrue\onecolumn
  907. \else
  908. \@restonecolfalse
  909. \fi
  910. \chapter*{\listtablename}%
  911. \@starttoc{lot}%
  912. \if@restonecol\twocolumn\fi}
  913. \def\l@table{\@dottedtocline{1}{\z@}{}}
  914. \bibindent\parindent
  915. \let\indexpreamble\@empty
  916. \renewenvironment{theindex}
  917. {\if@twocolumn
  918. \@restonecolfalse
  919. \else
  920. \@restonecoltrue
  921. \fi
  922. \sffamily
  923. \begin{multicols}{2}%
  924. [\chapter*{\indexname}%
  925. \small\noindent\indexpreamble]
  926. \small
  927. \raggedright
  928. \parskip\z@ \@plus .3\p@\relax
  929. \columnseprule \z@
  930. \let\item\@idxitem}
  931. {\end{multicols}%
  932. \if@restonecol\onecolumn\else\clearpage\fi}
  933. \renewcommand\@idxitem{\par\hangindent6mm}
  934. \renewcommand\subitem{\@idxitem\leavevmode\hb@xt@0.75em{\textendash\hss}}
  935. \renewcommand\subsubitem{\@idxitem\leavevmode\hb@xt@1.5em{\kern0.75em\textendash\hss}}
  936. \renewcommand\indexspace{\par\vskip11\p@\@plus5\p@\@minus3\p@\relax}
  937. \columnsep4mm
  938. \raggedbottom
  939. \RequirePackage[T1]{fontenc}
  940. \RequirePackage{textcomp}
  941. \def\eutw@encoding{EU2}
  942. \@ifpackageloaded{fontspec}
  943. {\def\encodingdefault{EU2}%
  944. \fontencoding{\encodingdefault}\selectfont
  945. \RequirePackage[intlimits]{amsmath}
  946. \RequirePackage{unicode-math}}
  947. {\let\addfontfeature\@gobble
  948. \let\addfontfeatures\@gobble
  949. \let\old@sups\sups
  950. \let\sups\@undefined
  951. \RequirePackage[safe]{tipa}
  952. \let\sups\old@sups}
  953. \ifx\dgf@nts\@undefined
  954. \RequirePackage[lighttt]{lmodern}
  955. \newbox\dg@wordmark
  956. \AtBeginDocument{%
  957. \sbox\dg@wordmark{\includegraphics[height=2.1mm]{\@publisherlogo}}}
  958. \ifx\dgf@nts\@undefined
  959. \DeclareRobustCommand*\dg@barone{%
  960. \expandafter\ifdim\f@size\p@<10\p@\relax
  961. \vrule\@width15\p@\@height3\p@\@depth-2\p@
  962. \else%\f@size:=16
  963. \vrule\@width30\p@\@height4\p@\@depth-2\p@
  964. \fi}
  965. \def\dg@bartwo{\vrule\@width15\p@\@height3.5\p@\@depth-2\p@}
  966. \else
  967. \def\dg@barone{%
  968. \ifx\f@encoding\eutw@encoding\char"F5F0\else{\fontencoding{TS1}\selectfont\char"CA}\fi}
  969. \def\dg@bartwo{%
  970. \ifx\f@encoding\eutw@encoding\char"F5F1\else{\fontencoding{TS1}\selectfont\char"CB}\fi}
  971. \fi
  972. \@ifpackagewith{inputenc}{utf8}{\DeclareUnicodeCharacter{2007}{\hphantom{0}}}{}
  973. \let\old@classoptionslist\@classoptionslist
  974. \edef\@classoptionslist{english,\old@classoptionslist}
  975. \RequirePackage{babel}
  976. \let\@classoptionslist\old@classoptionslist
  977. \def\@tempa{%
  978. \def\figurename{Fig.}%
  979. \def\keywordsname{Keywords}%
  980. \def\classificationname{Classification}%
  981. \def\receivedname{Received}%
  982. \def\revisedname{revised}%
  983. \def\acceptedname{accepted}%
  984. \def\communicatedname{Communicated by}%
  985. \def\acknowledgementname{Acknowledgement}%
  986. \def\graphicalabstractname{Graphical abstracts}%
  987. \def\listauthorname{List of contributors}}
  988. \expandafter\addto\expandafter\captionsenglish\expandafter{\@tempa}
  989. \expandafter\addto\expandafter\captionsbritish\expandafter{\@tempa}
  990. \expandafter\addto\expandafter\captionsamerican\expandafter{\@tempa}
  991. \expandafter\addto\expandafter\captionsUKenglish\expandafter{\@tempa}
  992. \expandafter\addto\expandafter\captionsUSenglish\expandafter{\@tempa}
  993. \def\@tempa{%
  994. \def\figurename{Abb.}%
  995. \def\tablename{Tab.}%
  996. \def\bibname{Literatur}%
  997. \def\contentsname{Inhalt}%
  998. \def\indexname{Stichwortverzeichnis}%
  999. \def\keywordsname{Schlagwörter}%
  1000. \def\classificationname{Klassifikation}%
  1001. \def\receivedname{Empfangen}%
  1002. \def\revisedname{überarbeitet}%
  1003. \def\acceptedname{angenommen}%
  1004. \def\communicatedname{Übermittelt von}%
  1005. \def\acknowledgementname{Danksagung}%
  1006. \def\graphicalabstractname{Kurzzusammenfassungen}%
  1007. \def\listauthorname{Autorenverzeichnis}}
  1008. \expandafter\addto\expandafter\captionsngerman\expandafter{\@tempa}
  1009. \expandafter\addto\expandafter\captionsgerman\expandafter{\@tempa}
  1010. \RequirePackage{ragged2e}
  1011. \RequirePackage[intlimits]{amsmath}
  1012. \@ifpackageloaded{minionmath}
  1013. {\RequirePackage{minionamsmath}
  1014. \let\varDelta\Deltait}
  1015. {}
  1016. \RequirePackage{amsthm}
  1017. \def\thmhead@plain#1#2#3{%
  1018. \hbox{%explicitly desired by DeG
  1019. \thmname{#1}\thmnumber{\@ifnotempty{#1}{ }\@upn{#2}}%
  1020. \thmnote{ {\the\thm@notefont(#3)}}}}
  1021. \def\@begintheorem#1#2[#3]{%
  1022. \global\advance\@listdepth\@ne
  1023. \deferred@thm@head{\the\thm@headfont \thm@indent
  1024. \@ifempty{#1}{\let\thmname\@gobble}{\let\thmname\@iden}%
  1025. \@ifempty{#2}{\let\thmnumber\@gobble}{\let\thmnumber\@iden}%
  1026. \@ifempty{#3}{\let\thmnote\@gobble}{\let\thmnote\@iden}%
  1027. \thm@swap\swappedhead\thmhead{#1}{#2}{#3}%
  1028. \the\thm@headpunct
  1029. \thmheadnl % possibly a newline.
  1030. \hskip\thm@headsep
  1031. }%
  1032. \ignorespaces}
  1033. \def\@endtheorem{%
  1034. \global\advance\@listdepth\m@ne
  1035. \endtrivlist
  1036. \gdef\@doendpe{%
  1037. \@endpetrue
  1038. \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
  1039. \global\let\@doendpe\orig@doendpe}}
  1040. \renewenvironment{proof}[1][\proofname]
  1041. {\par
  1042. \pushQED{\qed}%
  1043. \normalfont \topsep6\p@\@plus6\p@\relax
  1044. \trivlist
  1045. \item[\hskip\labelsep
  1046. \itshape
  1047. #1\@addpunct{.}]\ignorespaces}
  1048. {\popQED
  1049. \endtrivlist
  1050. \gdef\@doendpe{%
  1051. \@endpetrue
  1052. \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
  1053. \global\let\@doendpe\orig@doendpe}}
  1054. \thm@notefont{\normalfont}
  1055. \newtheoremstyle{dgthm}
  1056. {.5\baselineskip}
  1057. {.5\baselineskip}
  1058. {\itshape
  1059. \expandafter\def\expandafter\labelenumi\expandafter{\expandafter\upshape\labelenumi}%
  1060. \expandafter\def\expandafter\labelenumii\expandafter{\expandafter\upshape\labelenumii}%
  1061. \expandafter\def\expandafter\labelenumiii\expandafter{\expandafter\upshape\labelenumiii}%
  1062. \expandafter\def\expandafter\labelenumiv\expandafter{\expandafter\upshape\labelenumiv}}
  1063. {}
  1064. {\sffamily\bfseries}
  1065. {\ifx\thmnote\@gobble.\else\normalfont.\fi}
  1066. {.5em}
  1067. {}
  1068. \newtheoremstyle{dgdef}
  1069. {.5\baselineskip}
  1070. {.5\baselineskip}
  1071. {\normalfont}
  1072. {}
  1073. {\sffamily\bfseries}
  1074. {\ifx\thmnote\@gobble.\else\normalfont.\fi}
  1075. {.5em}
  1076. {}
  1077. \RequirePackage{graphicx}
  1078. \RequirePackage{array}
  1079. \RequirePackage{multirow}
  1080. \RequirePackage{tabularx}
  1081. \def\TX@endtabularx{%
  1082. \expandafter\TX@newcol\expandafter{\tabularxcolumn{\TX@col@width}}%
  1083. \let\verb\TX@verb
  1084. \def\@elt##1{\value{##1}\the\value{##1}\relax}%
  1085. \edef\TX@ckpt{\cl@@ckpt}%
  1086. \let\@elt\relax
  1087. \TX@old@table\maxdimen
  1088. \TX@col@width\TX@target
  1089. \global\TX@cols\@ne
  1090. \TX@typeout@
  1091. {\@spaces Table Width\@spaces Column Width\@spaces X Columns}%
  1092. \TX@trial{\def\NC@rewrite@X{%
  1093. \global\advance\TX@cols\@ne\NC@find p{\TX@col@width}}}%
  1094. \loop
  1095. \TX@arith
  1096. \ifTX@
  1097. \TX@trial{}%
  1098. \repeat
  1099. {\let\@footnotetext\TX@ftntext\let\@xfootnotenext\TX@xftntext
  1100. \csname tabular*\expandafter\endcsname\expandafter\TX@target
  1101. \the\toks@
  1102. \csname endtabular*\endcsname}%
  1103. \global\TX@ftn\expandafter{\expandafter}\the\TX@ftn
  1104. \ifnum0=`{\fi}%
  1105. \expandafter\end\expandafter{\TX@}}
  1106. \RequirePackage{bigstrut}
  1107. \RequirePackage{supertabular}
  1108. \RequirePackage{booktabs}
  1109. \newcolumntype{e}{!{\extracolsep{\fill}}}
  1110. \let\@barearray\@array
  1111. \let\@baretabular\@tabular
  1112. \let\@bareclassz\@classz
  1113. \let\@@barearray\@@array
  1114. \let\endbaretabular\endtabular
  1115. \expandafter\let\csname endbaretabular*\endcsname=\endtabular
  1116. \def\baretabulars{%
  1117. \let\@array\@barearray
  1118. \let\@tabular\@baretabular
  1119. \let\@classz\@bareclassz
  1120. \let\@@array\@@barearray
  1121. \let\endtabular\endbaretabular
  1122. \expandafter\let\csname endtabular*\endcsname=\endtabular}
  1123. \def\@array[#1]#2{%
  1124. \@tempdima \ht \strutbox
  1125. \advance \@tempdima by\extrarowheight
  1126. \setbox \@arstrutbox \hbox{\vrule
  1127. \@height \arraystretch \@tempdima
  1128. \@depth \arraystretch \dp \strutbox
  1129. \@width \z@}%
  1130. \begingroup
  1131. \@mkpream{#2}%
  1132. \xdef\@preamble{\noexpand \ialign \@halignto
  1133. \bgroup
  1134. \expandafter\ifx\d@llarbegin\begingroup\hskip-\col@sep\fi
  1135. \@arstrut \@preamble
  1136. \expandafter\ifx\d@llarbegin\begingroup\hskip-\col@sep\fi
  1137. \tabskip \z@ \cr}%
  1138. \endgroup
  1139. \@arrayleft
  1140. \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi \fi
  1141. \bgroup
  1142. \let \@sharp ##\let \protect \relax
  1143. \lineskip \z@
  1144. \baselineskip \z@
  1145. \m@th
  1146. \let\\\@arraycr \let\tabularnewline\\\let\par\@empty \@preamble}
  1147. \def\@tabular{%
  1148. \leavevmode
  1149. \hbox \bgroup\tablefont $\col@sep\tabcolsep \let\d@llarbegin\begingroup%$
  1150. \let\d@llarend\endgroup
  1151. \gdef\@tablefont{\leavevmode\tablefont\tableheadfont}%
  1152. \@tabarray}
  1153. \let\@classzold\@classz
  1154. \def\@classz{%
  1155. \expandafter\ifx\d@llarbegin\begingroup
  1156. \toks \count@ =
  1157. \expandafter{\expandafter\@tablefont\the\toks\count@}%
  1158. \fi
  1159. \@classzold}
  1160. \def\@@array[#1]#2{%
  1161. \@array[#1]{#2}%
  1162. \expandafter\ifx\d@llarbegin\begingroup\toprule\fi}
  1163. \def\endtabular{%
  1164. \bottomrule
  1165. \endarray $\egroup}%$
  1166. \expandafter\let\csname endtabular*\endcsname=\endtabular
  1167. \let\@layarray\@array
  1168. \let\@laytabular\@tabular
  1169. \let\@layclassz\@classz
  1170. \let\@@layarray\@@array
  1171. \let\endlaytabular\endtabular
  1172. \expandafter\let\csname endlaytabular*\endcsname=\endtabular
  1173. \def\layouttabulars{%
  1174. \let\@array\@layarray
  1175. \let\@tabular\@laytabular
  1176. \let\@classz\@layclassz
  1177. \let\@@array\@@layarray
  1178. \let\endtabular\endlaytabular
  1179. \expandafter\let\csname endtabular*\endcsname=\endlaytabular}
  1180. \def\midrule{\noalign{\ifnum0=`}\fi
  1181. \@aboverulesep=\aboverulesep
  1182. \global\@belowrulesep=\belowrulesep
  1183. \global\@thisruleclass=\@ne
  1184. \gdef\@tablefont{\leavevmode\tablefont}%
  1185. \@ifnextchar[{\@BTrule}{\@BTrule[\heavyrulewidth]}}%
  1186. \def\tailrule{\noalign{\ifnum0=`}\fi
  1187. \@aboverulesep=\aboverulesep
  1188. \global\@belowrulesep=\belowrulesep
  1189. \global\@thisruleclass=\@ne
  1190. \gdef\@tablefont{\leavevmode\tableheadfont}%
  1191. \@ifnextchar[{\@BTrule}{\@BTrule[\lightrulewidth]}}%
  1192. \def\starttabularbody{\noalign{\gdef\@tablefont{\leavevmode\tablefont}}}
  1193. \heavyrulewidth=1\p@
  1194. \lightrulewidth=0.25\p@
  1195. \belowrulesep=2\p@
  1196. \aboverulesep=2\p@
  1197. \newcommand*\tablefont{%
  1198. \leavevmode
  1199. \sffamily\addfontfeature{Numbers=Monospaced}\small}
  1200. \newcommand*\tableheadfont{%
  1201. \leavevmode
  1202. \small\sffamily\addfontfeature{Numbers=Monospaced}\bfseries\mathversion{bold}}
  1203. \tabcolsep0.5\columnsep
  1204. \RequirePackage{multicol}
  1205. \RequirePackage[singlelinecheck=false,listof,tableposition=top]{caption}
  1206. \def\plist@figure{\figurename\space}
  1207. \def\plist@table{\tablename\space}
  1208. \renewcommand\caption@@addcontentsline[2]{%
  1209. {\let\\\space
  1210. \@ifundefined{ext@#1}%
  1211. {\caption@Error{No float type '#1' defined}}%
  1212. {\caption@@@addcontentsline
  1213. {\csname ext@#1\endcsname}%
  1214. {#1}%
  1215. {\caption@lstfmt{\@nameuse{plist@#1}}{\@nameuse{the#1}}}%
  1216. {\ignorespaces #2}}}}
  1217. \captionsetup{labelsep=period,font={small,sf},justification=RaggedRight,%
  1218. labelfont=bf,skip=9.5\p@,listformat=simple}
  1219. \RequirePackage[rightcaption,ragged]{sidecap}
  1220. \def\sidecaptionrelwidth{20}
  1221. \edef\sidecaptionsep{\the\columnsep}
  1222. \RequirePackage[figuresright]{rotating}
  1223. \setlength\rotFPtop{0\p@ \@plus 1fil}
  1224. \RequirePackage[numbers,sort&compress]{natbib}
  1225. \setlength\bibhang\bibindent
  1226. \def\bibfont{\sffamily\small\RaggedRight}
  1227. \def\bibnumfmt#1{[#1]\hfill}
  1228. \@ifundefined{chapter}
  1229. {\renewcommand\bibsection{\section*{\refname}}}
  1230. {\@ifxundefined\NAT@sectionbib
  1231. {\renewcommand\bibsection{\chapter*{\bibname}}}
  1232. {\renewcommand\bibsection{%
  1233. \section*{\bibname}%
  1234. \ifx\@mkboth\@gobbletwo\else\markright{\bibname}\fi}}}
  1235. \RequirePackage{makeidx}\makeindex
  1236. \RequirePackage[switch,pagewise,modulo]{lineno}
  1237. \nolinenumbers
  1238. \linenumbersep\marginparsep
  1239. \def\makeLineNumberRight{%
  1240. \linenumberfont\hskip\linenumbersep\hskip\columnwidth
  1241. \hb@xt@\linenumberwidth{\LineNumber\hss}\hss}
  1242. \switchlinenumbers
  1243. \def\linenumberfont{\sffamily\mdseries\small}
  1244. \ifx\m@de a
  1245. \ifnum\pdfoutput=\z@
  1246. \ifx\f@rmat b
  1247. \hoffset-1in
  1248. \voffset\dimexpr842bp-\paperheight-1in\relax
  1249. \else
  1250. \hoffset\dimexpr20mm-1in\relax
  1251. \voffset\dimexpr20mm-1in\relax
  1252. \fi
  1253. \newcommand{\@setPdfBoxes}{%
  1254. \ifx\@processPdfBoxSpec\@empty\relax
  1255. \else
  1256. {%
  1257. \special{!userdict begin
  1258. /bop-hook {^^J
  1259. \@processPdfBoxSpec} def
  1260. end}}
  1261. \fi}
  1262. \let\@processPdfBoxSpec\@empty
  1263. \newcommand\@setPdfBox[2]{%
  1264. \xdef\@processPdfBoxSpec{%
  1265. \@processPdfBoxSpec
  1266. [ {ThisPage} << /#1 [#2] >> /PUT pdfmark} }
  1267. \ifx\f@rmat b
  1268. \@tempdima\z@\relax
  1269. \else
  1270. \@tempdima20mm\relax
  1271. \fi
  1272. \@tempdimb\dimexpr\@tempdima+\paperwidth\relax
  1273. \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\l@offset{\strip@pt\@tempdima}
  1274. \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\r@offset{\strip@pt\@tempdimb}
  1275. \ifx\f@rmat b
  1276. \@tempdima\z@
  1277. \@tempdimb\dimexpr\paperheight\relax
  1278. \else
  1279. \@tempdima\dimexpr842bp-20mm-\paperheight\relax
  1280. \@tempdimb\dimexpr\@tempdima+\paperheight\relax
  1281. \fi
  1282. \@tempdima\dimexpr\@tempdima*7200/7227\relax\edef\u@offset{\strip@pt\@tempdima}
  1283. \@tempdimb\dimexpr\@tempdimb*7200/7227\relax\edef\o@offset{\strip@pt\@tempdimb}
  1284. \@setPdfBox{TrimBox} {\l@offset\space\u@offset\space\r@offset\space\o@offset}
  1285. \@setPdfBoxes
  1286. \@onlypreamble\@setPdfBoxes
  1287. \else
  1288. \advance\voffset-1in
  1289. \advance\hoffset-1in
  1290. \fi
  1291. \else
  1292. \advance\voffset-1in
  1293. \advance\hoffset-1in
  1294. \fi
  1295. \ifx\m@de o
  1296. \else\ifx\m@de p\else
  1297. \RequirePackage[\ifx\m@de a a4\fi]{crop}
  1298. \let\CROP@horigin\z@
  1299. \let\CROP@vorigin\z@
  1300. \ifx\m@de a
  1301. \def\CROP@@info{{%
  1302. \global\advance\CROP@index\@ne
  1303. \def\x{\discretionary{}{}{\hbox{\kern.5em---\kern.5em}}}%
  1304. \advance\paperwidth-20\p@
  1305. \dimen@6pt
  1306. \ifx\CROP@pagecolor\@empty
  1307. \else
  1308. \advance\dimen@\CROP@overlap
  1309. \fi
  1310. \hb@xt@\z@{%
  1311. \hss
  1312. \vbox to\z@{%
  1313. \centering
  1314. \hsize\paperwidth
  1315. \vss
  1316. \normalfont
  1317. \normalsize
  1318. \expandafter\csname\CROP@font\endcsname{%
  1319. \@ifundefined{chapter}{\@runningauthor}{\@author}:\enskip
  1320. \@ifundefined{chapter}
  1321. {\ifx\@runningtitle\@undefined\@title\else\@runningtitle\fi}
  1322. {\@title}\x
  1323. \the\year/\the\month/\the\day\x
  1324. \CROP@time\x
  1325. page\kern.5em\thepage\strut
  1326. }%
  1327. \vskip\dimen@
  1328. }%
  1329. \hss}}}
  1330. \crop[cam]%
  1331. \else
  1332. \def\rl{%
  1333. \vrule\@width\marginparsep\@height0.2\p@\@depth0.02\p@
  1334. \llap{\smash{\vrule\@width0.33\marginparsep\@height6.6\p@\@depth-6.5\p@}}\\}
  1335. \def\rl@set{%
  1336. \rl\rl\rl\rl\rl\rl\rl\rl\rl\rl
  1337. \rl\rl\rl\rl\rl\rl\rl\rl\rl\rl
  1338. \rl\rl\rl\rl\rl\rl\rl\rl\rl\rl
  1339. \rl\rl\rl\rl\rl\rl\rl\rl\rl
  1340. \ifx\f@rmat s\else\rl\rl
  1341. \ifx\f@rmat b\rl\rl\rl\rl\rl\rl\rl\rl\rl\fi\fi}
  1342. \renewcommand*\CROP@@frame{%
  1343. \ifodd\count\z@\let\@themargin\oddsidemargin\else\let\@themargin\evensidemargin\fi
  1344. \moveright\@themargin
  1345. \vbox to\z@{\baselineskip\z@skip\lineskip\z@skip\lineskiplimit\z@
  1346. \vskip\topmargin\vbox to\z@{\vss\hrule width\textwidth}%
  1347. \vskip\headheight\vbox to\z@{\vss\hrule width\textwidth}%
  1348. \vskip\headsep\vbox to\z@{\vss\hrule width\textwidth}%
  1349. \hbox to\textwidth{%
  1350. \llap{\parbox[b]{\marginparsep}{\normalsize\vskip\topskip
  1351. \rl@set\null}}%
  1352. \llap{\vrule height\textheight}%
  1353. \if@twocolumn
  1354. \hskip\columnwidth\rlap{\vrule height\textheight}%
  1355. \hskip\columnsep\rlap{\vrule height\textheight}%
  1356. \fi
  1357. \hfil\vrule height\textheight}%
  1358. \vbox to\z@{\vss\hrule width\textwidth}%
  1359. \vskip\footskip\vbox to\z@{\vss\hrule width\textwidth}%
  1360. \vss}%
  1361. \vbox to\z@{\baselineskip\z@skip\lineskip\z@skip\lineskiplimit\z@
  1362. \rlap{%
  1363. \vbox to\z@{\vbox to\z@{\vss\hrule width\paperwidth}%
  1364. \hbox to \paperwidth{\llap{\vrule height\paperheight}\hfil
  1365. \vrule height\paperheight}%
  1366. \vbox to\z@{\vss\hrule width\paperwidth}%
  1367. \vss}}\vss}}
  1368. \crop[frame,noinfo]
  1369. \fi
  1370. \fi\fi
  1371. \RequirePackage[hyphens]{url}
  1372. \RequirePackage{MnSymbol}
  1373. \urlstyle{same}
  1374. \RequirePackage[%
  1375. breaklinks
  1376. ,linktocpage
  1377. \ifx\m@de w ,bookmarks=false\fi,bookmarksnumbered
  1378. ,pdfborder={0 0 0}\ifx\m@de w,colorlinks\fi
  1379. \ifx\m@de p, draft\fi]{hyperref}
  1380. \ifHy@draft\AtBeginDocument{\let\hyper@anchorstart\@gobble}\fi%fix hyperref-Bug
  1381. \let\toclevel@contribution\toclevel@chapter
  1382. \let\toclevel@author\toclevel@chapter
  1383. \ifnum\pdfoutput=\z@
  1384. \RequirePackage[\ifx\m@de p preserveurlmacro\fi,hyphenbreaks]{breakurl}
  1385. \bgroup
  1386. \catcode`\&=12\relax
  1387. \hyper@normalise\burl@addtocharlistafter{=}
  1388. \egroup
  1389. \burl@defifstructure
  1390. \ifx\m@de p\def\burlalt#1#2{\nolinkurl{#2}}\fi
  1391. \fi
  1392. \IfFileExists{doi.sty}
  1393. {\RequirePackage{doi}%
  1394. \renewcommand*{\doitext}{}}
  1395. {\def\doi##1{\href{http://dx.doi.org/##1}{##1}}}
  1396. \def\@afterbox{%
  1397. \everypar{%
  1398. \if@nobreak
  1399. \@nobreakfalse
  1400. \clubpenalty \@M
  1401. \if@afterindent \else
  1402. {\setbox\z@\lastbox}%
  1403. \fi
  1404. \else
  1405. \clubpenalty \@clubpenalty
  1406. {\setbox\z@\lastbox}%
  1407. \everypar{}%
  1408. \fi}}
  1409. \newenvironment{note}[1][]
  1410. {\par
  1411. \noindent\vrule\@width\hsize\@height1\p@\par\nobreak
  1412. \nointerlineskip
  1413. \noindent
  1414. \vrule\@width\z@\@height\baselineskip\@depth\z@
  1415. \if!#1!\else
  1416. \marginpar{\leavevmode\smash{\lower7\p@\hbox{\includegraphics[height=13pt,clip]{#1}}}}%
  1417. \fi
  1418. \sffamily\small
  1419. \ignorespaces}
  1420. {\ifhmode\par\fi\nobreak
  1421. \nointerlineskip
  1422. \vskip8.5\p@
  1423. \normalsize
  1424. \noindent\vrule\@width\hsize\@height1\p@\par
  1425. \nointerlineskip
  1426. \vskip\baselineskip
  1427. \aftergroup\@afterbox}
  1428. \RequirePackage[bottom]{footmisc}
  1429. \renewcommand\footnoterule{%
  1430. \kern-3\p@
  1431. \hrule\@width30\p@\@height3.5\p@\@depth-2\p@
  1432. \kern1.5\p@}
  1433. \renewcommand\@makefntext[1]{%
  1434. \noindent
  1435. \textbf{\@thefnmark}\enskip #1}
  1436. \RequirePackage[para*,ruled]{manyfoot}
  1437. \def\MFL@fnotepara#1#2#3{\let\@thefnmark\@empty
  1438. \NCC@makefnmark{#2}%
  1439. \MFL@insert#1{\reset@font\footnotesize
  1440. \ifx\@thefnmark\@empty \@tempswafalse \else
  1441. \@tempswatrue
  1442. \protected@edef\@currentlabel{\@thefnmark}%
  1443. \fi
  1444. \color@begingroup
  1445. \if@tempswa
  1446. \setbox\@tempboxa\hbox{\textbf{\@thefnmark}\enskip}%
  1447. \ifMFL@paraindent
  1448. \@tempdima.8em \advance\@tempdima-\wd\@tempboxa
  1449. \ifdim \@tempdima<\z@ \@tempdima\z@ \fi
  1450. \else
  1451. \@tempdima\z@
  1452. \fi
  1453. \fi
  1454. \setbox\@tempboxa\hbox{%
  1455. \if@tempswa
  1456. \hskip\@tempdima\unhbox\@tempboxa\nobreak
  1457. \fi
  1458. \ignorespaces#3\unskip\strut
  1459. \ifMFL@split \penalty\m@ne\space \else
  1460. \penalty-10 \hskip\footglue
  1461. \fi
  1462. }%
  1463. \dp\@tempboxa\z@ \ht\@tempboxa\MFL@fudgefactor\wd\@tempboxa
  1464. \box\@tempboxa
  1465. \color@endgroup}}
  1466. \DeclareNewFootnote[para]{A}
  1467. \skip\footinsA=\baselineskip
  1468. \def\recital#1{%
  1469. \leavevmode
  1470. \marginpar{%
  1471. \ifodd\c@page\raggedright\else\raggedleft\fi
  1472. \sffamily\bfseries\small#1}}
  1473. \let\old@author\author
  1474. \let\old@@author\@author
  1475. \RequirePackage[noblocks]{authblk}
  1476. \let\AB@runningauthors\@empty
  1477. \def\AB@protect{\noexpand\AB@protect\noexpand}
  1478. \renewcommand\author[2][]{%
  1479. \ifnewaffil
  1480. \addtocounter{affil}{1}%
  1481. \edef\AB@thenote{\arabic{affil}}%
  1482. \fi
  1483. \if\relax#1\relax
  1484. \def\AB@note{\AB@thenote}%
  1485. \else
  1486. \def\AB@note{#1}%
  1487. \setcounter{Maxaffil}{0}%
  1488. \fi
  1489. \expandafter\expandafter\expandafter\ifx\csname AB@affil\AB@note label\endcsname\relax
  1490. \ifx\corresp@author\@undefined
  1491. \@temptokena={}%
  1492. \else
  1493. \@temptokena={*\CorrAuth:\space}%
  1494. \fi
  1495. \else
  1496. \@temptokena=\expandafter\expandafter\expandafter
  1497. {\csname AB@affil\AB@note label\endcsname, }%
  1498. \fi
  1499. \expandafter\xdef\csname AB@affil\AB@note label\endcsname{\the\@temptokena#2}%
  1500. \ifnum\value{authors}>\@ne
  1501. \@namedef{@sep\number\c@authors}{\Authsep}%
  1502. \fi
  1503. \refstepcounter{authors}%
  1504. \begingroup
  1505. \let\protect\@unexpandable@protect
  1506. \let\and\AB@pand
  1507. \def\thanks{\protect\thanks}%
  1508. \def\footnote{\protect\footnote}%
  1509. \@temptokena=\expandafter{\AB@authors}%
  1510. {\def\\{\protect\\[\@affilsep]\protect\Affilfont\protect\AB@resetsep}%
  1511. \xdef\AB@author{\AB@blk@and#2}%
  1512. \ifnewaffil
  1513. \gdef\AB@las{}%
  1514. \gdef\AB@lasx{\protect\Authand}%
  1515. \gdef\AB@as{}%
  1516. \xdef\AB@authors{\the\@temptokena\AB@blk@and}%
  1517. \else
  1518. \xdef\AB@authors{\the\@temptokena\AB@as\AB@au@str}%
  1519. \global\let\AB@las\AB@lasx\gdef\AB@lasx{\protect\Authands}%
  1520. \gdef\AB@as{\Authsep}%
  1521. \fi
  1522. \gdef\AB@au@str{#2}}%
  1523. \@temptokena=\expandafter{\AB@authlist}%
  1524. \let\\=\authorcr
  1525. \xdef\AB@authlist{\the\@temptokena
  1526. \protect\@nameuse{@sep\number\c@authors}%
  1527. \protect\Authfont#2\ifx\corresp@author\relax*\fi}%
  1528. \@temptokena=\expandafter{\AB@runningauthors}%
  1529. \xdef\AB@runningauthors{\the\@temptokena
  1530. \AB@protect\@nameuse{@sep\number\c@authors}%
  1531. #2}%
  1532. \endgroup
  1533. \ifnum\value{authors}>\tw@
  1534. \@namedef{@sep\number\c@authors}{\Authands}%
  1535. \fi
  1536. \newaffilfalse}
  1537. \iflanguage{ngerman}{\def\Authand{ und }\def\Authands{ und }}{}
  1538. \iflanguage{ngerman}{\def\CorrAuth{Korrespondenzautor}}{\def\CorrAuth{Corresponding Author}}
  1539. \def\AB@affilnote#1{{\bfseries\csname AB@affil#1label\endcsname:}\space}
  1540. \let\Authfont\large
  1541. \let\Affilfont\small
  1542. \let\blkauth@r\author
  1543. \def\author{%
  1544. \@ifstar
  1545. {\let\corresp@author\relax\blkauth@r}
  1546. {\let\corresp@author\@undefined\blkauth@r}}%
  1547. \@ifclassloaded{article}
  1548. {}
  1549. {\let\contributionauthor\author
  1550. \let\@contributionauthor\@author
  1551. \let\author\old@author
  1552. \let\@author\old@@author}
  1553. \def\runningtitle#1{%
  1554. \gdef\@runningtitle{#1}%
  1555. % \ifx\f@rmat b
  1556. % \edef\@tempa{\ifx\@runningauthor\@undefined\else\@runningauthor,\space\fi}
  1557. % \markboth{\@tempa#1}{\@tempa#1}%
  1558. % \else
  1559. \markright{#1}%
  1560. %\fi
  1561. }
  1562. \def\runningauthor#1{%
  1563. \gdef\@runningauthor{#1}
  1564. \ifx\f@rmat b
  1565. % \edef\@tempa{\ifx\@runningtitle\@undefined\else,\space\@runningtitle\fi}
  1566. % \markboth{#1\@tempa}{#1\@tempa}%
  1567. % \else
  1568. \markleft{#1}%
  1569. % \fi
  1570. }
  1571. \@ifclassloaded{article}
  1572. {\def\journalname#1{\gdef\@journalname{#1}}
  1573. \def\journalyear#1{\gdef\@journalyear{#1}}
  1574. \gdef\@journalyear{\the\year}
  1575. \def\journalvolume#1{\gdef\@journalvolume{#1}}
  1576. \def\journalissue#1{\gdef\@journalissue{#1}}
  1577. \def\startpage#1{\setcounter{page}{#1}}
  1578. \def\aop{\global\let\@aop\relax}
  1579. \RequirePackage{lastpage}
  1580. \def\articletype#1{\gdef\@articletype{#1}}
  1581. \def\title#1{%
  1582. \gdef\@title{#1}%
  1583. \gdef\p@pertitle{#1}%
  1584. \ifx\@runningtitle\@undefined
  1585. % \ifx\f@rmat b
  1586. % \edef\@tempa{\ifx\@runningauthor\@undefined\else\@runningauthor,\space\fi}%
  1587. % \markboth{\@tempa#1}{\@tempa#1}%
  1588. % \protected@xdef\@runningtitle{#1}%
  1589. % \else
  1590. \markright{#1}%
  1591. % \fi
  1592. \fi}
  1593. \def\subtitle#1{\gdef\p@persubtitle{#1}}}
  1594. {\def\contributiontitle#1{%
  1595. \gdef\p@pertitle{#1}%
  1596. \ifx\@runningtitle\@undefined
  1597. \ifx\f@rmat b
  1598. \edef\@tempa{\ifx\@runningauthor\@undefined\else\@runningauthor,\space\fi}%
  1599. \markboth{\@tempa#1}{\@tempa#1}%
  1600. \protected@xdef\@runningtitle{#1}%
  1601. \else
  1602. \markright{#1}%
  1603. \fi
  1604. \fi}
  1605. \def\contributionsubtitle#1{\gdef\p@persubtitle{#1}}}
  1606. \def\abstract#1{\gdef\@abstract{#1}}
  1607. \def\keywords#1{\gdef\@keywords{#1}}
  1608. \newcommand\classification[2][]{%
  1609. \if!#1!\else\def\classificationName{#1}\fi
  1610. \gdef\@classification{#2}}
  1611. \def\received#1{\gdef\@received{#1}}
  1612. \def\revised#1{\gdef\@revised{#1}}
  1613. \def\accepted#1{\gdef\@accepted{#1}}
  1614. \def\communicated#1{\gdef\@communicated{#1}}
  1615. \@ifclassloaded{article}
  1616. {\def\dedication#1{\gdef\@dedication{#1}}}
  1617. {}
  1618. \@ifclassloaded{article}
  1619. {}
  1620. {\def\contribution{%
  1621. \if@openright\cleardoublepage\else\clearpage\fi
  1622. \global\@topnum\z@
  1623. \@afterindentfalse
  1624. \setcounter{section}{\z@}%
  1625. \setcounter{figure}{\z@}%
  1626. \setcounter{table}{\z@}%
  1627. \setcounter{footnote}{\z@}%
  1628. \let\thesection\theplainsection
  1629. \let\theequation\theplainequation
  1630. \let\thefigure\theplainfigure
  1631. \let\thetable\theplaintable
  1632. \let\AB@authlist\@empty
  1633. \let\AB@runningauthors\@empty
  1634. \let\@runningauthor\@undefined
  1635. \let\@runningtitle\@undefined}}
  1636. \def\markleft#1{%
  1637. \begingroup
  1638. \let\label\relax \let\index\relax \let\glossary\relax
  1639. \expandafter\@markleft\@themark {#1}%
  1640. \@temptokena \expandafter{\@themark}%
  1641. \mark{\the\@temptokena}%
  1642. \endgroup
  1643. \if@nobreak\ifvmode\nobreak\fi\fi}
  1644. \def\@markleft#1#2#3{\@temptokena {#2}%
  1645. \unrestored@protected@xdef\@themark{{#3}{\the\@temptokena}}}
  1646. \def\@makep@pertitle{%
  1647. \raggedright
  1648. \sffamily\strut
  1649. \ifx\@articletype\@undefined
  1650. \else
  1651. {\interlinepenalty\@M
  1652. \bfseries\large\@articletype}\par
  1653. \vskip11\p@
  1654. \fi
  1655. \AB@authlist\par
  1656. {\bfseries\LARGE\p@pertitle\par}%
  1657. \vskip13\p@
  1658. \ifx\p@persubtitle\@undefined
  1659. \else
  1660. \vskip-2\p@
  1661. {\large\p@persubtitle\par}%
  1662. \vskip19.5\p@%%\@plus4.5\p@
  1663. \global\let\p@persubtitle\@undefined
  1664. \fi}
  1665. \def\makep@pertitle{%
  1666. {\thispagestyle{plain}%
  1667. \def\AB@protect{\expandafter\@firstofone}%
  1668. \protected@edef\AB@runningauthors{\AB@runningauthors}%
  1669. \addtocontents{toc}{\protect\contentsline{author}{\AB@runningauthors}{\thepage}{\@currentHref}}%
  1670. \ifx\@runningauthor\@undefined
  1671. % \ifx\f@rmat b
  1672. % \edef\@tempa{\ifx\@runningtitle\@undefined\else,\space\@runningtitle\fi}
  1673. % \markboth{\AB@runningauthors\@tempa}{\AB@runningauthors\@tempa}%
  1674. % \protected@xdef\@runningauthor{\AB@runningauthors}%
  1675. % \else
  1676. \markleft{\AB@runningauthors}%
  1677. % \fi
  1678. \fi
  1679. \phantomsection
  1680. \addcontentsline{toc}{contribution}{\p@pertitle}%
  1681. \if@twocolumn
  1682. \@topnewpage[\@makep@pertitle]%
  1683. \else
  1684. \@makep@pertitle
  1685. \fi
  1686. \justifying\parindent\z@
  1687. \sffamily\normalsize
  1688. \ifx\@abstract\@undefined
  1689. \else
  1690. {\bfseries\abstractname:\space}\textrm{\@abstract}\par
  1691. \global\let\@abstract\@undefined
  1692. \fi
  1693. \ifx\@keywords\@undefined
  1694. \else
  1695. \vskip0.5\baselineskip
  1696. {\bfseries\keywordsname:\space}\textrm{\@keywords}\par
  1697. \global\let\@keywords\@undefined
  1698. \fi
  1699. \ifx\@classification\@undefined
  1700. \else
  1701. \vskip0.5\baselineskip
  1702. \ifx\classificationName\@undefined\let\classificationName\classificationname\fi
  1703. {\bfseries\classificationName:\space}\textrm{\@classification}\par
  1704. \global\let\@classification\@undefined
  1705. \fi
  1706. \ifx\@received\@undefined\else
  1707. \begingroup
  1708. \def\@tempa{%
  1709. \vskip\baselineskip
  1710. \vskip2\p@
  1711. \noindent\small\sffamily
  1712. \receivedname\space\@received
  1713. \global\let\@received\@undefined
  1714. \ifx\@revised\@undefined
  1715. \else
  1716. ;\space\revisedname\space\@revised
  1717. \global\let\@revised\@undefined
  1718. \fi
  1719. \ifx\@accepted\@undefined
  1720. \else
  1721. ;\space\acceptedname\space\@accepted
  1722. \global\let\@accepted\@undefined
  1723. \fi
  1724. .\par}%
  1725. \toks@\expandafter\expandafter\expandafter{\expandafter\@tempa\@enddocumenthook}%
  1726. \xdef\@enddocumenthook{\the\toks@}%
  1727. \endgroup
  1728. \fi
  1729. \vskip.5\baselineskip
  1730. \small
  1731. \leavevmode\lower4\p@\hbox{\dg@bartwo\dg@bartwo}\par
  1732. \RaggedRight\AB@affillist\par
  1733. \global\c@authors\z@\relax
  1734. \global\c@affil\z@\relax
  1735. \ifx\@communicated\@undefined\else
  1736. \vskip.5\baselineskip
  1737. {\bfseries\communicatedname:\space}\textrm{\@communicated}\par
  1738. \global\let\@communicated\@undefined
  1739. \fi
  1740. \ifx\@dedication\@undefined\else
  1741. \vskip.5\baselineskip
  1742. {\bfseries\iflanguage{ngerman}{Für}{Dedicated to}\space}\textrm{\@dedication}\par
  1743. \global\let\@dedication\@undefined
  1744. \fi}%
  1745. \normalsize
  1746. \vskip2\baselineskip}
  1747. \@ifclassloaded{article}
  1748. {\def\maketitle{%
  1749. \def\@pstring{%
  1750. \ifx\@journalname\@undefined\else
  1751. \@journalname
  1752. \space\@journalyear
  1753. \ifx\@aop\@undefined
  1754. \ifx\@journalvolume\@undefined\else
  1755. ;\space\@journalvolume
  1756. \ifx\@journalissue\@undefined\else
  1757. \space(\@journalissue) \fi
  1758. :\thepage\textendash\pageref{LastPage}
  1759.  
  1760. \fi
  1761. \else
  1762. ;\space aop%
  1763. \fi
  1764. \fi}
  1765. \makep@pertitle}}
  1766. {\let\makecontributiontitle\makep@pertitle}
  1767. \newenvironment{acknowledgement}
  1768. {\if@noskipsec\leavevmode\fi
  1769. \par
  1770. \@afterindenttrue
  1771. \if@nobreak
  1772. \everypar{}%
  1773. \else
  1774. \addpenalty\@secpenalty\addvspace\baselineskip
  1775. \fi
  1776. \@nobreakfalse
  1777. \global\@noskipsectrue
  1778. \everypar{%
  1779. \if@noskipsec
  1780. \global\@noskipsecfalse
  1781. {\setbox\z@\lastbox}%
  1782. \clubpenalty\@M
  1783. {\sffamily\bfseries\acknowledgementname:}%
  1784. \unskip\hskip0.5em\relax
  1785. \else
  1786. \clubpenalty \@clubpenalty
  1787. \everypar{}%
  1788. \fi}%
  1789. \ignorespaces}
  1790. {\par
  1791. \vskip\baselineskip
  1792. \aftergroup\@afterbox}
  1793. \newenvironment{thegraphicalabstractsection}
  1794. {\if@twocolumn
  1795. \onecolumn
  1796. \@tempswatrue
  1797. \else
  1798. \@tempswafalse
  1799. \fi
  1800. \thispagestyle{plain}%
  1801. \global\@topnum\z@
  1802. \@afterindentfalse
  1803. {\parindent\z@
  1804. \raggedright
  1805. \leavevmode\vrule\@width\z@\@height\dimexpr\topskip+0.5\baselineskip\relax\@depth\z@
  1806. \sffamily\bfseries\LARGE
  1807. \interlinepenalty\@M
  1808. \graphicalabstractname\par\nobreak
  1809. \vskip13\p@}%
  1810. \raggedright
  1811. \raggedcolumns
  1812. \multicolsep\z@
  1813. \@afterheading}
  1814. {\par
  1815. \if@tempswa\twocolumn\else\break\fi}
  1816. \newcommand\graphicalabstract[5]{%
  1817. \begin{multicols}{3}[\vrule\@width\hsize\@height1.5pt\\\vskip13\p@]%
  1818. \sffamily
  1819. #1\par
  1820. {\bfseries#2}\par
  1821. \vskip\baselineskip
  1822. #3\par
  1823. \columnbreak
  1824. \RaggedRight
  1825. {\bfseries Abstract:}\space{\rmfamily#4}\par
  1826. \columnbreak
  1827. \includegraphics[width=\hsize,trim=0 0 0 2]{#5}\par
  1828. \end{multicols}}
  1829. \newenvironment{contributors}[1][]
  1830. {\clearpage
  1831. \thispagestyle{plain}%
  1832. \global\@topnum\z@
  1833. \@afterindentfalse
  1834. {\parindent\z@
  1835. \raggedright
  1836. \leavevmode\vrule\@width\z@\@height\dimexpr\topskip+0.5\baselineskip\relax\@depth\z@
  1837. \sffamily\bfseries\LARGE
  1838. \interlinepenalty\@M
  1839. \if"#1"\listauthorname\else#1\fi\par\nobreak
  1840. \vskip 13\p@}%
  1841. \@afterheading}
  1842. {\clearpage}
  1843. \newcommand\contributor[5]{%
  1844. \goodbreak
  1845. {\sffamily\small
  1846. \raggedright
  1847. \leftskip30mm
  1848. \leavevmode
  1849. \ifx\f@rmat b\vrule\@width\z@\@depth29.8mm\fi
  1850. \llap{\smash{\lower29.8mm\hb@xt@26mm{%
  1851. \includegraphics[width=26mm,height=32mm]{#4}\hss}\kern4mm}}%
  1852. \parbox[t]{\dimexpr\hsize-30mm}{%
  1853. \bfseries#1\par
  1854. \mdseries#2\par
  1855. \bfseries#3}%
  1856. \par\vskip\baselineskip
  1857. \RaggedRight
  1858. \ifx\f@rmat s\leftskip30mm\fi
  1859. #5\par}%
  1860. \vskip2\baselineskip}
  1861. \newcommand\reviewhead[3]{%
  1862. \goodbreak
  1863. \vskip\baselineskip
  1864. \def\@reviewauthor{#1}%
  1865. \def\@reviewtitle{#2}%
  1866. \def\@reviewdescription{#3}%
  1867. {\parindent\z@
  1868. \leavevmode\dg@bartwo\dg@bartwo\par
  1869. \sffamily\normalsize
  1870. {\bfseries#1:}\space
  1871. {\itshape#2.}\space
  1872. #3\par}
  1873. \vskip\baselineskip
  1874. \@afterbox}
  1875. \newcommand\reviewfoot[2]{%
  1876. \vskip\baselineskip
  1877. \addtocontents{article}%
  1878. {\textbf{\@reviewauthor.}\space
  1879. \textit{\@reviewtitle:}\space
  1880. \@reviewdescription\space\textit{(#1)}}%
  1881. {\parindent\z@
  1882. \raggedright\sffamily
  1883. \leavevmode\dg@bartwo\dg@bartwo\newline
  1884. \small
  1885. {\bfseries#1:}\space
  1886. #2\par}%
  1887. \vskip\baselineskip
  1888. \@afterbox}
  1889. \@ifclassloaded{article}
  1890. {}
  1891. {\def\dedication#1{%
  1892. \if@openright
  1893. \cleardoublepage
  1894. \else
  1895. \clearpage
  1896. \fi
  1897. \dg@barpage{}{{\normalsize#1}}}}
  1898. \newenvironment{seriespromotion}[1][]
  1899. {\if@twocolumn
  1900. \onecolumn
  1901. \@tempswatrue
  1902. \else
  1903. \@tempswafalse
  1904. \fi
  1905. \cleardoublepage
  1906. \thispagestyle{empty}%
  1907. \null\par\vfill
  1908. \raggedright
  1909. \sffamily
  1910. \leavevmode\vrule\@width\z@\@height\dimexpr\topskip+0.5\baselineskip\relax\@depth\z@
  1911. {\fontsize{14}{17}\selectfont\if!#1!\@seriestitle\else#1\fi\par}%
  1912. \vskip1.5\baselineskip}
  1913. {\par
  1914. \vskip2\baselineskip
  1915. \href{www.degruyter.com}{www.degruyter.com}\par
  1916. \if@tempswa\twocolumn\else\break\fi
  1917. \thispagestyle{empty}%
  1918. \null}
  1919. \def\otherpubl#1#2#3#4{%
  1920. \vskip1\baselineskip
  1921. \textbf{#1}\\
  1922. #2\\
  1923. #3\\
  1924. #4\par}
  1925. \endinput
  1926. %%
  1927. %% End of file `dgruyter.sty'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement