Hi,
This patch is motivated by a question to the list. I have no access to
savannah right now (and again!)
Best, /PA
--
Pedro A. Aranda
ox-latex & ox-beamer maintainer
Sagen's Paradeiser! (ORF: Als Radiohören gefährlich war) => write BE!
IA: onomatopeya del rebuzno
2nd year of the New Koprocracy
From df5d577f9cbd38ec373d70ddc464a5f671f06b22 Mon Sep 17 00:00:00 2001
From: "Pedro A. Aranda" <[email protected]>
Date: Tue, 6 Oct 2026 08:15:26 +0200
Subject: [PATCH 24/24] org-manual: Document number customization in tables
* doc/org-manual.org (*** Tables in LaTeX export): Add an example of how
to change how scientific numbers in LaTeX tables.
Reported-by: Angelo Graziosi
Link: https://list.orgmode.org/[email protected]
---
doc/org-manual.org | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/doc/org-manual.org b/doc/org-manual.org
index bbe47ffdd..6ae721eb0 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -14895,6 +14895,24 @@ Set the caption with the LaTeX command
| ... | ... |
#+end_example
+#+vindex: org-latex-table-scientific-notation
+#+vindex: org-latex-packages-alist
+If your table has numbers in scientific notation, you can control how
+they are shown with the variable
+~org-latex-table-scientific-notation~. For example:
+
+#+begin_src emacs-lisp
+(setq org-latex-table-scientific-notation "\\num{%se%s}")
+#+end_src
+
+#+texinfo: @noindent
+will print your numbers as \(m x 10^{exp}\) instead of using the
+engineering format =m.mmmEnn=. The first string placeholder(=%s=) in
+~org-latex-table-scientific-notation~ will be replaced by the mantissa
+and the second by the exponent. *Note* that to use the example above, you
+will need to add the ~siunitx~ package to your
+~org-latex-packages-alist~.
+
*** Images in LaTeX export
:PROPERTIES:
:DESCRIPTION: How to insert figures into @LaTeX{} output.
--
2.53.0