Description:
The project hosts an aesthetic and simple LaTeX style suitable for "preprint" publications such as arXiv and bio-arXiv, etc. It is based on the nips_2018.sty style.
This styling maintains the esthetic of NIPS but adding and changing features to make it (IMO) even better and more suitable for preprints. The result looks fairly different from NIPS style so that readers won't get confused to think that the preprint was published in NIPS.
Why NIPS?
Because the NIPS styling is a comfortable single column format that is very esthetic and convenient for reading.
Usage:
- Use Document class article.
- Copy arxiv.sty to the folder containing your tex file.
- add
\usepackage{arxiv}
after\documentclass{article}
. - The only packages used in the style file are geometry and fancyheader. Do not reimport them.
See template.tex
Project files:
- arxiv.sty - the style file.
- template.tex - a sample template that uses the arxiv style.
- references.bib - the bibliography source file for template.tex.
- template.pdf - a sample output of the template file that demonstrated the design provided by the arxiv style.
Handling References when submitting to arXiv.org
The most convenient way to manage references is using an external BibTeX file and pointing to it from the main file.
However, this requires running the bibtex tool to "compile" the .bib
file and create .bbl
file containing "bibitems" that can be directly inserted in the main tex file.
However, unfortunately the arXiv Tex environment (Tex Live) do not do that.
So easiest way when submitting to arXiv is to create a single self-contained .tex file that contains the references.
This can be done by running the BibTeX command on your machine and insert the content of the generated .bbl
file into the .tex
file and commenting out the \bibliography{references}
that point to the external references file.
Below are the commands that should be run in the project folder:
- Run
$ latex template
- Run
$ bibtex template
- A
template.bbl
file will be generated (make sure it is there) - Copy the
template.bbl
file content totemplate.tex
into the\begin{thebibliography}
command. - Comment out the
\bibliography{references}
command intemplate.tex
. - You ready to submit to arXiv.org.
General Notes:
- For help, comments, praises, bug reporting or change requests, you can contact the author at: kourgeorge/at/gmail.com.
- You can use, redistribute and do whatever with this project, however, the author takes no responsibility on whatever usage of this project.
- If you start another project based on this project, it would be nice to mention/link to this project.
- You are very welcome to contribute to this project.
- A good looking 2 column template can be found in https://github.com/brenhinkeller/preprint-template.tex.