How to Type ŕ (R with acute) on LaTeX
Typing ŕ (r with acute) on LaTeX takes a few seconds once you know the trick. The short answer is \'{r}. Read on for step-by-step instructions, the uppercase Ŕ and what to do when a method does not work.
ŕ on LaTeX: \'{r}
Ŕ on LaTeX: \'{R}
Or copy it:
Method 1: LaTeX command
Write \'{r} 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{r}$. 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 \'{R} 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+0155, named LATIN SMALL LETTER R WITH ACUTE. It is used in Slovak. 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?
\'{r}.
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+0155. In HTML it is ŕ.
Related guides
- How to Type ŕ (R with acute) on Windows
- How to Type ŕ (R with acute) on Mac
- How to Type ŕ (R with acute) on iPhone
- How to Type ŕ (R with acute) on Android
- How to Type ŕ (R with acute) on Microsoft Word
- How to Type ŕ (R with acute) on Google Docs
- How to Type ő (O with double acute) on LaTeX
- How to Type œ (Oe ligature (ethel)) on LaTeX
- How to Type ř (R with caron) on LaTeX
- How to Type ś (S with acute) on LaTeX