title: Generate proper LaTeX table using tabulate Python package
body: <p>I'm using the <a href="https://pypi.python.org/pypi/tabulate/" rel="noreferrer">tabulate</a> Python package to generate a properly LaTeX formatted table.</p>
  
  <p>Here's a MWE:</p>
  
  <pre><code>from tabulate import tabulate
  
  table = [[r"${:.1f}\pm{:.1f}$".format(2.3564, 0.5487)],
           [r"${:.1f}\pm{:.1f}$".format(45.1236, 8.00021)]
           ]
  
  print tabulate(table, tablefmt="latex")
  </code></pre>
  
  <p>What I get with this example is:</p>
  
  <pre><code>\begin{tabular}{l}
  \hline
   \$2.4\textbackslash{}pm0.5\$  \\
   \$45.1\textbackslash{}pm8.0\$ \\
  \hline
  \end{tabular}
  </code></pre>
  
  <p>when the proper formatting would be:</p>
  
  <pre><code>\begin{tabular}{l}
  \hline
   $2.4\pm0.5$  \\
   $45.1\pm8.0$ \\
  \hline
  \end{tabular}
  </code></pre>
  
  <p>I.e.: the package is inserting backlashes before the <code>$</code> symbols, and replacing the backlash in <code>\pm</code> with <code>\textbackslash{}</code>.</p>
  
  <p>Is it possible to generate the correct formatted table?</p>