Skip to main content
LaTeX provides extensive control over text formatting, from basic styles to advanced typography. This reference covers all essential text formatting commands and techniques.

Font Styles

Basic Text Styles

Commands vs Declarations:
  • Commands like \textbf{} affect only their argument
  • Declarations like \bfseries affect all following text in the current group

Combining Styles

Font Sizes

From smallest to largest:
Font size commands are declarations—use braces to limit their scope:

Text Alignment

Paragraph Alignment

Justification Control

Color

Basic Colors

Custom Colors

Color Models

Spacing

Horizontal Spacing

Vertical Spacing

Line Spacing

Special Effects

Boxes and Frames

Rotation and Scaling

Strike-through and Underline

Advanced Typography

Microtype

Lettrine (Drop Caps)

Small Caps

Lists with Custom Formatting

Inline Lists

Custom List Styles

Quotes and Excerpts

Basic Quotes

Quote Environments

Best Practices

Text formatting tips:
  1. Use semantic markup - \emph{} for emphasis, not \textit{}
  2. Avoid manual formatting - Use styles and custom commands
  3. Be consistent - Choose a style and stick to it
  4. Don’t overformat - Less is often more
  5. Test readability - Ensure formatting enhances, not distracts

Quick Reference


Next: Learn about Math Mode for mathematical typesetting or explore Lists for structured content.