1

Possible Duplicate:
How to mix accents from different fonts?

In TeXBook, exercise 9.6 Knuth asks to type Pal Erdos with needed accents in \tt font.

The answer from the key is {\tt P\'al Erd{\bf\H{\tt o}}s}.

However this technique doesn't work in LaTeX. How to apply this to LaTeX?

outmind
  • 377
  • Also note that this might not be required for LaTeX at all. Simply load a modern font. Try \usepackage[T1]{fontenc}\usepackage{lmodern}. The \H macro is defined differently by plainTeX and LaTeX. – Martin Scharrer Jul 18 '11 at 09:50

1 Answers1

1
{\ttfamily P\'al Erd{\normalfont\bfseries\H{\ttfamily o}}s}
egreg
  • 1,121,712