Next: Bibliography Up: Upgrading LATEX 2.09 classes and Previous: Font commands Contents

## Obsolete commands

Some packages will not work with LATEX2e, normally because they relied on an internal LATEX command which was never supported and has now changed, or been removed.

In many cases there will now be a robust, high-level means of achieving what previously required low-level commands. Please consult Section 4 to see if you can now use the LATEX2e class and package writers commands.

Also, of course, if your package or class redefined any of the kernel commands (i.e. those defined in the files `latex.tex`, `slitex.tex`, `lfonts.tex`, `sfonts.tex`) then you will need to check it very carefully against the new kernel in case the implementation has changed or the command no longer exists in the LATEX2e kernel.

Too many of the internal commands of LATEX 2.09 have been re-implemented or removed to be able to list them all here. You must check any that you have used or changed.

We shall, however, list some of the more important commands which are no longer supported.

`\tenrm` `\elvrm` `\twlrm` ...
`\tenbf` `\elvbf` `\twlbf` ...
`\tensf` `\elvsf` `\twlsf` ...

The (approximately) seventy internal commands of this form are no longer defined. If your class or package uses them then please replace them with new font commands described in LaTeX2e Font Selection.

For example, the command `\twlsf` should be replaced by:

       \fontsize{12}{14}\normalfont\sffamily\selectfont

Another possibility is to use the `rawfonts` package, described in LaTeX2e for Authors.

Also, remember that many of the fonts preloaded by LATEX 2.09 are no longer preloaded.

`\vpt` `\vipt` `\viipt` ...

These were the internal size-selecting commands in LATEX 2.09. (They can still be used in LATEX 2.09 compatibility mode.) Please use the command `\fontsize` instead: see LaTeX2e Font Selection for details.

For example, `\vpt` should be replaced by:

       \fontsize{5}{6}\normalfont\selectfont

`\prm`, `\pbf`, `\ppounds`, `\pLaTeX` ...

LATEX 2.09 used several commands beginning with `\p` in order to provide `protected' commands. For example, `\LaTeX` was defined to be `\protect\pLaTeX`, and `\pLaTeX` was defined to produce the LATEX logo. This made `\LaTeX` robust, even though `\pLaTeX` was not.

These commands have now been reimplemented using `\DeclareRobustCommand` (described in Section 4.10). If your package redefined one of the `\p`-commands then you must remove the redefinition and use `\DeclareRobustCommand` to redefine the non-`\p` command.

`\footheight`
`\@maxsep`
`\@dblmaxsep`

These parameters are not used by LATEX2e so they have been removed, except in LATEX 2.09 compatibility mode. Classes should no longer set them.

Next: Bibliography Up: Upgrading LATEX 2.09 classes and Previous: Font commands Contents