[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] How do I format numbers to an exported table to latex, produced by a
From: |
Diogo Ramos |
Subject: |
[O] How do I format numbers to an exported table to latex, produced by a code block? |
Date: |
Sat, 27 Feb 2016 19:44:45 -0300 |
I have the following org file:
--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC python :exports both
import numpy as np
return np.matrix([[.123456789, 2], [3, 4]])
#+END_SRC
#+RESULTS:
| 0.12345679 | 2 |
| 3 | 4 |
--8<---------------cut here---------------end--------------->8---
I want to export it to latex to produce a pdf but I want to format the
numbers of the table so I get, say
| 123.456e-3 | 2.000 |
| 3.000 | 4.000 |
on the exported pdf.
How can I do it?
- [O] How do I format numbers to an exported table to latex, produced by a code block?,
Diogo Ramos <=