Manuscript for Autopilot: https://www.biorxiv.org/content/10.1101/807693v1
The document is written with tectonic. From the autopilot
directory or any of its subdirectories, to build the document, run
tectonic -X build
The built document will then be located in autopilot/build/autopilot_v2/autopilot_v2.pdf
.
Safety Note: To highlight the code, examples, we use minted, which requires the shell_escape
option (specified in Tectonic.toml
), which has the potential to run arbitrary code on your computer (we didn't purposely bundle any malware in the document).
See the blog post "A Halfway Decent LaTeX Writing Setup" for further details and some nice QoL ideas for writing with LaTeX.
To compile the document, you will need
The fonts used in the document are mostly embedded within the .pdfs when relevant, and the open source fonts have been included in the repository, but to modify any of the source materials, you will need these fonts:
- EB Garamond - Bold, Italic, Regular - main body font (packaged in
autopilot/src/garamond
) - Fedra Mono - Bold, Book, Light, Medium, Normal - Figure annotations
- Fedra Sans Std - Bold, Book, Medium, Normal, Condensed Bold, Condensed Medium - Figure axes, figure text.
- Fira Code - Bold, Retina - In-text code (packaged in
autopilot/src/fira
) - FontAwesome - Some glyphs.
- Loaded by tufte-latex
- Bera Sans - Bold, Roman
- Menlo - Regular
- Nimbus Sans
- PazoMath
The built document is in autopilot/build
, and the document source is in autopilot/src
. The Tectonic.toml
file configures the build.
The main document text is written with:
_preamble.tex
- header material that defines styles, loads packages, etc.autopilot.tex
- Index file that uses\input
to combine the sectionssections/
- Each section is split up into multiple files within subfolders that correspond to the chapters of the paper:introduction
design
structure
- Program AStructuretests
conclusion
- Limitations and Future Directions, Glossary
_postamble.tex
- Document conclusion stuff.
The remaining files and folders in src
:
autopilot.bib
- Bibliography for the paper exported from Zotero with Better BibTeXversion.tex
- A version hash that is included in the title page of the document, generated from a git hook (.git/hooks/post-commit
).figures
: The figures for the paper. Most are vectors stored as editable.pdf
files with the flag to retain Illustrator editing features. All figures, including many not included in the first version and removed in the second version, are there. Figures containing data were mostly generated in R using ggplot2 and then styled (without changing the data itself) in Illustrator.fira
andgaramond
: Fonts described abovestyles
: The document style is a modified version of tufte-latex. The source is admittedly extremely messy, I sort of hate LaTeX.todo
: a separate todo document used in preparation of v2, kept for the sake of provenance.
The code that analyzed the data and generated the figures. Code for running the tests can be found in the autopilot paper plugin (wiki, repo).