emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] table alignment with org-pretty-entities turned on


From: jsj
Subject: Re: [O] table alignment with org-pretty-entities turned on
Date: Tue, 30 Aug 2016 11:12:36 -0700

To make it clear, the behavior I reported can be reproduced with a clean init file with just org loaded.

I put the table

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

in an org file, toggle pretty entities by C-c C-x \, then C-c C-c to realign the table. The result I get is

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


If I try the same thing for 

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

I get

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

Is it just me or you can reproduce the same behavior?

Regards,
Jiang

On 2016年8月28日, at 12:37, jsj <address@hidden> wrote:

Hi,

I am using the latest org-plus-contrib package (20160822) with emacs 25.1.50.

I turned org-pretty-entities on in my init.el. When there are prettified letters displayed in an org table, the alignment of the table seems to be messed up.  The deviation is related to the number of prettified symbols.

For example,

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

is displayed as

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

while 

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

is prettified as

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

I am wondering whether I miss anything. It would be great to have aligned tables with prettified symbols.

Thank you!

Best regards,
Jiang


reply via email to

[Prev in Thread] Current Thread [Next in Thread]