0

How can I reproduce ā́ in plain (la)tex? \'{{\=a} doesn't work for me, it places the outer diacritic in front of the a-overbar.

2
  • Is it for use in maths formulæ?
    – Bernard
    Apr 5, 2020 at 9:30
  • No, for text mode.
    – retorquere
    Apr 5, 2020 at 9:33

2 Answers 2

1

If you're gonna work with pdfLaTeX, use tipa (it defines a lot of combinations for linguistic and philological purposes). Manual here.

\documentclass{article}
\usepackage{tipa}
\begin{document}
\textipa{\'=a}
\end{document}
9
  • 1
    I can't be sure pdfLaTeX will be available, but if no other options exist, I will mark this as the answer
    – retorquere
    Apr 5, 2020 at 10:07
  • pdfLaTeX is the LaTeX we use by default along with LaTeX. The main difference is the output. LaTeX outputs a .dvi file and pdfLaTeX outputs a .pdf files. In most cases packages do the same thing with both engines.
    – user193767
    Apr 5, 2020 at 10:11
  • 1
    I'm working on a plugin that exports bibtex from zotero -- I cannot control what engine will be used so I'm looking for the most general solution. But if this is the only way, that is the most general solution :)
    – retorquere
    Apr 5, 2020 at 10:20
  • Someone suggested covington off-site -- do you know how that would compare?
    – retorquere
    Apr 5, 2020 at 10:29
  • I see that \textipa{\'=a} works but \textipa{\='a} does not -- the manual doesn't indicate what order these should be in, do you know whether I can find this information?
    – retorquere
    Apr 5, 2020 at 10:33
1

You need to give pdftex a bit of help and manual positioning

enter image description here

\documentclass{article}

\usepackage[T1]{fontenc}

\begin{document}

1 \'{{\=a}} 

\def\zz#1{\={#1}\llap{\raisebox{.5ex}{\'{}}}}

2 \zz{a}



\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .