Quick tip: LaTeX separates content from presentation. Define your formatting once and apply it consistently throughout your document.Related topics: Font selection | Paragraph formatting | Mathematics formatting | Document classes
Font Sizes
LaTeX provides ten standard font size commands:Using Font Sizes
Font Families
LaTeX has three main font families:Setting Default Font Family
Font Shapes and Series
Font Shapes
Font Series (Weight)
Color Text
Color Models
Text Alignment
Special Text Effects
Underline Variations
Text Decorations
Text Boxes and Frames
Advanced Formatting
Rotating Text
Scaling Text
Custom Commands for Consistent Formatting
Multilingual Text
Best Practices
Common Pitfalls
Quick Reference
| Command | Purpose | Example |
|---|---|---|
\large | Larger text | {\large Big} |
\textbf{} | Bold | \textbf{Bold} |
\textit{} | Italic | \textit{Italic} |
\texttt{} | Monospace | \texttt{Code} |
\textsc{} | Small caps | \textsc{Name} |
\textcolor{}{} | Colored text | \textcolor{red}{Red} |
\colorbox{}{} | Background | \colorbox{yellow}{Hi} |
\underline{} | Underline | \underline{Text} |
Related Formatting Guides
Headers & Footers
Customize page headers and footers
Page Numbering
Control page number styles and placement
Multiple Columns
Create multi-column layouts
Lengths & Units
Master LaTeX measurement units
Counters & Numbering
Customize automatic numbering
Code Listings
Format source code with syntax highlighting
Next: Learn about Paragraph spacing to control the layout and flow of your documents.
