[Tex/LaTex] Xelatex: Accent and macrons on capital letters. Multiple accents on a single letter

accentscharacterssymbolsxetex

I have trouble getting capital letters with a combination of accent and macron in XeLaTeX. I used this: \'{\=A}, but I didn't get the accent where I expected it to be. Also, i was wondering if it is possible to to have an upper case stressed capital letter?

Best Answer

If the font has the necessary glyphs, you cand use combining accents:

U+0304 COMBINING MACRON
U+0301 COMBINING ACUTE

Thus

A^^^^0304^^^^0301

or the direct input

Ā́

(find out how your keyboard can realize it) should produce the requested result:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\begin{document}
A^^^^0304^^^^0301

Ā́
\end{document}

enter image description here

Related Question