I am preparing a beamer presentation where I need to display some markdown code involving backticks. Specifically, I want to show backticks in the verbatim environment. However, LaTeX renders them as open quotation marks.
How can I ensure backticks in the verbatim environment display as backticks?
Here's a minimal example:
\begin{verbatim}
Example: `2 + 2`
\end{verbatim}
An ideal solution would not require me to change the code itself.


LuaLaTeX/XeLaTeXwithfontspecgenerate the right characters. – ArTourter Jul 15 '12 at 10:22