LaTeX Styles
This repository contains LaTeX styles I find useful to write scientific papers along with common customizations. Everything here is built upon exsiting styles and packages found in most LaTeX suites (e.g., the excellent TeXLive distribution.) The basic style files must be downloaded from the publishers' website and placed somewhere where LaTeX can find them.
Installing
-
If you don't want to read the two bullets below, simply run
install.sh
. -
Set the environment variable
LATEX_STYLES
to point to the top of this repository. E.g., if you cloned this repository to/some/dir/latex-styles
thenexport LATEX_STYLES=/some/dir/latex-styles
. -
Add
$LATEX_STYLES/styles
to your$TEXINPUTS
to ensure LaTeX will find the style files:export TEXINPUTS=$LATEX_STYLES/styles//:$TEXINPUTS
. Note the double backslash.
Basic Styles
-
SIAM is the Society for Industrial and Applied Mathematics. The LaTeX style files for their journals may be downloaded from www.siam.org/journals/auth-info.php. The zip file contains all that is required.
-
AMS is the American Mathematical Society. The style files for their journals is found in most LaTeX distributions. The class I use is
amsart
. -
LNCS is a style used for Springer's Lecture Notes on Computer Science collection. The LaTeX files may be downloaded from www.springer.com/computer/lncs/lncs+authors. The file
llncs2e.zip
contains all that is required.
Customizations
The styles offer a number of standard customizations that I find useful across
almost all scientific papers I write. Those include basic packages such as
graphicx
, tikz
and others but also the following:
-
the ability to add a table of contents, which is not supported by all styles by default (at least not without serious conflicts), and which I find very useful while writing the paper
-
the inclusion of the
todonotes
package along with the ability to add a list of todo items, which is not supported by all styles either -
a few commands to produce boxed lemmas, theorems and corollaries so as to make them stand out. Some style files seem to go to great lengths to make lemmas, theorems and corollaries blend in so much with the text that you almost can't see them
-
integration with
git
.
Some choices have been made that may not be to everybody's taste but that fits my needs and preferences best. Among them:
- the bibliography style is always
natbib
'splainnat
author-year style.