title: table* environment from xtable
body: <p>If I do the following command:</p>
  
  <pre><code>xtable(diamonds[1:5,1:4], label = 'tab:myTab', caption='This is my caption',align = c("rr|lr|r"))
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>\begin{table}[ht]
  \centering
  \begin{tabular}{rr|lr|r}
    \hline
   &amp; carat &amp; cut &amp; color &amp; clarity \\ 
    \hline
  1 &amp; 0.23 &amp; Ideal &amp; E &amp; SI2 \\ 
    2 &amp; 0.21 &amp; Premium &amp; E &amp; SI1 \\ 
    3 &amp; 0.23 &amp; Good &amp; E &amp; VS1 \\ 
    4 &amp; 0.29 &amp; Premium &amp; I &amp; VS2 \\ 
    5 &amp; 0.31 &amp; Good &amp; J &amp; SI2 \\ 
     \hline
  \end{tabular}
  \caption{This is my caption} 
  \label{tab:myTab}
  \end{table}
  </code></pre>
  
  <p>My question is:  Is it possible to have the xtable output not {table}, but rather {table*}?</p>
  
  <p>========================= EDIT =========================</p>
  
  <p>I am taking into account Repmat's input. I am using the code found here (<a href="https://stackoverflow.com/questions/31258320/how-to-center-latex-xtable-output-in-full-text-width">How to center LaTeX xtable output in full text width</a>).</p>
  
  <p>1) I added one package to their preamble</p>
  
  <pre><code>\usepackage{tabularx}
  </code></pre>
  
  <p>2) Then, I changed their command:</p>
  
  <pre><code>print(x.big, tabular.environment ='longtable', floating = FALSE, include.rownames=FALSE)
  </code></pre>
  
  <p>To four commands:</p>
  
  <pre><code>print(x.big, tabular.environment ='tabular*', include.rownames=FALSE, width= "\\linewidth")
  print(x.big, tabular.environment ='tabular*', include.rownames=FALSE, width= "\\textwidth")
  print(x.big, tabular.environment ='tabularx', include.rownames=FALSE, width = "\\linewidth")
  print(x.big, tabular.environment ='tabularx', include.rownames=FALSE, width= "\\textwidth")
  </code></pre>
  
  <p>Each time, this generated an output as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/3E359.png" alt="This is the new output"></p>
  
  <p>When what I am trying to do is generate output more like:</p>
  
  <p><img src="https://i.stack.imgur.com/shXd5.png" alt="My goal"></p>
  
  <p>I would not mind having to just move the xtable over by a hard-coded specified amount too (like by 3 inches to the right) - but I have been able to figure that out as well.</p>