From: Carsten Dominik <dominik@uva.nl>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: "org-mode list" <emacs-orgmode@gnu.org>,
"Günter Lichtenberg" <mail@guenterlichtenberg.de>
Subject: Re: Exponential numbers in latex table export
Date: Thu, 29 Mar 2018 10:37:22 +0200 [thread overview]
Message-ID: <CADn3Z2+=DbKGQhOSzFuto1f=HRx6Hr_baDcmMHaGUHhxmxBjRg@mail.gmail.com> (raw)
In-Reply-To: <87fu4kqusq.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]
On Wed, Mar 28, 2018 at 1:55 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> Hello,
>
> Günter Lichtenberg <mail@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
>
>
[-- Attachment #2: Type: text/html, Size: 2442 bytes --]
next prev parent reply other threads:[~2018-03-29 8:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-27 17:49 Exponential numbers in latex table export Günter Lichtenberg
2018-03-28 11:55 ` Nicolas Goaziou
2018-03-28 16:37 ` Günter Lichtenberg
2018-03-29 8:37 ` Carsten Dominik [this message]
2018-03-29 15:51 ` Julius Dittmar
2018-03-29 17:29 ` Carsten Dominik
2018-03-29 20:14 ` Nicolas Goaziou
2018-03-30 17:52 ` Carsten Dominik
2018-03-30 20:21 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADn3Z2+=DbKGQhOSzFuto1f=HRx6Hr_baDcmMHaGUHhxmxBjRg@mail.gmail.com' \
--to=dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=mail@guenterlichtenberg.de \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).