Normally I often use the sign -- to display a long minus sign — in my text. However, after using the fontspec package and setting my main font to "HelveticaNeue" the long minus sign isn't displayed anymore, but the two minus signs theirselves. Is there any possibility to change that behavior? Thanks for any hint.
\documentclass[11pt,titlepage,a4paper]{article}
\usepackage{fontspec}
\setsansfont[Scale=0.9]{HelveticaNeue}
\renewcommand\familydefault{\sfdefault}
\begin{document}
This is some text -- this is some other text. %not showing endash
\end{document}
\endashprobably shouldn't work in math, but if it doesn't work in text, then there's a bug. – barbara beeton Feb 06 '15 at 21:14fontspec. The most recent one enablesLigatures=TeXby default. – egreg Feb 06 '15 at 21:20\defaultfontfeatures{Ligatures={TeX}}right after\usepackage{fontspec}. – erik Feb 06 '15 at 21:23\defaultfontfeatureslooks like an answer. i didn't see that this was present in the question you mention as a possible duplicate. – barbara beeton Feb 06 '15 at 21:35