Underleaf Logo
Underleaf
BlogPricing
Log InTry Free

Learn LaTeX

Getting Started

  • What is LaTeX?
  • LaTeX for Beginners

Underlining Text in LaTeX

Learn how to underline text in LaTeX using the basic underlining command.

Basic Underlining

To underline text in LaTeX, use the \\underline command. Simply wrap the text you want to underline in curly braces after the command:

Underlining a single word

Underlining multiple words

Underlining part of a word

Complete Example

Here's a complete example you can use in your document:

Try it free

Skip the syntax — let AI write it.

Snap a photo of an equation, a table, or full handwritten notes and Underleaf turns it into clean, compilable LaTeX in seconds. 10 free credits every month, no credit card required.

Convert your page
Handwritten notes converted into a typeset LaTeX document

Underlining Text in LaTeX

Learn how to underline text in LaTeX using the basic underlining command.

Basic Underlining

To underline text in LaTeX, use the \\underline command. Simply wrap the text you want to underline in curly braces after the command:

Underlining a single word

Underlining multiple words

Underlining part of a word

Complete Example

Here's a complete example you can use in your document:

Underleaf Logo
Underleaf

Empowering students and researchers with AI-powered tools for academic writing.

Go to appContact us

Company

PricingBlogTutorialsConference TemplatesConference Deadlines

Free Tools

Image to LaTeXExcel to LaTeXArXiv to LaTeXTikZ GeneratorLaTeX Table GeneratorCitation GeneratorThesis GeneratorChrome ExtensionAll Tools

Ask AI about Underleaf

Ask ChatGPTAsk ClaudeAsk Perplexity

© 2026 Underleaf. All rights reserved.