Skip to content
Mikkel Roald-Arbøl edited this page Oct 31, 2022 · 4 revisions

Welcome to the LaPreprint wiki!

Features

This package provides the document class preprint.
The document class is called with:

\documentclass[9pt,biorxiv,lineno,endfloat]{preprint}

The document class provides the following options:

  • Choose between biorxiv, medrxiv, arxiv and chemrxiv. Otherwise defaults to preprint.
  • Choose between blue and red colour scheme. Defaults to blue.
  • Use the onehalfspacing or doublespacing option for 1.5/2.0 line spacing.
  • Use the lineno option for line numbers.
  • Use the endfloat option to place floats after the bibliography.

There are certain editorial problems authors will likely often run into when writing papers. I've tried to find the best solutions to common features, and these should be fairly well supported:

Figures

  • fullwidth: For avoiding the margins (e.g. for large figures), use the \begin{fullwidth} environment.
  • subfigure: For figures with multiple panels, use the \subfigure command within the \begin{figure} environment.

Sidenotes

  • sidenote: For notes, I really like sidenotes - and I've opted to use \sidenote{} for this purpose.

Bibliography

Provide information about how to customize biblatex.

\usepackage[			% use biblatex for bibliography
	backend=biber,		% - use biber backend (bibtex replacement) or bibtex
	style=authoryear,	% - choose style, see e.g.:
	natbib=true,		% - allow natbib commands
	% dashed=false,         % - ensures duplicate author mentions
	hyperref=true,	        % - activate hyperref support
	backref=false,	        % - activate backrefs
	alldates=year,          % Only show year (not month)
        urldate=long,		% - display type for dates
	uniquename=false,     % - remove first names
	uniquelist=minyear,
	maxnames=3,%
	minnames=1,%
	maxbibnames=10,%
	minbibnames=3,%
	maxcitenames=2,%
	mincitenames=1%
]{biblatex}
Clone this wiki locally