LaTex
Resources on the typesetting system LaTex.
Getting started with LaTex
General Resources
LaTex Packages
Two packages that I have written are:
- Plates: The plates package provides a simple facility for inserting color figures in a document when they should be gathered and printed together as in a book’s section of color plates.
- FigSize: The FigSize package enables automatic sizing of graphics, especially when including graphics with the graphicx package. Note that newer packages now exist that may better suit your needs.
A great package for typesetting long documents is the Memoir class.
Math
-
Math into LaTex: A book on how to typeset math in LaTex.
-
Display Math: Proper ways to get math displayed in the various environments.
-
Boxed multi-line equations: take a look at the empheq package on CTAN. It can also easily do colored boxes and beyond.
Rweave / Sweave
You can put R code directly in latex and have it evaluated by Rweave!
Note that R output is UTF8, so you need to include the following in your LaTex document preamble so that the characters print correctly (especially from hypothesis tests showing significance levels):
\usepackage[utf8x]{inputenc}
I have also encountered problems with the fancy quotes used in ANOVA output, you may also need to set the R option (in an R code block in the Rweave file)
options(useFancyQuotes=FALSE)