Skip to main content
To make text bold in LaTeX, write \textbf{bold text}. Use \textit{italic text} for a fixed italic style, \emph{emphasized text} for meaning-aware emphasis, and \underline{underlined text} only when an underline is specifically required.
Copy-paste syntax: \textbf{bold}, \textit{italic}, \emph{emphasis}, \underline{underline}For the common “bold text in LaTeX” use case, the command you need is \textbf{}. It works in normal text and can contain other text-formatting commands.

Basic Text Formatting

Bold Text

Use \textbf{} to make text bold:

Italic Text

Use \textit{} for italics:

Underlined Text

Use \underline{} for underlining:
Avoid overusing underline: In professional typography, underlining is rarely used. Consider bold or italic for emphasis instead.

Combining Formats

You can combine multiple formatting commands:

Emphasis Command

The \emph{} command provides semantic emphasis:
Use \emph{} when you want to emphasize meaning. Use \textit{} when you specifically want italic style.

Additional Text Styles

Small Caps

Typewriter (Monospace)

Sans Serif

Slanted Text

Font Size Commands

Combine with text formatting:

Color Text (Optional Package)

Add color to your formatting:

Advanced Formatting

Strikethrough

Better Underlines

Environment-Based Formatting

For longer passages:

Declaration Commands

Alternative syntax using declarations:

Common Use Cases

Document Structure

Academic Writing

Best Practices

Formatting guidelines:
  1. Use sparingly - Too much formatting reduces impact
  2. Be consistent - Use the same style for similar elements
  3. Semantic meaning - Use \emph for emphasis, not just italics
  4. Avoid underlines - Use bold or italic instead
  5. Consider readers - Some formats don’t work well in all media

Common Mistakes

Avoid these errors:
  1. Over-formatting - Don’t combine too many styles
  2. Underline with descenders - Looks messy with g, j, p, q, y
  3. All caps - Use \textsc{} for small caps instead
  4. Forgetting braces - \textbf{text} not \textbf text
  5. Wrong nesting - Close commands in reverse order

Quick Reference Table

Troubleshooting

Text Not Formatting

Check for:
  • Missing braces: \textbf{text} not \textbf text
  • Typos in commands
  • Missing packages for special formatting

Nested Commands Not Working

Ensure proper nesting:

Try Text Formatting in the Editor

Open a formatting example

Paste the commands into a project and compile them to compare bold, italic, underline, and semantic emphasis.

See the online LaTeX editor

Review the browser editor workflow and current product capabilities.

Next: Learn how to create Lists for organizing information effectively, or explore Advanced text formatting for more sophisticated typography options.