Converting From LaTeX 2.09

From UCB Math Wiki
Jump to: navigation, search

Converting from LaTeX 2.09 to LaTeX 2e

Converting from LaTeX 2.09 to LaTeX2e is pretty simple in most cases; all you have to do is to change the \documentstyle line to a corresponding \documentclass line. Packages (but not document style options) included in brackets in the \documentstyle line will need to be split off and declared in a separate \usepackage line, however. For example,

\documentstyle[12pt,cyrillic]{article}

should be changed to two lines:

\documentclass[12pt]{article}
\usepackage{cyrillic}

You will also often need to replace some old control sequences to their newer equivalents. Most of these concern fonts:

LaTeX 2.09 LaTeX 2e
\Bbb R \mathbb R
{\bf bold text} \textbf{bold text}
{\it italicized text} \textit{italicized text}
{\smc small-cap text} \textsc{small-cap text}

(Note, however, that \emph{...} is preferred over \textit{...}.)