How to Type ó (O with acute) on LaTeX
ó 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
- Accents on i and j need the dotless forms \i and \j in old LaTeX; modern LaTeX handles this automatically.
- If the letter is missing in the PDF, the font lacks it. Switch to XeLaTeX or LuaLaTeX with a broader font.
- Wrap commands in braces when the next character is a letter: \'{e}x, not \'ex.
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
- How to Type ó (O with acute) on Windows
- How to Type ó (O with acute) on Mac
- How to Type ó (O with acute) on iPhone
- How to Type ó (O with acute) on Android
- How to Type ó (O with acute) on Microsoft Word
- How to Type ó (O with acute) on Google Docs
- How to Type é (E with acute) on LaTeX
- How to Type í (I with acute) on LaTeX
- How to Type ú (U with acute) on LaTeX