How to Format LaTeX for arXiv Submission
arXiv is the world's largest preprint server for physics, mathematics, computer science, and more. Submitting a LaTeX paper requires a specific format. Follow these steps to avoid rejection and resubmission headaches.
Understand arXiv Requirements
arXiv compiles your source from scratch, so your submission must be self-contained. Key rules: use pdfLaTeX (default), include all custom files, no absolute paths, and no symlinks.
% arXiv requirements checklist:
% ✓ All .tex, .sty, .cls, .bst files included
% ✓ All figures included (PDF, PNG, or JPG)
% ✓ No absolute paths (use relative paths only)
% ✓ No compiled PDF — arXiv compiles for you
% ✓ Total upload ≤ 50 MB (compressed)Flatten Your Directory Structure
arXiv works best with all files in a single flat directory. Move figures and .bib outputs to the root level and update paths accordingly.
% BEFORE (nested):
% project/
% main.tex
% sections/intro.tex
% figures/plot.pdf
%
% AFTER (flat — recommended for arXiv):
% project/
% main.tex
% intro.tex
% plot.pdf
%
% In main.tex, update paths:
\input{intro} % was: \input{sections/intro}
\includegraphics{plot.pdf} % was: \includegraphics{figures/plot.pdf}Include the .bbl File
arXiv does NOT run BibTeX/Biber. You must include the pre-generated .bbl file and reference it instead of \bibliography{}.
% 1. Compile locally with BibTeX to generate main.bbl:
% pdflatex main && bibtex main && pdflatex main && pdflatex main
%
% 2. Option A: Copy contents of main.bbl into main.tex
% Replace \bibliography{refs} with the .bbl contents
%
% 3. Option B: Include main.bbl in your upload
% arXiv will use it automatically if \bibliography{} is present
% If using biblatex, add the .bbl file to your upload.
% arXiv recognizes biblatex .bbl files.Ensure pdfLaTeX Compatibility
arXiv uses pdfLaTeX by default. If you need XeLaTeX or LuaLaTeX, you can request it, but pdfLaTeX is safest. Avoid system fonts and use standard packages.
% For pdfLaTeX, make sure:
% ✓ No \usepackage{fontspec} (XeLaTeX/LuaLaTeX only)
% ✓ Use standard fonts (Computer Modern, Latin Modern)
% ✓ Figures in PDF, PNG, or JPG format (no EPS)
%
% To force pdfLaTeX on arXiv, add as first line:
\pdfoutput=1Test Your Submission Locally
Before uploading, test that your flat directory compiles from scratch in a clean environment:
% 1. Create a fresh temporary folder
% 2. Copy only the files you plan to upload
% 3. Compile from scratch:
% cd /tmp/arxiv-test
% pdflatex main.tex
% pdflatex main.tex (second pass for references)
%
% 4. Verify the PDF matches your expected output
% 5. Zip all files (not the folder) and upload to arXiv:
% zip submission.zip main.tex main.bbl *.pdf *.png💡 Tips
- •Remove all commented-out code and unused files to keep the submission clean
- •arXiv adds a watermark and paper ID—your margins may shift slightly
- •Use \pdfoutput=1 as the very first line if arXiv picks the wrong compiler
- •Check arXiv's current TeX Live version on their help page to match your local setup
Try This in Bibby AI
Write LaTeX faster with AI auto-complete and instant compilation.
Start Writing Free