diff --git a/manuscript/livecoms.cls b/manuscript/livecoms.cls index 24f9c3b..9984710 100644 --- a/manuscript/livecoms.cls +++ b/manuscript/livecoms.cls @@ -49,6 +49,9 @@ \newif\if@pubversion \DeclareOption{pubversion}{\@pubversiontrue} +\newif\if@ASAPversion +\DeclareOption{ASAPversion}{\@ASAPversiontrue} + %% Linespacing. \newif\if@onehalfspacing \newif\if@doublespacing @@ -247,6 +250,9 @@ \newcommand{\pubvolume}[1]{% \appto{\@publishedvolume}{#1}{}{} } +\newcommand{\pubissue}[1]{% + \appto{\@publishedissue}{#1}{}{} +} \newcommand{\pubyear}[1]{% \appto{\@publishedyear}{#1}{}{} } @@ -260,24 +266,42 @@ \appto{\@publisheddateaccepted}{#1}{}{} } +%-------------------------------------------------------- % Footers +% 1. Error Check for conflicting class options \if@pubversion -\lfoot{\ifthenelse{\value{page}=1} - {\small\color{LiveCoMSMediumGrey}Received: \@publisheddatereceived \\ Accepted: \@publisheddateaccepted} - {~\\~} -}% -%\lfoot{\small\color{LiveCoMSMediumGrey}Received: \@publisheddatereceived \\ -% Accepted: \@publisheddateaccepted}% -\cfoot{\small\color{white} \vspace{\baselineskip} \small\color{LiveCoMSMediumGrey} \thepage\space of\space\pageref{LastPage}}% -\rfoot{\small\color{LiveCoMSMediumGrey}\href{https://doi.org/\@publishedDOI}{https://doi.org/\@publishedDOI}\\ - {\it Living J. Comp. Mol. Sci.} \@publishedyear, \@publishedvolume, \@publishedarticlenum }% -\else -\cfoot{\small\color{white} \vspace{\baselineskip} \small\color{LiveCoMSMediumGrey} \thepage\space of\space\pageref{LastPage}}% -%\rfoot{\small\color{LiveCoMSMediumGrey}Page \thepage\space of\space\pageref{LastPage}}% + \if@ASAPversion + \ClassError{livecoms} + {Nope nope nope, you cannot invoke 'pubversion' and 'ASAPversion' simultaneously. Please correct the class options.} + \fi +\fi +% 2. Publication Version: put submission/acceptance dates in left footer and citation information in right footer +%%% DWS NOTE: would be nice if the left footer was in an if A-or-B type logical statement +\if@pubversion + \lfoot{\ifthenelse{\value{page}=1} + {\small\color{LiveCoMSMediumGrey}Received: \@publisheddatereceived \\ Accepted: \@publisheddateaccepted} + {~\\~} + }% + \rfoot{\small\color{LiveCoMSMediumGrey}\href{https://doi.org/\@publishedDOI}{https://doi.org/\@publishedDOI}\\ + {\it Living J. Comp. Mol. Sci.} \@publishedyear, \@publishedvolume\nobreak\hspace{.05em}(\@publishedissue), \@publishedarticlenum + }% +\fi +% 3. ASAP Version: put submission/acceptance dates in left footer and "ASAP Version" in right footer +\if@ASAPversion + \lfoot{\ifthenelse{\value{page}=1} + {\small\color{LiveCoMSMediumGrey}Received: \@publisheddatereceived \\ Accepted: \@publisheddateaccepted} + {~\\~} + }% + \rfoot{\small\color{LiveCoMSMediumGrey}\href{https://doi.org/\@publishedDOI}{https://doi.org/\@publishedDOI}\\ + {\it Living J. Comp. Mol. Sci.} ASAP Version + }% \fi +% 4. Page Number in center of footer +\cfoot{\small\color{white} \vspace{\baselineskip} \small\color{LiveCoMSMediumGrey} \thepage\space of\space\pageref{LastPage}}% \preto{\footrule}{\color{LiveCoMSMediumGrey}} \renewcommand{\headrulewidth}{0pt}% % No header rule \renewcommand{\footrulewidth}{0.4pt}% % No footer rule +%---------------------------------------------------------- % % section/subsection/paragraph set-up @@ -319,6 +343,7 @@ \def\@deceased{} % Added blurb for LiveComs \def\@blurb{} +\def\@orcidblock{} \newcommand{\corr}[2]{% @@ -349,6 +374,16 @@ % Added for LiveComs \newcommand{\blurb}[1]{\def\@blurb{#1}} +\newcommand{\orcid}[2]{% + \ifx\empty\@orcidblock\else\appto{\@orcidblock}{\\}{}{}\fi + \appto{\@orcidblock}{% + #1:\space% + \ifx\empty#2\else\href{https://orcid.org/#2}{#2} \fi + }{}{}% +} + + + \reversemarginpar % @@ -380,7 +415,7 @@ %% Abstract outside frontmatter will throw an error! \RenewEnviron{abstract}{% - \ClassError{livecome} + \ClassError{livecoms} {Nope nope nope, please put the abstract inside the frontmatter environment.} {Please put the abstract inside the frontmatter environment.} } @@ -422,6 +457,12 @@ \vskip8pt } +\newcommand{\makeorcid}{% + % \textbf{*For correspondence:\\} \@correspondence\par + % \textbf{ORCID:\\} \@correspondence\par + \textbf{ORCID:\\} \@orcidblock\par +} + %% Insert a grey line to separate floats from main text \newcommand{\topfigrule}{\vskip8pt\noindent{\rule{\linewidth}{1pt}}} \newcommand{\botfigrule}{\noindent{\rule{\linewidth}{1pt}}\vskip8pt} diff --git a/manuscript/manuscript.tex b/manuscript/manuscript.tex index 91fb26d..0b118c8 100644 --- a/manuscript/manuscript.tex +++ b/manuscript/manuscript.tex @@ -46,6 +46,13 @@ \corr{christoph.wehmeyer@fu-berlin.de}{CW} \corr{frank.noe@fu-berlin.de}{FN} +\orcid{Christoph Wehmeyer}{0000-0002-9526-0328} +\orcid{Martin K. Scherer}{0000-0002-7983-4387} +\orcid{Tim Hempel}{0000-0002-0073-9353} +\orcid{Brooke E. Husic}{0000-0002-8020-3750} +\orcid{Simon Olsson}{0000-0002-3927-7897} +\orcid{Frank NoƩ}{0000-0003-4169-9324} + \contrib[\authfn{1}]{These authors contributed equally to this work} \blurb{This LiveCoMS document is maintained online on GitHub at \githubrepository; to provide feedback, suggestions, or help improve it, please visit the GitHub repository and participate via the issue tracker.} @@ -57,8 +64,9 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \pubDOI{10.33011/livecoms.1.1.5965} \pubvolume{1} -\pubyear{2018} -\articlenum{1} +\pubissue{1} +\pubyear{2019} +\articlenum{5965} \datereceived{27 July 2018} \dateaccepted{27 November 2018} @@ -686,6 +694,9 @@ \section{Funding Information} FN and MKS acknowledge funding from Deutsche Forschungsgemeinschaft (SFB 1114, Projects A04 and C03, NO 825/2-2). FN and BEH acknowledge funding from European Commission (ERC CoG 772230 "ScaleCell"). +\section*{Author Information} +\makeorcid + \bibliography{literature} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/releases/LiveCoMS_Article_V1.0.pdf b/releases/LiveCoMS_Article_ASAP_V1.pdf similarity index 100% rename from releases/LiveCoMS_Article_V1.0.pdf rename to releases/LiveCoMS_Article_ASAP_V1.pdf diff --git a/releases/LiveCoMS_Article_V1.pdf b/releases/LiveCoMS_Article_V1.pdf new file mode 100644 index 0000000..2f21a73 Binary files /dev/null and b/releases/LiveCoMS_Article_V1.pdf differ