| 1 |
[](https://travis-ci.org/quantum-journal/quantum-journal) |
| 2 |
|
| 3 |
# LaTeX document class for Quantum |
| 4 |
|
| 5 |
This is version 6.1 of `quantumarticle`, the document class for typesetting articles in Quantum - the open journal for quantum science. |
| 6 |
|
| 7 |
[Click here](https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantumarticle.cls) to download the latest stable version. |
| 8 |
|
| 9 |
[More information](https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantum-template.pdf) on using quantumarticle and on typesetting manuscripts for Quantum can be found in the accompanying template. |
| 10 |
|
| 11 |
[Extra information on the Quantum bibstyle](https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantum-bibliographystyle-demo.pdf) can be found in the bibstyle demo. |
| 12 |
|
| 13 |
[Documentation](https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantumarticle.pdf) of all class options is also provided. |
| 14 |
|
| 15 |
|
| 16 |
## Installation and usage |
| 17 |
|
| 18 |
To use the `quantumarticle` document class with LaTeX simply start your document with the line: |
| 19 |
|
| 20 |
```latex |
| 21 |
\documentclass[your options]{quantumarticle} |
| 22 |
|
| 23 |
``` |
| 24 |
Before you can do this however, you must make `quantumarticle.cls` accessible to your LaTeX compiler. You have several options for doing this: |
| 25 |
|
| 26 |
1. The `quantumarticle` class is provided with install scripts for bash and PowerShell. These scripts should work for Windows 7 or later with MiKTeX, or for TeX Live with Linux or macOS / OS X. To install the class into your user-local LaTeX directory you would first clone this git repository `git clone https://github.com/quantum-journal/quantum-journal.git quantum-journal` and them from within bash execute: |
| 27 |
```bash |
| 28 |
$ cd quantum-journal/ |
| 29 |
$ ./install.sh |
| 30 |
``` |
| 31 |
Similarly, under PowerShell: |
| 32 |
```powershell |
| 33 |
PS > cd quantum-journal/ |
| 34 |
PS > ./install.ps1 |
| 35 |
``` |
| 36 |
|
| 37 |
2. Alternatively you can use `quantumarticle.cls` without installing it by simply downloading it directly via [this link](https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantumarticle.cls) and putting it in the same folder as your main LaTeX source file. This can be the most convenient option if you are working on a manuscript together with collaborators that do not want to install `quantumarticle.cls` and are exchanging the source files of your manuscript via email or cloud storage services. When you upload your manuscript to the arXiv you will anyway have to include `quantumarticle.cls` along with other source files. |
| 38 |
|
| 39 |
3. To manually install `quantumarticle`, you can either clone this git repository or download `quantumarticle.cls` directly via [this link](https://raw.githubusercontent.com/quantum-journal/quantum-journal/master/quantumarticle.cls) and then copy the `quantumarticle.cls` file to `texmf/tex/latex/quantumarticle` within your home directory (under Linux, macOS, and OS X `~/`, or under Windows typically `C:\Users\[your username]`) and run `texhash` (TeX Live) or `initexmf --update-fndb` (MiKTeX). |
| 40 |
|
| 41 |
4. Finally, you can use `quantumarticle.cls` without even downloading it at all on the collaborative writing platform [overleaf](https://www.overleaf.com/) by starting your project from the `quantumarticle` [template](https://www.overleaf.com/latex/templates/template-for-submission-to-quantum-journal/gsjgyhxrtrzy). |
| 42 |
|
| 43 |
## Dependencies |
| 44 |
|
| 45 |
`quantumarticle.cls` should work with any reasonably recent LaTeX distribution. It further requires the following packages: `xkeyval`, `etoolbox`, `geometry`, `xcolor`, `fancyhdr`, `tikz`, `hyperref`, `ltxgrid` and `ltxcmds` (often distributed along with revtex, in texlive for example as part of `texlive-publishers`), as well as at least either `lmodern` or `type1ec`. We recommend to have `natbib` and at least one of `bbm` or `dsfont` installed. All of these should be included in the full install variant of your LaTeX distribution (for example `texlive-full`). |
| 46 |
|
| 47 |
## Compatibility |
| 48 |
|
| 49 |
The `quantumarticle` class tries to be **maximally compatible** with existing document classes, such as, `article`, `revtex`, `iopart`, and `elsarticle`. It supports all standard options, like `twocolumn`, `onecolumn`, `titlepage`, as well as the standard syntax for defining the title page with the `\author`, `\address`, and `\affiliation` commands and the `abstract` environment. |
| 50 |
|
| 51 |
## Beta features |
| 52 |
|
| 53 |
In addition, this document class comes bundled with two new extras (currently in beta phase): |
| 54 |
|
| 55 |
1. The quantum-lyx-template.lyx LyX layout, which allows you to generate the LaTeX source of your quantumarticle manuscript with the LyX document processor. |
| 56 |
|
| 57 |
2. The quantum.bst bibliography style for BibTeX, see the corresponding demo for usage details. |
| 58 |
|
| 59 |
## Changelog |
| 60 |
|
| 61 |
### New in v6.1 |
| 62 |
|
| 63 |
* Fix for long urls in bibliography items not breaking correctly when using the Quantum bibliography style. |
| 64 |
* Added explanation of the difference between regular and [shortDOIs](https://shortdoi.org/) and why the latter cannot be used in bibliographies |
| 65 |
* Further increased hyphen penalty of title |
| 66 |
|
| 67 |
### New in v6.0 |
| 68 |
|
| 69 |
* introduced the Quantum bibstyle `quantum.bst` together with the demo file `quantum-bibliographystyle-demo` |
| 70 |
* Removed the quantum-plots package, which is superseeded by [rsmf](https://pypi.org/project/rsmf/) |
| 71 |
* Fixed typo in allowfontchangeintitle option |
| 72 |
|
| 73 |
### New in v5.1 |
| 74 |
|
| 75 |
* 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 |
| 76 |
* improved typesetting of authors if titlepage is used |
| 77 |
* added explanation for how to use BibTeX on the arXiv |
| 78 |
* fixed equations in template |
| 79 |
|
| 80 |
### New in v5.0: |
| 81 |
|
| 82 |
* force users to specify a paper size to prevent unexpected behavior |
| 83 |
* option processing is now done exclusively by means of xkeyval |
| 84 |
* improved compatibility with frequently used LaTeX document classes |
| 85 |
* improved/added options for using this document class for manuscripts not intended for submission to Quantum |
| 86 |
* documents not intended for submission to Quantum can now be compiled with compilers different from PdfLaTeX (e.g. LuaLaTeX) |
| 87 |
* use https in links when possible |
| 88 |
* prevent usage of the `\today` macro in `\date` to avoid changing dates in documents when they are re-compiled on the arXiv |
| 89 |
* enforce that users put `\pdfoutput=1` (as recommended by the arXiv) to prevent problems with multi-line hyper links |
| 90 |
* improved error messages |
| 91 |
* fixed a bug that lead to the title not being centered with the `titlepage` option |
| 92 |
* better layout of titles |
| 93 |
* fixed various bugs in option processing |
| 94 |
* the document class is now documented in `quantumarticle.pdf` |
| 95 |
* introduced the plotting notebook `quantum-plots.ipynb` as a beta feature |
| 96 |
* introduced the LyX template `quantum-lyx-template.lyx` as a beta feature |
| 97 |
|
| 98 |
## Contributors |
| 99 |
|
| 100 |
Developed by: Christian Gogolin, Cassandra Granade, Johannes J. Meyer, and Victor V. Albert |
| 101 |
|
| 102 |
With contributions from: Shahnawaz Ahmed, Andrey Rakhubovsky, liantze, |
| 103 |
Abhinav Deshpande, and David Wierichs |
| 104 |
|
| 105 |
## Contributing |
| 106 |
|
| 107 |
In case you encounter problems using the article class please consider opening a bug report in our [bug-tracker on GitHub](https://github.com/quantum-journal/quantum-journal/issues). |
| 108 |
You can also contact us via email under [email protected], but it may take significantly longer to get a response. |
| 109 |
In any case we need the full source of a document that produces the problem and the log file showing the error to help you. |
| 110 |
|
| 111 |
Improvements submitted as pull requests against the `develop` branch are very much appreciated! |
| 112 |
|
| 113 |
## Copyright |
| 114 |
|
| 115 |
Copyright 2017, 2018, 2019, 2020, 2021, 2022 |
| 116 |
Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften |
| 117 |
(http://quantum-journal.org/about/) |
| 118 |
|
| 119 |
`quantumarticle.cls` is derived from `article.cls` available from |
| 120 |
https://www.ctan.org/pkg/article |
| 121 |
|
| 122 |
It may be distributed and/or modified under the |
| 123 |
conditions of the LaTeX Project Public License, either version 1.3c |
| 124 |
of this license or (at your option) any later version. |
| 125 |
The latest version of this license is in |
| 126 |
http://www.latex-project.org/lppl.txt |
| 127 |
and version 1.3c or later is part of all distributions of LaTeX |
| 128 |
version 2005/12/01 or later. |
| 129 |
|
| 130 |
[comment]: # (To submit to the overleaf gallery: push, open the project, go to Journals and Services and click Submit to Overleaf Gallery. To submit to sharelatex: write them an email) |