texlive[56862] Master/texmf-dist: quantumarticle (5nov20)

commits+karl at tug.org commits+karl at tug.org
Thu Nov 5 23:13:07 CET 2020


Revision: 56862
          http://tug.org/svn/texlive?view=revision&revision=56862
Author:   karl
Date:     2020-11-05 23:13:06 +0100 (Thu, 05 Nov 2020)
Log Message:
-----------
quantumarticle (5nov20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/quantumarticle/README.md
    trunk/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.pdf
    trunk/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex
    trunk/Master/texmf-dist/doc/latex/quantumarticle/quantumarticle.pdf
    trunk/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls

Modified: trunk/Master/texmf-dist/doc/latex/quantumarticle/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/quantumarticle/README.md	2020-11-05 22:12:48 UTC (rev 56861)
+++ trunk/Master/texmf-dist/doc/latex/quantumarticle/README.md	2020-11-05 22:13:06 UTC (rev 56862)
@@ -2,7 +2,7 @@
 
 # LaTeX document class for Quantum
 
-This is version 5.0 of `quantumarticle`, the document class for typesetting articles in Quantum - the open journal for quantum science.
+This is version 5.1 of `quantumarticle`, the document class for typesetting articles in Quantum - the open journal for quantum science.
 
 [Click here](https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantumarticle.cls) to download the latest stable version.
 
@@ -56,6 +56,13 @@
 
 ## Changelog
 
+### New in v5.1
+
+* fix for workaround in ltxgrid no longer being necessary and, on the contrary, causing an error under TeXLive 2020, with revtex/ltygrid 4.2e/4.2d
+* improved typesetting of authors if titlepage is used
+* added explanation for how to use BibTeX on the arXiv
+* fixed equations in template
+
 ### New in v5.0:
 
 * force users to specify a paper size to prevent unexpected behavior
@@ -91,7 +98,7 @@
 
 ## Copyright
 
-Copyright 2017, 2018, 2019
+Copyright 2017, 2018, 2019, 2020
 Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften
 (http://quantum-journal.org/about/)
 

Modified: trunk/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex	2020-11-05 22:12:48 UTC (rev 56861)
+++ trunk/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex	2020-11-05 22:13:06 UTC (rev 56862)
@@ -44,7 +44,7 @@
   This format can be more suitable for long articles.
   The \texttt{abstract} environment can appear both before and after the \texttt{\textbackslash{}maketitle} command and calling \texttt{\textbackslash{}maketitle} is optional, as long as there is an \texttt{abstract}.
   Both \texttt{abstract} and \texttt{\textbackslash{}maketitle} however must be placed after all other \texttt{\textbackslash{}author}, \texttt{\textbackslash{}affiliation}, etc.\ commands, see also Section~\ref{sec:title-information}.
-  If you provide the ORCID number of an author by using the \texttt{\textbackslash{}orcid} command, the author name becomes a link to their page on \href{http://orcid.org/}{orcid.org}. 
+  If you provide the ORCID number of an author by using the \texttt{\textbackslash{}orcid} command, the author name becomes a link to their page on \href{http://orcid.org/}{orcid.org}.
 \end{abstract}
 
 In the \texttt{twocolumn} layout and without the \texttt{titlepage} option a paragraph without a previous section title may directly follow the abstract.
@@ -55,7 +55,7 @@
 If you would like to use \texttt{quantumarticle} for manuscripts not yet accepted in Quantum, or not even intended for submission to Quantum, please use the \texttt{unpublished} option to switch off all Quantum related branding and the hyperlink in the title.
 By default, this class also performs various checks to make sure the manuscript will compile well on the arXiv.
 If you do not intend to submit your manuscript to Quantum or the arXiv, you can switch off these checks with the \texttt{noarxiv} option.
-On the contrary, by giving the \texttt{accepted=YYYY-MM-DD} option, with \texttt{YYYY-MM-DD} the acceptance date, the note ``Accepted in Quantum YYYY-MM-DD, click title to verify'' can be added to the bottom of each page to clearly mark works that have been accepted in Quantum. 
+On the contrary, by giving the \texttt{accepted=YYYY-MM-DD} option, with \texttt{YYYY-MM-DD} the acceptance date, the note ``Accepted in Quantum YYYY-MM-DD, click title to verify'' can be added to the bottom of each page to clearly mark works that have been accepted in Quantum.
 
 \section{Figures}
 \begin{figure}[t]
@@ -63,7 +63,7 @@
   \includegraphics{example-plot.pdf}
   \caption{Every figure must have an informative caption and a number.
     The caption can be placed above, below, or to the side of the figure, as you see fit.
-    The same applies for tables, boxes, and other floating elements. 
+    The same applies for tables, boxes, and other floating elements.
     Quantum provides a Jupyter notebook to create plots that integrate seamlessly with \texttt{quantumarticle}, described in Section \ref{sec:plots}.
     Figures spanning multiple columns can by typeset with the usual \texttt{figure*} environment.}
   \label{fig:figure1}
@@ -81,7 +81,7 @@
   E &= m\,c^2\\
   a^2 + b^2 &= c^2\\
   H\,|\psi\rangle &= E\,|\psi\rangle\\
-  (\openone \otimes A)\,(B \otimes \openone) &= A \otimes B
+  (\openone \otimes A)\,(B \otimes \openone) &= B \otimes A
 \end{align}
 For multi-line equations \texttt{align} is \href{http://tex.stackexchange.com/questions/196/eqnarray-vs-align}{preferable} over \texttt{eqnarray}.
 Please refrain from using the latter.
@@ -133,6 +133,8 @@
   doi = {10.22331/idonotexist},
 }
 \end{verbatim}
+As the arXiv does not run BibTeX for you, you \href{https://arxiv.org/help/submit_tex}{must include the .bbl file} that BibTeX creates alongside your .tex source files when submitting your work.
+
 Several authors had problems because of Unicode characters in their BibTeX files.
 Be advised that \href{http://wiki.lyx.org/BibTeX/Tips}{BibTeX does not support Unicode characters}.
 All special characters must be input via their respective LaTeX commands.
@@ -170,7 +172,7 @@
 The only two requirements are that citations must uniquely identify the cited work and that they must contain a DOI hyperlink whenever possible.
 
 \begin{theorem}[Use \texttt{\textbackslash pdfoutput=1}]
-  In order to get correct line breaks within hyperlinks and to make sure the arXiv produces a PDF as output, please add the line 
+  In order to get correct line breaks within hyperlinks and to make sure the arXiv produces a PDF as output, please add the line
 \begin{verbatim}
 \pdfoutput=1
 \end{verbatim}
@@ -245,7 +247,7 @@
 \section{LyX layout}
 \label{sec:lyx-layout}
 
-The quantumarticle document class comes bundled with a \href{https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantum-lyx-template.lyx}{LyX layout} that allows to typeset manuscripts with the LyX document processor instead of directly writing LaTeX code. Please be aware that this is a beta feature that might not receive the same level of support as the quantumarticle document class itself.   
+The quantumarticle document class comes bundled with a \href{https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantum-lyx-template.lyx}{LyX layout} that allows to typeset manuscripts with the LyX document processor instead of directly writing LaTeX code. Please be aware that this is a beta feature that might not receive the same level of support as the quantumarticle document class itself.
 
 \section{Version}
 \label{sec:version}
@@ -267,7 +269,7 @@
 
 \bibitem{howtogetdoilinksinbibliography}
   StackExchange discussion on \href{http://tex.stackexchange.com/questions/3802/how-to-get-doi-links-in-bibliography}{``How to get DOI links in bibliography'' (2016-11-18)}
-  
+
 \bibitem{automaticallyaddingdoifieldstoahandmadebibliography}
   StackExchange discussion on \href{http://tex.stackexchange.com/questions/6810/automatically-adding-doi-fields-to-a-hand-made-bibliography}{``Automatically adding DOI fields to a hand-made bibliography'' (2016-11-18)}
 \end{thebibliography}
@@ -289,7 +291,7 @@
 \end{equation}
 You are free to change this in case it is more appropriate for your article, but a consistent and unambiguous numbering of sections and equations must be ensured.
 
-If you want your appendices to appear in \texttt{onecolumn} mode but the rest of the document in \texttt{twocolumn} mode, you can insert the command \texttt{\textbackslash{}onecolumn\textbackslash{}newpage} before \texttt{\textbackslash{}appendix}.   
+If you want your appendices to appear in \texttt{onecolumn} mode but the rest of the document in \texttt{twocolumn} mode, you can insert the command \texttt{\textbackslash{}onecolumn\textbackslash{}newpage} before \texttt{\textbackslash{}appendix}.
 
 \section{Problems and Bugs}
 In case you encounter problems using the quantumarticle class please analyze the error message carefully and look for help online; \href{http://tex.stackexchange.com/}{http://tex.stackexchange.com/} is an excellent resource.

Modified: trunk/Master/texmf-dist/doc/latex/quantumarticle/quantumarticle.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls	2020-11-05 22:12:48 UTC (rev 56861)
+++ trunk/Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls	2020-11-05 22:13:06 UTC (rev 56862)
@@ -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 @@
 \let\col at number\@colnum
 
 \ltx at 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 @@
 				\let\AfterEndDocument\@firstofone
 				\@afterenddocumenthook
 				\etb@@end}}}
+  }
 }{}
 
 \setcounter{topnumber}{2}
@@ -480,7 +484,9 @@
           \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 @@
 \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 at affiliationcounter}{>}{1}{\textsuperscript{\forlistcsloop{\@@commaspacebefore}{author#1affiliations}\unskip}}{}\ifnumcomp{#1}{<}{\the at authorcounter-1}{, }{\ifnumcomp{#1}{=}{\the at 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 at affiliationcounter}{>}{1}{\textsuperscript{\forlistcsloop{\@@commaspacebefore}{author#1affiliations}\unskip}}{}\ifnumcomp{#1}{<}{\the at authorcounter-1}{, }{\ifnumcomp{#1}{=}{\the at authorcounter-1}{\ifnumcomp{#1}{=}{1}{ and }{, and }}{}}}
 \def\@printauthors{%
 	\newcounter{@authornum}%
 	\large\forlistloop{\stepcounter{@authornum}%



More information about the tex-live-commits mailing list.