diff options
author | Karl Berry <karl@freefriends.org> | 2020-11-05 22:13:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-11-05 22:13:06 +0000 |
commit | c816799bdba3bdb0a17a7a75ba7ff7aaf54f2a7f (patch) | |
tree | 7bb96cb8409f4697494b3ae396f9b2a68d322015 /Master/texmf-dist | |
parent | 360f611e64d076c5b915eaf8e769665a482c0d08 (diff) |
quantumarticle (5nov20)
git-svn-id: svn://tug.org/texlive/trunk@56862 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/quantumarticle/README.md | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/quantumarticle/quantum-template.pdf | bin | 434744 -> 434991 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/quantumarticle/quantumarticle.pdf | bin | 261231 -> 291173 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls | 16 |
5 files changed, 30 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/quantumarticle/README.md b/Master/texmf-dist/doc/latex/quantumarticle/README.md index 4eda576487e..ddfb27ca2c3 100644 --- a/Master/texmf-dist/doc/latex/quantumarticle/README.md +++ b/Master/texmf-dist/doc/latex/quantumarticle/README.md @@ -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 @@ In addition, this document class come bundled with two new extras (currently in ## 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 @@ Improvements submitted as pull requests against the `develop` branch are very mu ## 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/) diff --git a/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.pdf b/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.pdf Binary files differindex d0ac0612cf9..fb7abea17bb 100644 --- a/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.pdf +++ b/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.pdf diff --git a/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex b/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex index 85f3faefed2..7b6b14263d1 100644 --- a/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex +++ b/Master/texmf-dist/doc/latex/quantumarticle/quantum-template.tex @@ -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 @@ In this way readers can easily verify whether a work using the \texttt{quantumar 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 @@ On the contrary, by giving the \texttt{accepted=YYYY-MM-DD} option, with \texttt \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 @@ You can use the standard commands for equations. 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 @@ For DOI linking to work, the BibTeX file must contain the \texttt{doi} field as 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 @@ Feel free to change the appearance of citations in any way you like by using a d 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 @@ Alternatively you can use a format similar to that of the \texttt{authblk} packa \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 @@ This is quantumarticle version v\quantumarticleversion. \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 @@ Equations continue to be numbered sequentially. \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. diff --git a/Master/texmf-dist/doc/latex/quantumarticle/quantumarticle.pdf b/Master/texmf-dist/doc/latex/quantumarticle/quantumarticle.pdf Binary files differindex c4ca409217b..29a9700f32a 100644 --- a/Master/texmf-dist/doc/latex/quantumarticle/quantumarticle.pdf +++ b/Master/texmf-dist/doc/latex/quantumarticle/quantumarticle.pdf 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}% |