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!

6
  • Welcome to TeX.SX! A minimal example of code is needed. How do you use the font? With XeLaTeX?
    – egreg
    Feb 15, 2017 at 0:23
  • Indeed, with XeLaTeX. Would it help for me to include the preamble?
    – Diffycue
    Feb 15, 2017 at 0:25
  • Definitely so. As small as it is necessary to reproduce the issue.
    – egreg
    Feb 15, 2017 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 Feb 15, 2017 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, 2017 at 0:51

1 Answer 1

0

Here is a hacky way of achieving the desired result:

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

You must log in to answer this question.

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