title: org-mode latex export: wrap text around a table
body: <p>I can make text wrap around images by adding</p>
  
  <pre><code>#+CAPTION: foo
  #+ATTR_LATEX: :float wrap
  [[./my_img.png]]
  </code></pre>
  
  <p>If I do the same to</p>
  
  <pre><code>#+CAPTION: bar
  #+ATTR_LATEX: :float wrap
  | a | b |
  | c | d |
  </code></pre>
  
  <p>The table will stay centered in its own part of the document, the text being broken above and below it, not auto-flowing around it.</p>
  
  <p>I also tried to do something like</p>
  
  <pre><code>#+CAPTION: baz
  #+ATTR_LATEX: :environment wraptable :options {l}{5cm}
  | a | b |
  | c | d |
  </code></pre>
  
  <p>or using <code>:position</code> instead of <code>:options</code>, with no results.</p>
  
  <p>Basically I want the table to export to</p>
  
  <pre><code>\begin{wraptable}{l}{5cm}
     \begin{tabular}
     ....
     \end{tabular}
  \end{wraptable}
  </code></pre>
  
  <p>in the tex file. The arguments <code>{r|l}{width}</code> are mandatory, so simply <code>#+begin_wraptable</code> won't work either. Is there any way to do that from inside org-mode without manually fiddling with the final .tex?</p>