0

I am having what I think is a LaTeX problem but might just be a font issue. I'm using the font Quant Antiqua, which has both Cyrillic and Latin alphabets and I'm trying to write the name "Élie Cartan." But using

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\usepackage{inputenc}
\setromanfont[
BoldFont=bold.ttf,
ItalicFont=ital.ttf,
BoldItalicFont=boldital.ttf,
]{plain.ttf}

\begin{document}
Élie Cartan \\
\'{E}lie Cartan
\end{document}

both output a Cyrillic letter instead of the desired Latin letter with accent. Is there a simple way around this? Thank you!

  • Welcome to TeX.SX! A minimal example of code is needed. How do you use the font? With XeLaTeX? – egreg Feb 15 '17 at 0:23
  • Indeed, with XeLaTeX. Would it help for me to include the preamble? – Diffycue Feb 15 '17 at 0:25
  • Definitely so. As small as it is necessary to reproduce the issue. – egreg Feb 15 '17 at 0:27
  • you should not use inputenc (but that is not the problem, it just gives a warning and does nothing withe xetex) it sounds like the font that you have is not a Unicode encoded font but has the cyrillic in the slots between 128 and 256 matching a legacy 8bit encoding, such a font is not ideally suited to xetex – David Carlisle Feb 15 '17 at 0:46
  • Thanks; is there otherwise a way to force it to display the É character anyway? I'm totally fine with a hacky solution. – Diffycue Feb 15 '17 at 0:51
0

Here is a hacky way of achieving the desired result:

$\acute{\mathrm{E}}$lie Cartan
  • Ugh. If this is really needed I wouldn't use the font. – Ulrike Fischer Feb 15 '17 at 8:44
  • 1
    That is fine, I am not asking you to use the font :) – Diffycue Feb 16 '17 at 2:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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