How to Type ű (U with double acute) on LaTeX
The letter ű does not have its own key on an English keyboard, but LaTeX still makes it easy to type. Use \H{u}, or pick one of the other methods in this guide. ű appears in Hungarian.
ű on LaTeX: \H{u}
Ű on LaTeX: \H{U}
Or copy it:
Method 1: LaTeX command
Write \H{u} 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.
How to type the capital Ű
The uppercase form works the same way with Shift added where a letter is typed.
LaTeX command
Write \H{U} 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+0171, named LATIN SMALL LETTER U WITH DOUBLE ACUTE. It is used in Hungarian. Two slanted lines above a vowel, found only in Hungarian: ő and ű are the long forms of ö and ü. 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?
\H{u}.
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+0171. In HTML it is ű.
Related guides
- How to Type ű (U with double acute) on Windows
- How to Type ű (U with double acute) on Mac
- How to Type ű (U with double acute) on iPhone
- How to Type ű (U with double acute) on Android
- How to Type ű (U with double acute) on Microsoft Word
- How to Type ű (U with double acute) on Google Docs
- How to Type ŭ (U with breve) on LaTeX
- How to Type ů (U with ring above) on LaTeX
- How to Type ų (U with ogonek) on LaTeX
- How to Type ŵ (W with circumflex) on LaTeX