From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cGcJHxrygGdNmQAAqHPOHw:P1 (envelope-from ) for ; Fri, 10 Jan 2025 10:10:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cGcJHxrygGdNmQAAqHPOHw (envelope-from ) for ; Fri, 10 Jan 2025 11:10:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rensoliemans.nl header.s=soverin header.b=Jyfo+w7R; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736503834; 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=+91wZNRTngKasrZhAgV4A+2Aeu85e3H8mTgD6L6Zs0s=; b=brgNXA9vqhyHNBi0a0j6uXSUgCTVxkj7s9Lf57KakZAPmhU9CQmMEuPQvRSRNco0lNsDxz g6CqtO99CQfiD5UDMok3Tx014Xm9FIPPkHSVk8WkyI4re9DkVArzMHOMyQYAtqtkQec/fO utybGLizfO23IoUXQLk6GKyX7hflYqCi3XaQLFb8NhMPsJDxvPPAwLHOreMQj9AKUxAyIx 63WQCPVagKL7VKP+JybvN4dvzr1gxVag35HfwjxY80LqUQ2neUrsQtK5R9Vs2CN+iRWtee 3Ad5OMCQHz/IdlL+XeUh5QM6cLw9tn3PFUWH9ExI4rtewaVASSEZPlZKez9abg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=rensoliemans.nl header.s=soverin header.b=Jyfo+w7R; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736503834; a=rsa-sha256; cv=none; b=gKFFcUgUS8f7zI14xv+Rl4SmFSLrZZisWWMJDP3VnaEk/cpABvmWc6GJ/o1AlgP5VpM1nC bb7M9z031F27cFwzAN124zPvNhuCO96s7EUqhPt+UZfBcy/Jw9NovFttt7iHBRZp8laJ3V qgKDKDrIZedAnbOysCiM6aC9IUBxhctbwKb3uN+doPJwGO26iCBIlqUG8lrQsUga7v84ur aKtifPQq+KsPJbGeDYvJoRmzyHAV1GGDll5DCD2zSYRiOd82b56HfMeDRWFGpnBm0tz80H sKNWVVVEEP9RezOOZVBq0C6nqhtNc+YkdhYuFxNVdQwN77C85Be4Jzh9GF9Yfw== 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 3A14A1410 for ; Fri, 10 Jan 2025 11:10:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWBhK-0004cQ-Rq; Fri, 10 Jan 2025 04:52:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tWBhF-0004bh-Ut for emacs-orgmode@gnu.org; Fri, 10 Jan 2025 04:52:54 -0500 Received: from outbound.soverin.net ([2a10:de80:1:4092:b9e9:2292:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tWBhD-0002wf-RW for emacs-orgmode@gnu.org; Fri, 10 Jan 2025 04:52:53 -0500 Received: from smtp.soverin.net (c04cst-smtp-sov01.int.sover.in [10.10.4.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4YTxlz1s3Hz1S; Fri, 10 Jan 2025 09:52:47 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4YTxly6jtPz7h; Fri, 10 Jan 2025 09:52:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rensoliemans.nl; s=soverin; t=1736502767; bh=JRXZDJgqI6F20lc3N5JeAYrqACeo526jZ6rrj4eFpEc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Jyfo+w7Rgng0OZV59tHiRnssE2aBaJ0kwyv3yMcYBfbZA2qtDv3Y9XsGkGP/2sp9j h9ny/itMSQPfGjBh26ACzNSEBDXJJybZXTE3DFGEmb6r6D9/HTApjvnGVOwRhdWSDm f5RyJYarEKxQBdmywtal0FfasdtYeCFAO8VcMfScqfZf3UVoXvqjdpt+reh/hcHGY8 i4XbCYz71mvqiDdaMdxN9ZmSYPzd4+RE5Rze+CtbjxYglWAV1wIkoKLJxdVkIMuwCB ha77GRqKeQ+jVOcGda5kSJqhT7wYP1TQk1vMSFWAAYLtW65YA2f7rKHYT1vSgJ5T0K IbrfGB3Pfzvzg== X-CMAE-Score: 0 X-CM-Envelope: MS4xfKLao3xV4n29OLiLq14hlO9OB7MdNfpb+sO+YJ7I3gPGycgEM2pthCo4CqBdP8N8Iq456Sih2fE2lsMYXVqyqUndSWtSC5ZX5HIdJCOI4pKi6mlaG/zz V+aLkBXCosE6RkhaXtGaof6mpEvG3V71VvoGs6El9jHzKV8mInvPWgZQ4HKMKNvaX+bbg90DqQQZ6dwAisWG6iPbQGXVIbOoiUHrXi19CbtZMwC0YWtxfef6 C24gh/onHqjHK5DrlTfIaiKSc0jF9MnO4YTorB1oXIBaB5IS4ceEhY52uZDAhQGZ X-CM-Analysis: v=2.4 cv=WMmFXmsR c=1 sm=1 tr=0 ts=6780edef a=4bom3OyIvp8zk49k3DLuvQ==:617 a=xqWC_Br6kY4A:10 a=7hDQmc_KAAAA:8 a=m1th2pycsiD09fakm2MA:9 a=_L9qfqpHt6jrFkVy2E_N:22 From: Rens Oliemans To: Richard H Stanton Cc: emacs-orgmode@gnu.org Subject: Re: How to specify column alignment in LaTeX table output? In-Reply-To: <87wmf3vw3i.fsf@rensoliemans.nl> References: <87wmf4qoju.fsf@rensoliemans.nl> <9F2C7295-E505-47DA-BF76-078F0C28B9E6@berkeley.edu> <87wmf3vw3i.fsf@rensoliemans.nl> Date: Fri, 10 Jan 2025 10:53:38 +0100 Message-ID: <87tta7vvtp.fsf@rensoliemans.nl> MIME-Version: 1.0 Content-Type: text/plain X-Spampanel-Class: ham Received-SPF: pass client-ip=2a10:de80:1:4092:b9e9:2292:0:1; envelope-from=hallo@rensoliemans.nl; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 3A14A1410 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.96 X-Spam-Score: -0.96 X-TUID: sEBgfHXax+HT Rens Oliemans writes: > > #+RESULTS: > |-------+--------+-----------+------------| > | Tier | Number | Total | % of Total | > |-------+--------+-----------+------------| > | 1 | 4 | 8,022.65 | 65.45 | > | 2 | 19 | 1,549.71 | 12.64 | > | 3 | 24 | 2,685.28 | 21.91 | > |-------+--------+-----------+------------| > | Total | 47 | 12,257.65 | 100.00 | > |-------+--------+-----------+------------| > > #+ATTR_LATEX: :align rrrr :float t :placement [htbp] > #+RESULTS: Ah, here we see the exact problem we've both just attested to! The #+RESULTS: code block got recreated because I was messing around with ':results' headers, and the #+ATTR_LATEX: line doesn't belong to the correct table anymore. You will notice that if you move the #+ATTR_LATEX line above the table, Org mode will keep replacing that table on later code block evaluations (usually ;))