From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diogo Ramos Subject: 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 Message-ID: <87d1rhvkma.fsf@riseup.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZne1-00078Q-Fu for emacs-orgmode@gnu.org; Sat, 27 Feb 2016 17:47:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZndy-00063I-A3 for emacs-orgmode@gnu.org; Sat, 27 Feb 2016 17:47:25 -0500 Received: from mx1.riseup.net ([198.252.153.129]:53675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZndy-00062L-1F for emacs-orgmode@gnu.org; Sat, 27 Feb 2016 17:47:22 -0500 Received: from piha.riseup.net (unknown [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id EB6A01A1F42 for ; Sat, 27 Feb 2016 22:47:16 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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?