3

This question already has an answer here:

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.

marked as duplicate by Stefan Pinnow, egreg pdftex Jul 22 '16 at 8:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Welcome to TeX.SX. Maybe this is related to Multiple diacritics on one character? – Stefan Pinnow Jul 22 '16 at 7:04
  • 1
    H\`an Th\raise .5ex \rlap{\char19}\^e Th\`anh? – Henri Menke Jul 22 '16 at 8:16
  • 1
    Or use the plain H\`an Th\'{\^e} Th\`anh and typeset with XeLaTeX. – Henri Menke Jul 22 '16 at 8:21
  • 1
    @HenriMenke if you're typesetting with XeLaTeX, you can use the unicode characters directly – Au101 Jul 22 '16 at 8:43
  • 1
    @Au101 ...given that your keyboard layout allows you to type them directly. – Henri Menke Jul 22 '16 at 9:06
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

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.