1

My minimal non-working example is:

\documentclass[12pt]{article}
\usepackage{fontspec}
\setmainfont{EB Garamond}
\begin{document}
This is a test. Quisque
{\addfontfeature{RawFeature=+hlig}standard, acta, \textit{speak, skies, standard, select}}
\end{document}

I got the code of \addfontfeature from EB Garamond's specimen file. However, I'm not getting the ligatures as they should appear. Does anyone have a clue to how to get them to work? I'm not a font expert :-(

  • 4
    there are two flavours of EB Garamond. The specimen file describes the one which is not in texlive. See tex.stackexchange.com/a/503167/2388. – Ulrike Fischer Aug 18 '19 at 12:32
  • 2
    That link helped indeed. I had downloaded the OTF files from that site and put them in my current directory, but it was apparently taking the files from texlive. Specifying the path and the font files, fixed the issue. Thanks! – Tommiie Aug 18 '19 at 12:40

Your Answer

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

Browse other questions tagged or ask your own question.