title: Reduce cell width and font size of table using pandoc.table()
body: <p>I'm using <code>knitr</code> and <code>pander</code> to make a table in a markdown file. I'm converting the markdown file to a PDF using Pandoc from within R.</p>
  
  <p>This code:</p>
  
  <pre><code>library(knitr)
  
  ```{r myTable, echo=FALSE, message=FALSE, results='asis', comment=""}
  
  library(pander)
  pandoc.table(head(iris))
  
  ``` 
  </code></pre>
  
  <p>then running this function within R:</p>
  
  <pre><code>knitsPDF &lt;- function(name) {
    knit(paste0(name, ".Rmd"), encoding = "utf-8")
    callformat &lt;-"pandoc -V geometry:margin=1in  %s.md -o %s.pdf"
    system(sprintf(callformat, name, name))
  }
  
  knitsPDF(name) # insert file name of .Rmd file
  </code></pre>
  
  <p>produces this table in the PDF file:</p>
  
  <p><img src="https://i.stack.imgur.com/F2p1m.jpg" alt="enter image description here"></p>
  
  <p>How can I 1. Reduce width of columns in table? 2. Reduce font size of table?</p>