From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Percent justification in Beamer tables Date: Mon, 05 Mar 2012 20:32:04 -0500 Message-ID: <3043.1330997524@alphaville> References: <87fwdmskbf.fsf@iro.umontreal.ca> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4jNN-0007eY-D3 for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 20:39:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4jNL-00085M-53 for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 20:39:40 -0500 Received: from g4t0014.houston.hp.com ([15.201.24.17]:19417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4jG4-0006FI-Er for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 20:32:08 -0500 In-Reply-To: Message from pinard@iro.umontreal.ca (=?us-ascii?Q?=3D=3Futf-?= =?us-ascii?Q?8=3FQ=3FFran=3DC3=3DA7ois=3F=3D?= Pinard) of "Mon\, 05 Mar 2012 18\:24\:20 EST." <87fwdmskbf.fsf@iro.umontreal.ca> 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: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FFran=3DC3=3DA7?= =?us-ascii?Q?ois=3F=3D?= Pinard Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Fran=C3=A7ois Pinard wrote: > Hi, Org people. >=20 > When, in an Org table, a column is made up of numbers, each of which is > immediately followed by a percent sign, table formatting within Emacs > right adjusts such numbers in their column, which is nice. Moreover, if > I publish such tables as HTML, numbers are right adjusted as well. >=20 > However, the same table inserted in a Beamer presentation shows the > number /left/ justified in their column, which is a formatting > discrepancy, or at least not what I expected. Could the justification > of percentages be made more uniform Org-wide? >=20 It's of course possible (even probable) that the latex exporter behaves differently from the html exporter in this case (and probably many other cases.) Historically, I believe the latex exporter was the first one and in those days, each exporter blazed its own trail, so inevitably we have a divergence of behavior. The new exporters based on Nicolas's org-element parser will presumably behave a lot more consistently. In the meantime, you can always override the latex behavior with something like #+ATTR_LaTeX: align=3D|r|r|l|r|l|r| to set the alignment of each column explicitly without affecting the HTML output. Nick