cm
Provides the foundational font family that defines the classic, academic look of TeX documents with comprehensive roman, sans-serif, and mathematical character support.
Overview
A complete and historically significant font collection that serves as the default typeface for TeX and LaTeX documents, offering exceptional readability and mathematical typesetting capabilities.
- Features multiple styles including serif (roman), sans-serif, and monospaced variants.
- Includes extensively integrated mathematics fonts designed specifically for TeX's mathematical typesetting system.
- Serves as the inspiration for modern font families like European Computer Modern and Latin Modern.
- Available in both Metafont source format and PostScript Type 1 versions.
- Particularly well-suited for academic and scientific documents where mathematical notation clarity is crucial.
Getting Started
The cm
package provides the Computer Modern fonts, which are the default fonts in LaTeX. You don't need to explicitly load these fonts as they are used automatically:
\documentclass{article}
% Computer Modern fonts are used by default
If you need to explicitly switch back to Computer Modern after using another font family:
\documentclass{article}
\usepackage{times} % Use Times font
\renewcommand{\rmdefault}{cmr} % Switch back to Computer Modern Roman