On Wed, Mar 28, 2018 at 1:55 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:
> Hello, > > Günter Lichtenberg <m...@guenterlichtenberg.de> writes: > > > I have a document with many automatically generated tables that contain > > numbers in exponential Format, e.g. 2e09. When I export the tables to > LaTeX > > and pdf I get something like 2 (-09) in the pdf, if there is no character > > after the number in the table > > > > Minimal Example: > > |--------------| > > | 1.2e09 (abs) | > > | 2.3e-09 | > > | 3.4e09 | > > |--------------| > > > > exports to a latex table as > > > > \begin{center} > > \begin{tabular}{r} > > \hline > > 1.2e09 (abs)\\ > > 2.3\,(-09)\\ > > 3.4\,(09)\\ > > \hline > > \end{tabular} > > > > Note that in the first line the number is an exponential, the following > 2 are > > not. I could not find anything in the documentation. What am I missing? > > > > orgmode version is 9.1.4, but the same happens with emacs 25.3 built-in > > version 8.3. > > See `org-latex-table-scientific-notation'. I also find the default value > a bit surprising. I believe it is what Carsten uses. > Hi, I believe I ended up using this because I wanted something that is not dependent on having math-mode in the table column. What I would have really preferred is "%s\times10^{%s}", but that is less stable because you need then to know if the column will have math-mode or not. I agree that it is a bit odd and non-standard - so maybe using nil as default would be fine. Carsten > > Regards, > > -- > Nicolas Goaziou > >