[Tex/LaTex] How to do Paul Erdős’ name in LaTeX

accents

Paul Erdős' name has an "o" which has something a bit like an umlaut but not quite the same. How do you do this symbol in LaTeX?

Best Answer

You can directly input the ő if you use the utf8 inputenc encoding:

\documentclass{article}
\usepackage[utf8]{inputenc}
 %other useful packages
 Pál Erdős

Should work.

Otherwise you can use the \H command:

P\'al Erd\H{o}s should do the trick.

EDIT: I incorporated the correct name, suggested by @egreg

Related Question