title: How to add a check mark to a xtable in an Rmd. file used to create a pdf
body: <p>I know I am being very picky here, but I am making a table using the following code using knitr in r markdown:</p>
  <pre><code>---
  title: &quot;Test table&quot;
  author: &quot;Derek Corcoran&quot;
  date: &quot;February 20, 2017&quot;
  output: pdf_document
  ---
  
  ```{r setup, include=FALSE}
  knitr::opts_chunk$set(echo = TRUE)
  ```
  
  ## Tables
  
  This is a $\psi$
  
  ```{r, results='asis', echo = FALSE}
  library(xtable)
  Softwares &lt;- structure(list(X = structure(c(9L, 5L, 7L, 4L, 1L, 8L, 6L, 2L, 
  3L), .Label = c(&quot;Alpha diversity models&quot;, &quot;Build in model selection&quot;, 
  &quot;Built in response plot&quot;, &quot;Multiple Species Abundance&quot;, &quot;Multiple Species Single Season occupancy&quot;, 
  &quot;Priority area selection&quot;, &quot;Single Species Abundance&quot;, &quot;Single Species Dynamic occupancy&quot;, 
  &quot;Single Species Single Season occupancy&quot;), class = &quot;factor&quot;), 
  Diversityoccupancy = structure(c(1L, 1L, 1L, 1L, 1L, NA, 
  1L, 1L, 1L), .Label = &quot;x&quot;, class = &quot;factor&quot;), Unmarked = structure(c(1L, 
  NA, 2L, NA, NA, 2L, NA, NA, NA), .Label = c(&quot;$\\checkmark$&quot;, 
  &quot;x&quot;), class = &quot;factor&quot;), stocc = structure(c(1L, NA, NA, 
  NA, NA, NA, NA, NA, NA), .Label = &quot;x&quot;, class = &quot;factor&quot;), 
  Presence = structure(c(1L, NA, 1L, NA, NA, 1L, NA, NA, NA
  ), .Label = &quot;x&quot;, class = &quot;factor&quot;), Pom = structure(c(1L, 
  NA, NA, NA, NA, NA, NA, NA, NA), .Label = &quot;x&quot;, class = &quot;factor&quot;), 
  camptrapR = structure(c(1L, NA, NA, NA, NA, NA, NA, NA, NA
  ), .Label = &quot;x&quot;, class = &quot;factor&quot;)), .Names = c(&quot;X&quot;, &quot;Diversityoccupancy&quot;, 
  &quot;Unmarked&quot;, &quot;stocc&quot;, &quot;Presence&quot;, &quot;Pom&quot;, &quot;camptrapR&quot;), class = &quot;data.frame&quot;, row.names = c(NA, 
  -9L))
  
  names &lt;- colnames(Softwares[,-1])
  colnames(Softwares) &lt;- c(&quot;&quot;, names)
  print(xtable(Softwares, align = rep(&quot;c&quot;, 8)), scalebox='0.75')
  ```
  </code></pre>
  <p>I had all the values where the function applies as an <em>x</em>, but I want to change it into a check mark. As you can see in the first part that is not a code were I put <code>This is a $\psi$</code>, it translates to what you would expect in a latex document. However, when I change an <em>x</em> to <em>$\checkmark$</em> as it is recomended in <a href="https://tex.stackexchange.com/questions/132783/how-to-write-checkmark-in-latex">this</a> link. It stays that way in the table, as shown in the image bellow:</p>
  <p><a href="https://i.stack.imgur.com/57D05.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/57D05.png" alt="enter image description here" /></a></p>
  <p>How can I change that to a checkmark?</p>