summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-05 22:13:06 +0000
committerKarl Berry <karl@freefriends.org>2020-11-05 22:13:06 +0000
commitc816799bdba3bdb0a17a7a75ba7ff7aaf54f2a7f (patch)
tree7bb96cb8409f4697494b3ae396f9b2a68d322015 /Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls
parent360f611e64d076c5b915eaf8e769665a482c0d08 (diff)
quantumarticle (5nov20)
git-svn-id: svn://tug.org/texlive/trunk@56862 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls')
-rw-r--r--Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls16
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls b/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls
index 48d50bd4231..355be71dbb7 100644
--- a/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls
+++ b/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls
@@ -3,7 +3,7 @@
%% it provides the quantumarticle class for typesetting articles in
%% Quantum - the open journal for quantum science
%%
-%% Copyright 2016,2017,2018
+%% Copyright 2016,2017,2018,2019,2020
%% Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften
%% (https://quantum-journal.org/about/)
%%
@@ -19,9 +19,9 @@
%% version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\def\quantumarticleversion{5.0}
+\def\quantumarticleversion{5.1}
\ProvidesClass{quantumarticle}
-[2018/07/11 v\quantumarticleversion
+[2020/10/27 v\quantumarticleversion
class for Quantum - the open journal for quantum science (https://quantum-journal.org)]
\RequirePackage{xkeyval}
\RequirePackage{etoolbox}
@@ -353,6 +353,9 @@ class for Quantum - the open journal for quantum science (https://quantum-journa
\let\col@number\@colnum
\ltx@ifpackageloaded{ltxgrid}{
+ \@ifpackagelater{ltxgrid}{2020/10/03}
+ {}% on 2020/10/03 ltxgrid 4.2e (or 4.2d?) was released, which not only fixes the bug we try to work around here but also the fix below causes an error from this version on.
+ {
%repair what ltxutils has destroyed (see https://tex.stackexchange.com/questions/343856/biblatex-produces-incomplete-bcf-with-biber-backend)
\patchcmd\enddocument
{\deadcycles}
@@ -366,6 +369,7 @@ class for Quantum - the open journal for quantum science (https://quantum-journa
\let\AfterEndDocument\@firstofone
\@afterenddocumenthook
\etb@@end}}}
+ }
}{}
\setcounter{topnumber}{2}
@@ -480,7 +484,9 @@ class for Quantum - the open journal for quantum science (https://quantum-journa
\noindent{\huge\hyphenpenalty=5000 \@printtitle\par}%
\end{minipage}%
\vskip 1.5em%
- \noindent\@printauthors
+ \iftoggle{@titlepage}{}{\begin{flushleft}}%
+ \noindent \@printauthors
+ \iftoggle{@titlepage}{}{\end{flushleft}}%
\vskip 1em%
\noindent\@printaffiliations
\vskip 0em%
@@ -1101,7 +1107,7 @@ class for Quantum - the open journal for quantum science (https://quantum-journa
\def\@@spaceafter#1{#1 }
\def\@@@comma{\def\@@@comma{,}}
\def\@@commaspacebefore#1{\@@@comma{}#1}
-\def\@printauthor#1#2{\def\footnote{\ClassError{quantumarticle}{You must not put a \string\footnote{} command inside the argument of \string\author}{}}\ifcsdef{author#1orcid}{\href{https://orcid.org/\csname author#1orcid\endcsname}{\color{black}#2}}{#2}\ifnumcomp{\the@affiliationcounter}{>}{1}{\textsuperscript{\forlistcsloop{\@@commaspacebefore}{author#1affiliations}\unskip}}{}\ifnumcomp{#1}{<}{\the@authorcounter-1}{, }{\ifnumcomp{#1}{=}{\the@authorcounter-1}{\ifnumcomp{#1}{=}{1}{ and }{, and }}{}}}
+\def\@printauthor#1#2{\def\footnote{\ClassError{quantumarticle}{You must not put a \string\footnote{} command inside the argument of \string\author}{}}\mbox{\ifcsdef{author#1orcid}{\href{https://orcid.org/\csname author#1orcid\endcsname}{\color{black}#2}}{#2}}\ifnumcomp{\the@affiliationcounter}{>}{1}{\textsuperscript{\forlistcsloop{\@@commaspacebefore}{author#1affiliations}\unskip}}{}\ifnumcomp{#1}{<}{\the@authorcounter-1}{, }{\ifnumcomp{#1}{=}{\the@authorcounter-1}{\ifnumcomp{#1}{=}{1}{ and }{, and }}{}}}
\def\@printauthors{%
\newcounter{@authornum}%
\large\forlistloop{\stepcounter{@authornum}%