4

I wish to write the name of pdfTeX's author:

enter image description here

I am not able to figure out how to write the middle name. I triedTh\'{\^{e}}, but it doesn't return the desired output.

It's different from the similar double accent question: Multiple diacritics on one character since the answer there (using TIPA) doesn't work here. This is a very specific situation.

2 Answers2

5

It's a vietnamese name so for the best result you need a vietnamese font encoding:

\documentclass[]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T5,T1]{fontenc}

\begin{document}

T5: {\fontencoding{T5}\selectfont H\`an Th\'\ecircumflex{} Th\`anh}

T1: H\`an Th\'{ê} Th\`anh
\end{document}

enter image description here

With xelatex or lualatex you can input the character (U+1EBF) directly or use the accent command from xunicode:

\documentclass{article}
\usepackage{fontspec}
%\setmainfont{Charis SIL}

\begin{document}
Hàn Thế Thành

Hàn Th^^^^1ebf Thành

Hàn Th\textcircumacute{e}  Thành

\end{document}

enter image description here

Ulrike Fischer
  • 327,261
1

Based on Stefan Pinnow's comment I found the solution:

using stackengine package we can write:

\documentclass{article}
\usepackage{stackengine}
\renewcommand\stacktype{L}
\begin{document}
H\`an Th\stackon[3pt]{\^{e}}{\'{}} Th\`anh
\end{document} 

Note: I couldn't find the desired symbol in TIPA package.