The Accent Letters

How to Type ó (O with acute) on LaTeX

Published September 14, 2026, 2 min read

ó is o with acute, a letter used in Spanish, Portuguese, Italian and Polish. On LaTeX, the quickest way to get it is \'{o}. This guide covers every method that works, including the capital Ó and fixes for common problems.

ó on LaTeX: \'{o}

Ó on LaTeX: \'{O}

Or copy it:

Method 1: LaTeX command

Write \'{o} in text mode. Load \usepackage[T1]{fontenc} for correct hyphenation and copy-paste from the PDF.

Method 2: Type the character directly

Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste ó into your source. On Overleaf, set the compiler in Menu → Compiler.

Method 3: In math mode

For a variable with this accent, use $\acute{o}$. Math accents are for symbols, so use the text command for words.

How to type the capital Ó

The uppercase form works the same way with Shift added where a letter is typed.

LaTeX command

Write \'{O} in text mode. Load \usepackage[T1]{fontenc} for correct hyphenation and copy-paste from the PDF.

Type the character directly

Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste Ó into your source. On Overleaf, set the compiler in Menu → Compiler.

About the letter ó

ó is Unicode U+00F3, named LATIN SMALL LETTER O WITH ACUTE. It is used in Spanish, Portuguese, Italian, Polish, Czech, Slovak, Hungarian and Icelandic. A short line slanting up to the right. It marks stress in Spanish (canción), a closed vowel in French (été), vowel length in Czech, Hungarian and Irish, and a rising tone in Vietnamese and Pinyin. See the ó character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for ó on LaTeX?

\'{o}.

Can I just copy and paste ó?

Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.

What is the Unicode code for ó?

U+00F3. In HTML it is ó.

Related guides

All accent shortcuts for LaTeX