I want to use a dash in my beamer presentation, however 4--6
looks just like that in the output (i.e. the --
is not converted to a dash as it usually is).
Does anyone know a way around that?
Here's the requested example (could be it's xelatex…)
\documentclass{beamer}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage[spelling=new,latesthyphen=true,babelshorthands=true]{german}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O}
\setsansfont{Linux Biolinum O}
\usepackage{csquotes}
\begin{document}
\begin{frame}--\end{frame}
\end{document}
Best Answer
You can use
\textendash
, such as