From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IKNrEnGZf2c/9gAAqHPOHw:P1 (envelope-from ) for ; Thu, 09 Jan 2025 09:40:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IKNrEnGZf2c/9gAAqHPOHw (envelope-from ) for ; Thu, 09 Jan 2025 10:40:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b=Hhngrlda; 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=pass (policy=reject) header.from=berkeley.edu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736415601; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WBvdAmrxO9wFrcC7IYv2Pj1SsY3CHJU3Ywsra26S6z4=; b=qX9Gnfg4BDs+HF/2ZqABMVRcd6y1PouO8EEj310JKENfiBUeoU825oZ9hwvP8I/ti4WGul pIm0+Nox9rlKS7ZavkHjBRZujO5hN9J54LbCHCAlaITFITLYDyxqssvRRKd+407qSQdfPb 7z1fXMbYC5NaNkyrO3ric71F/aoWsBQEqHtSnmEIyHPqbqhceA9zFOPS6ab8f17jvFlRpq 0Jh3Yj/WJwc3+7aW8JjWdkDa7im3iIHA/IJUNp/D4WcTE9sgUhuFrg/bzXNsB+L3999Y6U flG7HJM0DGni35Rf6M6dnznSEU+0RA4LDyO8MuniwvFJSE1kqXkypjdm2IaCxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b=Hhngrlda; 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=pass (policy=reject) header.from=berkeley.edu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736415601; a=rsa-sha256; cv=none; b=pp4ygORvJPe9qwAPW1facPwEmy/d1VxFezMo89j1FKlr6EEudgTarc5XD/HoE2h1O0IZYL w5VtGPUPXFy58LL/cLIogSlN4QnII3zNg4A/vXa+jsNYip7bVsTUUJDGQaVowzkiCW4YrT RdHaLYm6QM14kofcKbps5d8xScc2l0+yWI23z3zZVIYn5gST/huVIOK5JTgAFc4gupQZkb BoTAf8IXCKu5/vJDji1QwYJi21mhDYJYWBt1q0n5yBJmOusHgBlXc7gEhDqZczLkKoxkAT hUehALyBU0CzvMxvh1tQSPR15FEuNB/I4U2AsgsgNfcY9W0DHys5euxVcY62Lg== 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 56AA28D75E for ; Thu, 09 Jan 2025 10:40:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVp0S-0000tM-Ab; Thu, 09 Jan 2025 04:39:12 -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 1tVp0N-0000so-Pb for emacs-orgmode@gnu.org; Thu, 09 Jan 2025 04:39:08 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVp0L-0001yD-CR for emacs-orgmode@gnu.org; Thu, 09 Jan 2025 04:39:07 -0500 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-2166360285dso10616155ad.1 for ; Thu, 09 Jan 2025 01:39:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; t=1736415542; x=1737020342; darn=gnu.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=WBvdAmrxO9wFrcC7IYv2Pj1SsY3CHJU3Ywsra26S6z4=; b=HhngrldaVvLkTtDHvdJ2yUeqwOkWCCa43bbhxCYyURsD0BSk8d/wEOL5rX8wlTwQcP 0702KCLd8jgfVRQeBEQn8IIYAnh6bKb57VoS3SETbux/eMrnfpMGuxTfQKASFUjdNcwn i3pZC/5QcEgi+YM+IeJCXEsMzf36q5KlzmGRu7kCECJPIJh6Nbp2bKJox7serMCK0DQR FUxHWGTbJuBEOH2l+zda+TQDIaQt3Teziojt13GHzRqPMdjgs4i9/mRAAyIpXM1hjijS zfkQwqhmqbyKXpCDeqQsWd4bbOnqHGwuL8F3fCzhT0Nd+GO+u5Nv1zkArN35Uy75ORKt JtwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736415542; x=1737020342; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WBvdAmrxO9wFrcC7IYv2Pj1SsY3CHJU3Ywsra26S6z4=; b=ofdJWryl5aJ2ZFhfDTeraZB4h+J/4hZX8MMP2/9dxjKeQdz8fE4mU/IshKgzlagAou 0SDzvAP3k7shRbIv8lsKgeNCGbkk4ijgUFmLWaONf4Ljv6c6uKieOfiEt9Lj33Xf7xK4 LpGJKtfApHUDPPr+bNqxcoh3npE4KnoMl9l2R2JVdwrpsVDhF5+0AmGen7/LM0/+iVho ghKjtX/eUVSj7aQ7hPmNAXlwxwQziWYarWJ/P0biNE7AX9gyZ17D6WV+EAYyHorvIo56 AJE6eEVgEj53xOPNJc7bm+YfOfEvmtiWaimi3NYs5ByuwNLeHuHGn67W6Y6L8HRVV/zq ccNw== X-Gm-Message-State: AOJu0YwJWaka0IeQSOCcWFnsR3v/sVEcBj/GbSCW0PvDtmitGm4vr34/ FKdS9DpYqaBYl+Yr2s2nJaJBwcTxmWFTxc/ofuoMkcm9Xksk+ALHMz/oUVpHednfT+0EGFc1MKi qGw== X-Gm-Gg: ASbGncssnvSw7FYTg82nboDj2EJ9a7kOrLCo8CsVDlfEOnYq9ltedxGN1sMrfU89b6R /X2XvftLNyEdKT57HHdhv8vUdzGUXceJXB+l1SBvZOlehWV9X6mLP0JpU359TSgzIhL8gm85GQl gcr7l6bF0L+YyO35ZfCWxobeOCxEQP0VpFIb0QCaGFEPKP9DnDbJtP9+xBrA+x4s+uEbEyPjAQ4 HK2Ol04WKR20+3dI8H8L+xZDw3JPPEn5j/kDY1tvxb1rCLyrkVIIxWdtnsXgpTn/UtLkyU8vFpk uns7hMbn1GOMpcYjayX514gIaOvzikmfFhxf+pV1vGH6z9o= X-Google-Smtp-Source: AGHT+IElJWh/L6ccnu+Cc25Gcsh80Oa7a97abv6vgRBs8Cg87/xiuaHB4aaGcKkvwJ+tFNfZ4NaE1Q== X-Received: by 2002:a17:903:2449:b0:216:6f1a:1c77 with SMTP id d9443c01a7336-21a83fb0db0mr106333555ad.43.1736415541432; Thu, 09 Jan 2025 01:39:01 -0800 (PST) Received: from smtpclient.apple (157-131-199-171.fiber.dynamic.sonic.net. [157.131.199.171]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21a95443ab2sm3149525ad.205.2025.01.09.01.39.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jan 2025 01:39:00 -0800 (PST) From: Richard H Stanton Content-Type: multipart/alternative; boundary="Apple-Mail=_DD76AC80-AEB9-4426-92A3-4428DE596082" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Subject: How to specify column alignment in LaTeX table output? Message-Id: Date: Thu, 9 Jan 2025 01:38:48 -0800 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3826.300.87.4.3) Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=rhstanton@berkeley.edu; helo=mail-pl1-x629.google.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.369, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -3.18 X-Spam-Score: -3.18 X-Migadu-Queue-Id: 56AA28D75E X-TUID: 8+qU3HRL7OZx --Apple-Mail=_DD76AC80-AEB9-4426-92A3-4428DE596082 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Here=E2=80=99s a table in my org document: #+ATTR_LATEX: :align rrrr :options [htbp] #+begin_table |-------+--------+-----------+------------| | Tier | Number | Total | % of Total | |-------+--------+-----------+------------| | 1 | 4 | 8,700.00 | 57.39 | | 2 | 19 | 5,398.00 | 35.61 | | 3 | 24 | 1,061.40 | 7.00 | |-------+--------+-----------+------------| | Total | 47 | 15,159.40 | 100.00 | |-------+--------+-----------+------------| #+end_table I want all the columns to be right-aligned (as they are in the org = document), but when exported to LaTeX/PDF, the =E2=80=9CTotal=E2=80=9D = column in the output table is left aligned instead. Here=E2=80=99s the = relevant section of the .tex document generated during PDF export: \begin{table}[htbp] \begin{center} \begin{tabular}{rrlr} \hline Tier & Number & Total & \% of Total\\ \hline 1 & 4 & 8,700.00 & 57.39\\ 2 & 19 & 5,398.00 & 35.61\\ 3 & 24 & 1,061.40 & 7.00\\ \hline Total & 47 & 15,159.40 & 100.00\\ \hline \end{tabular} \end{center} \end{table} What am I missing? If relevant, org-version returns Org mode version 9.8-pre (release_9.7.18-223-g7ef659 @ = /Users/stanton/.emacs.d/straight/build/org/) Thanks for any suggestions.= --Apple-Mail=_DD76AC80-AEB9-4426-92A3-4428DE596082 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Here=E2=80=99s = a table in my org document:

#+ATTR_LATEX: :align rrrr :options [htbp]
#+begin_table
|-------+--------+-----------+------------|
|  Tier | Number |     Total | % of = Total |
|-------+--------+-----------+------------|
|     1 |      4 | =  8,700.00 |      57.39 |
|     2 |     19 | =  5,398.00 |      35.61 |
|     3 |     24 | =  1,061.40 |       7.00 |
|-------+--------+-----------+------------|
| Total |     47 | 15,159.40 |   =   100.00 |
|-------+--------+-----------+------------|
#+end_table

I = want all the columns to be right-aligned (as they are in the org = document), but when exported to LaTeX/PDF, the =E2=80=9CTotal=E2=80=9D = column in the output table is left aligned instead. Here=E2=80=99s the = relevant section of the .tex document generated during PDF = export:

\begin{table}[htbp]
\begin{center}
\begin{tabular}{rrlr}
\hline
Tier & = Number & Total & \% of Total\\
\hline
1 & 4 & 8,700.00 & 57.39\\
2 & 19 & 5,398.00 & = 35.61\\
3 & 24 & = 1,061.40 & 7.00\\
\hline
Total & 47 = & 15,159.40 & 100.00\\
\hline
\end{tabular}

\end{center}
\end{table}

What am I = missing? If relevant, org-version returns

Org = mode version 9.8-pre (release_9.7.18-223-g7ef659 @ = /Users/stanton/.emacs.d/straight/build/org/)

Than= ks for any suggestions.
= --Apple-Mail=_DD76AC80-AEB9-4426-92A3-4428DE596082--