Use new \code command instead of \texttt.