I am using the listings-Package to display code. As I am using The Consolas Font as the Monotype-Default I expected straight quotes which isn't the case (check my MWE)
\documentclass[a4paper]{article}
\usepackage{listings}
\usepackage{polyglossia}
\setdefaultlanguage[]{english}
\setmonofont[Ligatures=TeX]{Consolas}
\lstset{frame=single}
\begin{document}
\begin{lstlisting}
"some code to try"
\end{lstlisting}
\end{document}
Can Anyone help How to get straight quotes?


listingsdoesn't use the monospaced font by default, addbasicstyle=\ttfamilyto\lstset. – Torbjørn T. Nov 11 '13 at 14:12