diff options
Diffstat (limited to 'macros/latex/contrib/quantumarticle/quantum-template.tex')
-rw-r--r-- | macros/latex/contrib/quantumarticle/quantum-template.tex | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/macros/latex/contrib/quantumarticle/quantum-template.tex b/macros/latex/contrib/quantumarticle/quantum-template.tex index 7b6b14263d..6f6eda81dc 100644 --- a/macros/latex/contrib/quantumarticle/quantum-template.tex +++ b/macros/latex/contrib/quantumarticle/quantum-template.tex @@ -27,7 +27,7 @@ \author{Marcus Huber} \affiliation{Institute for Quantum Optics \& Quantum Information (IQOQI), Austrian Academy of Sciences, Boltzmanngasse 3, Vienna A-1090, Austria} \orcid{0000-0003-1985-4623} -\author{Christopher Granade} +\author{Cassandra Granade} \affiliation{Microsoft Research, Quantum Architectures and Computation Group, Redmond, WA 98052, USA} \author{Johannes Jakob Meyer} \affiliation{Dahlem Center for Complex Quantum Systems, Freie Universität Berlin, 14195 Berlin, Germany} @@ -64,7 +64,7 @@ On the contrary, by giving the \texttt{accepted=YYYY-MM-DD} option, with \texttt \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. - Quantum provides a Jupyter notebook to create plots that integrate seamlessly with \texttt{quantumarticle}, described in Section \ref{sec:plots}. + Plots that integrate seamlessly with \texttt{quantumarticle} can be obtained through the Python package rsmf, as described in Section~\ref{sec:plots}. Figures spanning multiple columns can by typeset with the usual \texttt{figure*} environment.} \label{fig:figure1} \end{figure} @@ -105,6 +105,8 @@ Citations to other works should appear in the References section at the end of t \end{theorem} This can be achieved in several ways, depending on how you are formatting your bibliography. +This is done easiest using the custom bibliography style for Quantum, +please refer to its separate demo for details (\texttt{quantum\_bst\_demo.pdf}). Suppose the DOI of an article \cite{examplecitation} that you want to cite is \texttt{10.22331/idonotexist}. If you are formatting your bibliography manually, you can cite this work using the following in your \texttt{thebibliography} environment: \begin{verbatim} @@ -141,15 +143,16 @@ All special characters must be input via their respective LaTeX commands. If you are using BibTeX, you can load the \texttt{natbib} package by putting \begin{verbatim} -\usepackage[numbers,sort&compress]{natbib} +\usepackage[numbers]{natbib} \end{verbatim} -in the preamble of your document and then use the \texttt{plainnat} citation style by including your BibTeX bibliography \texttt{mybibliography.bib} where you want the bibliography to appear as follows: +in the preamble of your document and then use the \texttt{quantum} citation style by including your BibTeX bibliography \texttt{mybibliography.bib} where you want the bibliography to appear as follows: \begin{verbatim} -\bibliographystyle{plainnat} +\bibliographystyle{quantum} \bibliography{mybibliography} \end{verbatim} The quantumarticle class automatically detects that the \texttt{natbib} package was loaded and redefines the \texttt{\textbackslash{}doi} command to create hyperlinks. This is likely the easiest option if you are converting from another document class. +The \texttt{quantum.bst} bibliography style is currently a beta feature and feedback is very much appreciated. Please open a \href{https://github.com/quantum-journal/quantum-journal/issues}{github issue} or write an email to \href{mailto:latex@quantum-journal.org}{latex@quantum-journal.org} if you come across any bugs or possible improvements. If you want to use BibLaTeX, you can instead add \begin{verbatim} @@ -181,8 +184,8 @@ The only two requirements are that citations must uniquely identify the cited wo \section{Plots} \label{sec:plots} -Quantum provides a \href{https://jupyter.org/}{Jupyter notebook} based on the widely used \href{https://matplotlib.org/}{matplotlib} library that greatly simplifies the creation of plots that integrate seamlessly with the \texttt{quantumarticle} document class. This is intended as a service to the authors, is \textit{not} mandatory, and currently in beta stage. You can download the \href{https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantum-plots.ipynb}{quantum-plots.ipynb} notebook and accompanying \href{https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantum-plots.mplstyle}{quantum-plots.mplstyle} file from the \href{https://github.com/quantum-journal/quantum-journal}{quantumarticle GitHub repository}. You only need to specify the font size and paper format that were passed as options to \texttt{quantumarticle} to get plots with fitting font sizes and dimensions. -We strongly encourage authors to use the vector based PDF format for plots. +We strongly encourage authors to use the vector based PDF format for plots. The Python package \href{https://pypi.org/project/rsmf/}{rsmf} (``right-size my figures'') together with the widely used plotting library \href{https://matplotlib.org/}{matplotlib} can be used to create plots that integrate seamlessly with the \texttt{quantumarticle} document class. In the Quantum \href{https://github.com/quantum-journal/quantum-journal/}{GitHub repository}, you find the script \href{https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/example-plot.py}{example-plot.py} that shows how these tools were used to create Figure~\ref{fig:figure1}. + \begin{theorem}[Be mindful of the colorblind] About 4\% of the worlds population are affected by some form of color vision deficiency or color blindness. @@ -240,8 +243,8 @@ Alternatively you can use a format similar to that of the \texttt{authblk} packa \author[2]{Author 3} \author[1,3]{Author 4} \affil[1]{Affiliation 1} -\affil[2]{Affiliation 1} -\affil[3]{Affiliation 1} +\affil[2]{Affiliation 2} +\affil[3]{Affiliation 3} \end{verbatim} \section{LyX layout} @@ -253,7 +256,7 @@ The quantumarticle document class comes bundled with a \href{https://raw.githubu \label{sec:version} This is quantumarticle version v\quantumarticleversion. -\bibliographystyle{plain} +\bibliographystyle{quantum} \begin{thebibliography}{9} \bibitem{examplecitation} Name Surname, @@ -276,11 +279,17 @@ This is quantumarticle version v\quantumarticleversion. -\onecolumn\newpage +\onecolumn \appendix \section{First section of the appendix} Quantum allows the usage of appendices. +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} or just +\texttt{\textbackslash{}onecolumn} before +\texttt{\textbackslash{}appendix}. + \subsection{Subsection} Ideally, the command \texttt{\textbackslash{}appendix} should be put before the appendices to get appropriate section numbering. @@ -291,8 +300,6 @@ 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}. - \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. If you cannot resolve a problem, please open a bug report in our bug-tracker under \href{https://github.com/quantum-journal/quantum-journal/issues}{https://github.com/quantum-journal/quantum-journal/issues}. |