title: What is the R markdown equivalent to LaTeX \texttt?
body: <p>What is the R markdown equivalent to LaTeX <code>\texttt</code>?</p>
  
  <p>With this MWE:</p>
  
  <pre><code>---
  title: "A test"
  author: "Alessandro"
  date: "February 19, 2016"
  output: pdf_document
  ---
  ```{r, echo=FALSE}
  d&lt;-data.frame(product_name=c('d','a','b','c')) # what to write here to get a typewriter font?
  ```
  
  Product names are: `r sort(d$product_name)`.
  </code></pre>
  
  <p>I get this pdf:</p>
  
  <p><a href="https://i.stack.imgur.com/6XCvi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6XCvi.png" alt="enter image description here"></a></p>
  
  <p>While I would like to get the output from this <a href="https://www.overleaf.com/4388270pqccss#/13083824/" rel="noreferrer"><code>.tex</code> file</a> </p>
  
  <pre><code>\documentclass[a4paper]{article}
  
  \usepackage[english]{babel}
  \usepackage[utf8x]{inputenc}
  \usepackage{amsmath}
  \usepackage{graphicx}
  \usepackage[colorinlistoftodos]{todonotes}
  
  \title{A test}
  \author{Alessandro}
  
  \begin{document}
  \maketitle
  Product names are: \texttt{a, b, c, d}.
  
  \end{document}
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/aHBct.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aHBct.png" alt="enter image description here"></a></p>