From: Nick Dokos <nicholas.dokos@hp.com>
To: =?utf-8?Q?Fran=C3=A7ois?= Pinard <pinard@iro.umontreal.ca>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Percent justification in Beamer tables
Date: Mon, 05 Mar 2012 20:32:04 -0500 [thread overview]
Message-ID: <3043.1330997524@alphaville> (raw)
In-Reply-To: Message from pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) of "Mon\, 05 Mar 2012 18\:24\:20 EST." <87fwdmskbf.fsf@iro.umontreal.ca>
François Pinard <pinard@iro.umontreal.ca> wrote:
> Hi, Org people.
>
> 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.
>
> 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?
>
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=|r|r|l|r|l|r|
to set the alignment of each column explicitly without affecting the HTML
output.
Nick
next prev parent reply other threads:[~2012-03-06 1:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 23:24 Percent justification in Beamer tables François Pinard
2012-03-06 1:32 ` Nick Dokos [this message]
2012-03-14 18:22 ` François Pinard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3043.1330997524@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=pinard@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).