update template

This commit is contained in:
2025-01-08 10:18:39 +08:00
parent 425607160d
commit 7305aca59a
7 changed files with 251 additions and 161 deletions
+3 -3
View File
@@ -284,7 +284,7 @@ $endif$
\def\hascorr{0}
\def\haseqc{0}
% check if corresponding author(s) and equal contributing authors are available
$for(author)$$if(author.correspondence)$\def\hascorr{1}$endif$$if(author.equalcontribution)$\def\haseqc{1}$endif$ $endfor$
$for(author)$$if(author.correspondence)$\def\hascorr{1}$endif$$if(author.equal-contributor)$\def\haseqc{1}$endif$ $endfor$
\newcommand{\getcorrauthinfo}{
\subsection{Corresponding Author(s)}
@@ -361,7 +361,7 @@ $endfor$
\begin{frontmatter}
\title{$title$$if(subtitle)$\\\Large{$subtitle$}$endif$}
$for(author)$\author$if(authorwithinstitute)$[$for(author.institute)$$author.institute$$sep$,$endfor$]$endif${$author.name$$if(author.correspondence)$\corref{corrauth}$endif$$if(author.equalcontribution)$\corref{eqcon}$endif$ $if(author.footnote)$\fnref{$author.footnote$}$endif$}$if(author.email)$\ead{$author.email$}$endif$$endfor$
$for(author)$\author$if(authorwithinstitute)$[$for(author.institute)$$author.institute$$sep$,$endfor$]$endif${$author.name$$if(author.correspondence)$\corref{corrauth}$endif$$if(author.equal-contributor)$\corref{eqcon}$endif$ $if(author.footnote)$\fnref{$author.footnote$}$endif$}$if(author.email)$\ead{$author.email$}$endif$$endfor$
$if(authorwithinstitute)$ $for(institute)$ \address[$institute.id$]{$institute.name$} $endfor$ $endif$
% generate corresponding authors.
% \StrBehind is from xstring package
@@ -373,7 +373,7 @@ $endfor$
% generate equal contributing authors.
\ifnum \haseqc=1
\def\eqa{$for(author)$$if(author.equalcontribution)$and $author.name$ $endif$$endfor$}
\def\eqa{$for(author)$$if(author.equal-contributor)$and $author.name$ $endif$$endfor$}
\cortext[eqcon]{\StrBehind*{\eqa}{and } are equally contributed to this work.}
\fi