emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: table alignment with org-pretty-entities turned on
Date: Wed, 31 Aug 2016 10:44:22 -0400	[thread overview]
Message-ID: <9dfe6e36-805d-3e2b-11bf-41ae5f5b8b02@gmail.com> (raw)
In-Reply-To: <87lgzd2vla.fsf@ucl.ac.uk>


[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]

On 2016-08-31 04:25, Eric S Fraga wrote:
> On Tuesday, 30 Aug 2016 at 18:12, jsj wrote:
> 
> [...]
> 
>> | a     | b | c |
>> |-------+---+---|
>> | α β |   |   |
>>
>> Is it just me or you can reproduce the same behavior?
> 
> I have seen the same at times.  Not always so it may be font
> related.  Not sure.

I'm not sure I understand the problem description. Turning on prettification does breaks table alignment; thus, 

| a      | b | c |
|--------+---+---|
| \alpha |   |   |

is always displayed as 

| a      | b | c |
|--------+---+---|
| α |   |   |

I can indeed reproduce this; one way to prevent it from happening would be to prettify "\alpha" as "α     ".

On the other hand, realigning the table (by pressing tab in a cell) produces the expected alignment:

| a | b | c |
|---+---+---|
| α |   |   |

which in turn looks wrong when prettification is disabled:

| a | b | c |
|---+---+---|
| \alpha |   |   |

Does this match your experience? If so, I don't think it's a bug, as much as a limitation of prettification.

Clément.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-08-31 14:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-28 19:37 table alignment with org-pretty-entities turned on jsj
2016-08-30 18:12 ` jsj
2016-09-06  6:06   ` Nicolas Goaziou
2016-09-07  2:36     ` s j
     [not found] ` <24054f3d55784e3b905a958604b45a33@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-08-31  8:25   ` Eric S Fraga
2016-08-31 14:44     ` Clément Pit--Claudel [this message]
2016-08-31 17:14       ` jsj
2016-08-31 21:34     ` jsj

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=9dfe6e36-805d-3e2b-11bf-41ae5f5b8b02@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).