o with double acute in LaTeX (\H{o})

o˝\H{o}
LaTeX command
\H{o}
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Writes the Hungarian long ő with a double acute accent, a text-mode command for names like Erdős.

\H is a text accent, not a math accent, so use it in prose or inside \text{...}; in bare math mode it raises an error. Hungarian distinguishes ö from ő and ü from ű, so the mathematician's name is Erdős, not Erdös, and getting it right in a bibliography is a courtesy worth the extra command. In BibTeX, wrap the accent in braces, {\H{o}}, so sorting and case changes do not mangle it. Do not try to fake it with two acute accents.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

Erdo˝s number =1\text{Erd\H{o}s number } = 1
\documentclass{article}
\usepackage{amsmath}
\begin{document}
o with double acute: $\H{o}$

\[ \text{Erd\H{o}s number } = 1 \]
\end{document}

Related symbols

All Huruf Latin →

Frequently asked questions

How do I write o with double acute in LaTeX?
Type \H{o} in math mode, for example $\text{Erd\H{o}s number } = 1$. It works in plain LaTeX without loading any package.
Which package do I need for \H{o}?
None. \H{o} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \H{o} in text mode, or only in math mode?
Both. \H{o} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI

  • Hasilkan diagram TikZ yang indah menggunakan AI
  • Unggah gambar dan konversi ke LaTeX dengan mulus
  • Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian