diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/beilstein')
-rw-r--r-- | Master/texmf-dist/tex/latex/beilstein/beilstein.cls | 188 |
1 files changed, 132 insertions, 56 deletions
diff --git a/Master/texmf-dist/tex/latex/beilstein/beilstein.cls b/Master/texmf-dist/tex/latex/beilstein/beilstein.cls index 455805f21ea..0ccf3ac1116 100644 --- a/Master/texmf-dist/tex/latex/beilstein/beilstein.cls +++ b/Master/texmf-dist/tex/latex/beilstein/beilstein.cls @@ -9,7 +9,7 @@ %% beilstein -- Support for submissions to the ``Beilstein Journal %% of Nanotechnology'' published by the Beilstein-Institut %% for the Advancement of Chemical Sciences -%% Version: 1.3 +%% Version: 1.4 %% E-mail: journals-support@beilstein-institut.de %% License: Released under the LaTeX Project Public License v1.3c or later %% See http://www.latex-project.org/lppl.txt @@ -17,7 +17,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{beilstein} -[2017/11/09 v1.3 Template for submissions to the ``Beilstein Journal % +[2018/01/29 v1.4 Template for submissions to the ``Beilstein Journal % of Nanotechnology'' (BJNANO)] \RequirePackage{xkeyval} \RequirePackage{ifthen} @@ -44,10 +44,10 @@ \newcommand*\beilstein@manuscript@commentary{commentary} \newcommand*\beilstein@manuscript@bookreport{bookreport} \newcommand*\beilstein@manuscript@review{review} -\newcommand*\beilstein@manuscript@letter{% -letter} +\newcommand*\beilstein@manuscript@letter{letter} +\newcommand*\beilstein@manuscript@suppinfo{suppinfo} \newcommand*\beilstein@type@list{fullresearchpaper,commentary,% -bookreport,review,letter} +bookreport,review,letter,suppinfo} \newcommand*\beilstein@type@default{fullresearchpaper} \newcommand*\beilstein@type@check{% \@tempswafalse @@ -85,7 +85,10 @@ bookreport,review,letter} ignoreheadfoot]{geometry} \usepackage[doublespacing]{setspace} \pagestyle{plain} -\RequirePackage[document,newcommands]{ragged2e} +\beilstein@type@check% +\ifthenelse{\equal{\beilstein@manuscript}{\beilstein@manuscript@suppinfo}}% + {\RequirePackage[newcommands]{ragged2e}}% + {\RequirePackage[document,newcommands]{ragged2e}}% \setlength{\parindent}{0pt} \newcommand{\setdisplaywidth}{% \ifthenelse{\boolean{widetext}}% @@ -101,7 +104,9 @@ bookreport,review,letter} {\setboolean{widetext}{true}}% {\setboolean{widetext}{false}} \RequirePackage[mathlines]{lineno} -\linenumbers +\ifthenelse{\equal{\beilstein@manuscript}{\beilstein@manuscript@suppinfo}}% + {\nolinenumbers}% + {\linenumbers}% \newcommand*\patchAmsMathEnvironmentForLineno[1]{% \expandafter\let\csname old#1\expandafter\endcsname\csname #1\endcsname \expandafter\let\csname oldend#1\expandafter\endcsname\csname end#1\endcsname @@ -112,12 +117,12 @@ bookreport,review,letter} \patchAmsMathEnvironmentForLineno{#1}% \patchAmsMathEnvironmentForLineno{#1*}}% \AtBeginDocument{% -\patchBothAmsMathEnvironmentsForLineno{equation}% -\patchBothAmsMathEnvironmentsForLineno{align}% -\patchBothAmsMathEnvironmentsForLineno{flalign}% -\patchBothAmsMathEnvironmentsForLineno{alignat}% -\patchBothAmsMathEnvironmentsForLineno{gather}% -\patchBothAmsMathEnvironmentsForLineno{multline}% + \patchBothAmsMathEnvironmentsForLineno{equation}% + \patchBothAmsMathEnvironmentsForLineno{align}% + \patchBothAmsMathEnvironmentsForLineno{flalign}% + \patchBothAmsMathEnvironmentsForLineno{alignat}% + \patchBothAmsMathEnvironmentsForLineno{gather}% + \patchBothAmsMathEnvironmentsForLineno{multline}% }% \ifbeilstein@sectionnumbering% \setcounter{secnumdepth}{3} @@ -424,7 +429,7 @@ bookreport,review,letter} \Crefformat{scheme}{Scheme~#2#1#3} \crefname{suppinfo}{Supporting Information File}{Supporting Information Files} - \crefformat{suppinfo}{Supporting Information File~#2#1#3} + \crefformat{suppinfo}{Supporting Information File~#2#1#3} \Crefformat{suppinfo}{Supporting Information File~#2#1#3} }{\newcommand{\cref}[1]% {\ClassError{beilstein}{Macro \string\cref\space has not been @@ -728,48 +733,111 @@ bookreport,review,letter} }% }% }% -\long\def\maketitle{% - {\Large\bfseries\@title}\par\vskip2ex - \normalsize - \authors% - \ifthenelse{\value{c@totauthor}>1}% - {\unskip\space and\space\temp@author\temp@superscripts}% - {\ifthenelse{\boolean{corauth}}% - {\temp@author}% - {\temp@author\textsuperscript{$\ast$}}}% - \par\vskip2ex% - \ifthenelse{\boolean{corauth}}{}% - {\ifthenelse{\value{c@totauthor}>1}% - {\ClassError{beilstein}{At least one corresponding author has to be given.\MessageBreak Please use \string\author*\space for that}% - {Please use at least one \string\author* command to set information % - about the corresponding author.\MessageBreak Have a look at the % - documentation for more details}}% - {\ifthenelse{\equal{\emails}{}}% - {\ClassError{beilstein}{The author has been made corresponding author.\MessageBreak Therefore please provide an email address for the author}% - {Use the second optional argument for that or use \string\author* instead}}{}}} - \ifthenelse{\value{c@totaffiliation}>1}% - {\affiliations\unskip\space and\space\temp@affil}% - {\affiliations\temp@affil}% - \par\vskip3ex - \normalsize Email:\space\emails\par\vskip2ex - \textsuperscript{$\ast$}\space{\small Corresponding author}% - \par\vskip3ex -}% -\beilstein@type@check -\ifthenelse{\not\equal{\beilstein@manuscript}{\beilstein@manuscript@bookreport}}% -{\renewenvironment{abstract}{\textbf{\large\abstractname}\\[2ex]}{\\[2ex]}% -\newcommand*{\background}{\textbf{Background:\ }} -\newcommand*{\results}{\\\textbf{Results:\ }} -\newcommand*{\conclusion}{\\\textbf{Conclusion:\ }}}% -{\renewenvironment{abstract}{\ClassWarning{beilstein}{An abstract % -should not be part of the chosen document type \beilstein@manuscript}}{}% -\newcommand*{\background}{\relax}% -\newcommand*{\results}{\relax}% -\newcommand*{\conclusion}{\relax}}% +\ifthenelse{\equal{\beilstein@manuscript}{\beilstein@manuscript@suppinfo}}% + {\long\def\maketitle{% + \thispagestyle{empty} + \begin{center} + \Large\bfseries + {Supporting Information}\\ + \textmd{for}\\ + \@title\par\vspace{\baselineskip}% + \end{center} + \normalsize + \authors% + \ifthenelse{\value{c@totauthor}>1}% + {\unskip\space and\space\temp@author\temp@superscripts}% + {\ifthenelse{\boolean{corauth}}% + {\temp@author}% + {\temp@author\textsuperscript{$\ast$}}% + }% + \par\vskip2ex% + \ifthenelse{\boolean{corauth}}% + {}% + {\ifthenelse{\value{c@totauthor}>1}% + {\ClassError{beilstein}{At least one corresponding author has to be given.\MessageBreak Please use \string\author*\space for that}% + {Please use at least one \string\author* command to set information % + about the corresponding author.\MessageBreak Have a look at the % + documentation for more details}% + }% + {\ifthenelse{\equal{\emails}{}}% + {\ClassError{beilstein}{The author has been made corresponding author.\MessageBreak Therefore please provide an email address for the author}% + {Use the second optional argument for that or use \string\author* instead}}{}% + }% + }% + \ifthenelse{\value{c@totaffiliation}>1}% + {\affiliations\unskip\space and\space\temp@affil}% + {\affiliations\temp@affil}% + \par\vskip3ex + \normalsize Email:\space\emails\par\vskip2ex + \textsuperscript{$\ast$}\space{\small Corresponding author}% + \par\vfill% + \begin{center} + \Large\bfseries\@suppinfotitle% + \end{center} + \clearpage% + }% + }% + {% + \long\def\maketitle{% + {\Large\bfseries\@title}\par\vskip2ex + \normalsize + \authors% + \ifthenelse{\value{c@totauthor}>1}% + {\unskip\space and\space\temp@author\temp@superscripts}% + {\ifthenelse{\boolean{corauth}}% + {\temp@author}% + {\temp@author\textsuperscript{$\ast$}}% + }% + \par\vskip2ex% + \ifthenelse{\boolean{corauth}}{}% + {\ifthenelse{\value{c@totauthor}>1}% + {\ClassError{beilstein}{At least one corresponding author has to be given.\MessageBreak Please use \string\author*\space for that}% + {Please use at least one \string\author* command to set information % + about the corresponding author.\MessageBreak Have a look at the % + documentation for more details}% + }% + {\ifthenelse{\equal{\emails}{}}% + {\ClassError{beilstein}{The author has been made corresponding author.\MessageBreak Therefore please provide an email address for the author}% + {Use the second optional argument for that or use \string\author* instead}}{}% + }% + }% + \ifthenelse{\value{c@totaffiliation}>1}% + {\affiliations\unskip\space and\space\temp@affil}% + {\affiliations\temp@affil}% + \par\vskip3ex + \normalsize Email:\space\emails\par\vskip2ex + \textsuperscript{$\ast$}\space{\small Corresponding author}% + \par\vskip3ex + }% + }% +\newcommand{\@suppinfotitle}{}% +\newcommand{\sititle}[1]{\renewcommand{\@suppinfotitle}{#1}}% +\let\@RIGtitle\title +\newcommand{\@@title}[2][]{\sititle{#1}\@RIGtitle{#2}}% +\long\def\title{\@ifnextchar[{\@@title}{\@RIGtitle}}% +%%%\beilstein@type@check +\ifthenelse{\not\equal{\beilstein@manuscript}{\beilstein@manuscript@bookreport}% + \and\not\equal{\beilstein@manuscript}{\beilstein@manuscript@suppinfo}}% + {% + \renewenvironment{abstract}{\textbf{\large\abstractname}\\[2ex]}{\\[2ex]}% + \newcommand*{\background}{\textbf{Background:\ }} + \newcommand*{\results}{\\\textbf{Results:\ }} + \newcommand*{\conclusion}{\\\textbf{Conclusion:\ }}% + }% + {% + \renewenvironment{abstract}{\ClassWarning{beilstein}{An abstract % + should not be part of the chosen document type \beilstein@manuscript}}{}% + \newcommand*{\background}{\relax}% + \newcommand*{\results}{\relax}% + \newcommand*{\conclusion}{\relax}% + }% \ifthenelse{\not\equal{\beilstein@manuscript}{\beilstein@manuscript@commentary}% -\and\not\equal{\beilstein@manuscript}{\beilstein@manuscript@bookreport}}% -{\newcommand{\keywords}[1]{\textbf{\large Keywords}\\*#1}}% -{\newcommand{\keywords}[1]{\ClassWarning{beilstein}{Keywords should not be part of the chosen document type \beilstein@manuscript}}} +\and\not\equal{\beilstein@manuscript}{\beilstein@manuscript@bookreport}% +\and\not\equal{\beilstein@manuscript}{\beilstein@manuscript@suppinfo}}% + {\newcommand{\keywords}[1]{\textbf{\large Keywords}\\*#1}}% + {\newcommand{\keywords}[1]{% + \ClassWarning{beilstein}{Keywords should not be part of the + chosen document type \beilstein@manuscript}}} \newenvironment{acknowledgements}{\par\textbf{\large Acknowledgements\\*}}{} \newenvironment{suppinfo}% {\FloatBarrier% @@ -848,6 +916,14 @@ allowed throughout the document}% \renewcommand{\figure}{\par\ORIGfigure\par} \renewcommand{\scheme}{\par\ORIGscheme\par} \renewcommand{\table}{\par\ORIGtable\par} +\ifthenelse{\equal{\beilstein@manuscript}{\beilstein@manuscript@suppinfo}}% + {% + \renewcommand{\thepage}{S\arabic{page}}% + \renewcommand{\thefigure}{S\arabic{figure}}% + \renewcommand{\thetable}{S\arabic{table}}% + \renewcommand{\thescheme}{S\arabic{scheme}}% + \renewcommand{\theequation}{S\arabic{equation}}% + }{}% \reversemarginpar \tolerance 1414 \hbadness 1414 @@ -858,7 +934,7 @@ allowed throughout the document}% \vfuzz \hfuzz %% %% Originally developed by Martin Sievers (info@schoenerpublizieren.de) -%% Copyright (C) 2009-2017 by Beilstein-Institut for the Advancement of Chemical Sciences (Beilstein) +%% Copyright (C) 2009-2018 by Beilstein-Institut for the Advancement of Chemical Sciences (Beilstein) %% %% Part of this bundle is derived from cite.sty, to which the %% following license applies: |