From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EHSgOpylE2dmKgEA62LTzQ:P1 (envelope-from ) for ; Sat, 19 Oct 2024 12:27:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EHSgOpylE2dmKgEA62LTzQ (envelope-from ) for ; Sat, 19 Oct 2024 14:27:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=n83302LT; dmarc=pass (policy=reject) header.from=city17.xyz; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729340828; a=rsa-sha256; cv=none; b=agRZ5i6TT7VBvag1++5/jdYoE9JKok9fwROG7gDBCrVQE9Ea8e0yz1CIexrx7HfZmPZHWV 5CFFcSPxMCqD93MICRJLJiYemMKZoLlCdI4vKpMZsuJpv61o0F3NsLAzEufHx1uG8c3O4H oiC1O+tyYwTfqtpnj6uofd3vNujVK+kKqlG0lks4EIb3ivs/sK36pRNHxMNeXARgnMiVST 0FOqEXDK0SMCl5QJ9zqlSFDNXjOuumhzH05XY0/ZEUzz8YwlzPAxV87TbDxh1/epgPx4aw /lV46bn7VHBM5jWxguZ0jyVxKZLWef8EzAE1NdkFC71XcksUALqtREM4rGwXIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=city17.xyz header.s=dkim header.b=n83302LT; dmarc=pass (policy=reject) header.from=city17.xyz; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729340828; 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=+2N2Qujx4BMDYLC6XFON/rLKuIJCdAMI7uylHgsALyY=; b=HBfZ3/SBZ90olj09lvuKoE7o40f0uDSLVz5wY0kd94CRAHImPLpQGa7M6/HMe2/+CttoQd UNcC5FGfvR8m/MqrfBUeu7brt2S7drOmDFz4nU+CVPe6jG65IpzbLi6bUqf+SLQ+Ehf74j jo+XnoV3hOAEMzSafZfNM3oIc7a4mUbnitQM6zYp4UKE84DPrp6MOwg7jef0gRDplZcxv9 nOndQlxExG7bo2WhPWGJd/fBZQqVzf54fV9sA4Ne/tBwjgPp7Mddw3YCF0/iBa8AUGsb2M sPRZCwqbIzRKcC+dkdOmVcbllyveaDI+RCVff1x00+VKdG/XTeSNkZOduc6n/A== 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 BBA6A18AEB for ; Sat, 19 Oct 2024 14:27:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t28X6-00043q-0Y; Sat, 19 Oct 2024 08:26:12 -0400 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 1t28X4-00043b-Ip for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 08:26:10 -0400 Received: from [2a0a:51c0::f:c:10] (helo=mail.city17.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t28X2-0007f4-Hf for emacs-orgmode@gnu.org; Sat, 19 Oct 2024 08:26:10 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 3CF264E249; Sat, 19 Oct 2024 14:26:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=city17.xyz; s=dkim; t=1729340764; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=+2N2Qujx4BMDYLC6XFON/rLKuIJCdAMI7uylHgsALyY=; b=n83302LThb6tzKcIm3Fn0XVMRX9Rbu+zNMkGSXzZsJbV9nRyKJ0GhwFMZ+uR0eFNxSLdKG j+vmiZzhtPnXnNRSFPFF6N9mqKAaIU0ANkq9RL9KyS5JZ7iLWrnNTqdveKiLmTJRzCdGI6 xjSsxLZoyWu3r8NEqp1zm24U/LMLo4bb71VTnMjE3isQ/01/IQauOFiHKMyNNq2Pf9UHLe aL981AknyvTgE47iPta0dJDC4Tsn2DFicxLyKUFuCwgImIlMLf/CQW7ESsZ0NyXOn/EUZr spWJ16Kuqv5NWdQNmqzEBCUzPHK+BLQDZ2O11/J6tL2DqGfTLGw4GLonLSG2hQ== From: jman To: Mark Barton Cc: Org Mode List Subject: Re: Exporting tables with cell borders to Latex/PDF In-Reply-To: <7B398819-4668-4DA8-9369-17CF43A414EC@gmail.com> (Mark Barton's message of "Fri, 18 Oct 2024 16:37:45 -0700") References: <87jze5drn8.fsf@city17.xyz> <7B398819-4668-4DA8-9369-17CF43A414EC@gmail.com> Date: Sat, 19 Oct 2024 14:25:59 +0200 Message-ID: <875xpo2sa0.fsf@city17.xyz> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Last-TLS-Session-Version: TLSv1.3 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a0a:51c0::f:c:10 (failed) Received-SPF: pass client-ip=2a0a:51c0::f:c:10; envelope-from=emacs-orgmode@city17.xyz; helo=mail.city17.xyz X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Spam-Score: -1.46 X-Spam-Score: -1.46 X-Migadu-Queue-Id: BBA6A18AEB X-Migadu-Scanner: mx12.migadu.com X-TUID: 0+R/yMOHXuso Mark Barton writes: > Here is an example of using the #+ATTR_LaTeX: line to pass parameters to the LaTeX process that > creates the pdf. > > #+ATTR_LaTeX: :environment tabular :align |l|l|l| > |-----+-----+-------| > | one | two | three | > |-----+-----+-------| > | 1 | 2 | 3 | > |-----+-----+-------| Oh thank you for the tip! Now I've found a mention in the documentation: https://orgmode.org/manual/Tables-in-LaTeX-export.html I'll try unpacking the solution for clarity: `l` means align to the left, the pipe (`|`) means add a vertical separator. Here a bit more documentation about the tabular package: https://www.overleaf.com/learn/latex/Tables Note: I think it also works without setting `:environment tabular`, why? Cheers,