I am trying to typeset an em dash using --- inside an alltt environment,
but I get three hyphens instead of a single em dash.
MWE
\documentclass[12pt]{article}
\usepackage{alltt}
\begin{document}
Usually, \verb"---" becomes an em dash, i.e. "---", in normal mode.
But in the alltt environment, it becomes three hyphens.
\begin{alltt}
Please---will you give me an em dash?
\end{alltt}
\end{document}
Response to comments The comments asked why I want to typeset an em dash in a monospaced environment. I would like to typeset a dash that looks like an em dash, but takes the length of two spaces in a monospaced environment, i.e. like "--" but joined together to form a single em dash like character.



