From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cPEWGazm1WKTHwAAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 01:03:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YLIaGazm1WL9dwEA9RJhRA (envelope-from ) for ; Tue, 19 Jul 2022 01:03:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D45923EDB for ; Tue, 19 Jul 2022 01:03:07 +0200 (CEST) Received: from localhost ([::1]:35814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDZlb-0000Hr-1H for larch@yhetil.org; Mon, 18 Jul 2022 19:03:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDZkn-0000FR-0W for emacs-orgmode@gnu.org; Mon, 18 Jul 2022 19:02:17 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDZkk-0005If-TP for emacs-orgmode@gnu.org; Mon, 18 Jul 2022 19:02:16 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CF6C6240028 for ; Tue, 19 Jul 2022 01:02:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1658185332; bh=q3CR6e07KtGB/Zpl92B8ONr/INfcC/GEpFwENiNiex0=; h=From:To:Cc:Subject:Date:From; b=Ak6MNzT96PGMX3fp8UYNiUFMW/q8IhCe2EFfpsIkjMmAmYbyemHYzOstcG0hcfYkR 56PI07uvxhg7gRwWXC/YV3LAJt6kPcZ3IGnCMQkbRmDH36aos8CteyXHeK5Thf9VgE Jb+94jWlqR04/RCawmZM9p8pZUoNTFxgwH6NwwrOwlTXz4vtNijWU6G/CCT1pr2ze1 GN4J7VRkYwXI4U0Y6uP/eNHhaUYU3kmfncq3r1pRjKOvvTsuwrC0Di9rKyjoLyLKrt OeNOA65VitLmviM80aSmU7/51Ui68atmC7WV/RrcwmiqYFGjC755Laa2rU4VqPtU90 DJABNlnaWu6rA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LmyCR0tDMz6tnd; Tue, 19 Jul 2022 01:02:10 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Uwe Brauer Cc: orgmode Subject: Re: org-table with different conventions: decimals References: <87zgh6gb78.fsf@mat.ucm.es> Date: Mon, 18 Jul 2022 23:02:09 +0000 In-Reply-To: <87zgh6gb78.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 18 Jul 2022 08:57:15 +0200") Message-ID: <87lesqvxce.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658185388; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5BKoU9NiIUVnf2s5pCbfahzlzrYdIBR3P+JPspWcgaI=; b=Fr4LPVEjxJjaPnfu7KNmDo4hcz4/UBna2kxTJDPBHUs+n8U2qdGnHCDBW+iCkdImRpdx3A BJ+9iJZii4IfzRiZ4S7JwBfFDkFmyre188e7gZk4wFpymjSC9ko1s5QTMkYv+S/oSby6tr N5av8hXjHQWOuOiga+jWIJuqTE/4H/XBmvbhRTtWeR2nYKlTeic3N3s0u106zuKoJRqIAh lASYn/MzZXqMXjqeBNon1ESEPrUHkeRYl/XWAeRuL0hInCbYoDWZTh1WsVvnohoujSHxUh n15/b70FtLVn9ld78tdbbBypqfc4uANdkMIVrv5sgrGbv/P1dbQZrEhbhMEXEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658185388; a=rsa-sha256; cv=none; b=RtxfZa9FQWGf0Z0Q/VPNAZ3D4nRL6mXWbEoDw2KZULss1qcMDhtwHy4mvj8Xoqqj86AN0v pVmAQJ9DLKhIf4X5qvXWCm0GpHmnpNUQY/z5ka0Pl0pSDb1Ah41d9w2IyMHMwf+QAB7NWg EyVUx9KXyOHQ8sJeztj4LBnBqMLm2NwpHE26Krad6dmYk36bjWraRNAmJHb0Csh+v/JQZa UaKrFwDsmllemrqgiX7dl/Rflq01Lnid6124r1ZtyprcH+voYfWQHxbkCUPUDchAAOrpUw +nUzJl9GdJO9hLhXyP8Q7wDpWwQ/UvStE7yyF6ZbIIlLVnEMTUA+XjYYzirREQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ak6MNzT9; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.94 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ak6MNzT9; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D45923EDB X-Spam-Score: -8.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4I99gXyB0pk6 Uwe Brauer writes: > Now if I want to switch to the convention used in Germany (that might be > relevant if I want to export it later to csv, but this is a different > topic) does work in a strange way, any comments? [...] Hi, Uwe, If you only need to export to LaTeX you can load the siunitx package, which not only fits the decimals perfectly in a table but you can also define a value for the decimal sign that will be seen in the PDF. It has a small drawback. Columns with numeric value (S) cannot contain anything other than numbers. If you want to add an arbitrary text string in one of those columns you must enclose that string in {}. That is, on the org side it would be @@latex:{foo}@@ You can try this with your example: #+LaTeX_Header: \usepackage{siunitx} #+LaTeX_Header: \sisetup{detect-all} #+LaTeX_Header: \sisetup{output-decimal-marker = {,}} #+ATTR_LaTeX: :align SSS | 3.5 | 4.2 | 7.7 | #+TBLFM: $3=$1+$2 Best regards, Juan Manuel