Discussion:
[Orgmode] How to align table in org-mode with Unicode characters, like Chinese
filebat Mark
2010-03-03 15:29:23 UTC
Permalink
Hi All

I fail to align table which has Chinese, while English characters work very
well.
Below is the sample. Is there any setting can save me out of this annoying
problems?

| ±àºÅ | ÐÕÃû | ·ÖÊý |
| 1 | ÕÅÈý | 80 |
| 2 | Å·ÑôÓÑÈË | 90 |
| 3 | ÀîËÄ | 75 |

Thanks very much for your attentions.
--
Thanks & Regards

Denny Zhang
Xiao-Yong Jin
2010-03-03 15:49:58 UTC
Permalink
Post by filebat Mark
Hi All
I fail to align table which has Chinese, while English characters work very well.
Below is the sample. Is there any setting can save me out of this annoying problems?
猖号 | 姓名 | 分数 |
1 | 匠䞉 | 80 |
2 | 欧阳友人 | 90 |
3 | 李四 | 75 |
It looks fine to me in my Emacs. You have to make sure that
your Chinese font is setup exactly twice as wide as English
letters. See attached screen-shot.
Giovanni Ridolfi
2010-03-03 16:04:45 UTC
Permalink
filebat Mark <***@gmail.com> writes:

please, search the list before posting.
Hi AllI fail to align table which has Chinese, while English
characters work very well.Below is the sample. Is there any setting
can save me out of this annoying problems?| 编号 | 姓名 | 分数 ||
1 | 张三 | 80 |
| 2 | 欧阳友人 | 90 || 3 | 李四 | 75 |Thanks very much
for your attentions.-- Thanks & RegardsDenny Zhang
FAQ:

the table editor works fine if each Chinese character is an integer
number of ASCII characters wide [1]. So you need to find a Chinese font that
does have this property. No chance that will ever make this work for
fonts that do not have this property.

- Carsten
http://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00323.html

[1]
Org is smart enough to deal with integer width characters (quite a feat
already, I assure you), but it cannot and likely never will handle
variable width fonts.
http://lists.gnu.org/archive/html/emacs-orgmode/2008-10/msg00326.html

cheers,

Giovanni
filebat Mark
2010-03-03 17:12:01 UTC
Permalink
Thanks, Giovanni.

You're right, I have just asked a duplicate question.
I am very sorry about that. And I will pay attention to this next time.

Regards,
Denny
Post by Giovanni Ridolfi
please, search the list before posting.
Hi AllI fail to align table which has Chinese, while English
characters work very well.Below is the sample. Is there any setting
can save me out of this annoying problems?| ±àºÅ | ÐÕÃû | ·ÖÊý ||
1 | ÕÅÈý | 80 |
| 2 | Å·ÑôÓÑÈË | 90 || 3 | ÀîËÄ | 75 |Thanks very much
for your attentions.-- Thanks & RegardsDenny Zhang
the table editor works fine if each Chinese character is an integer
number of ASCII characters wide [1]. So you need to find a Chinese font that
does have this property. No chance that will ever make this work for
fonts that do not have this property.
- Carsten
http://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00323.html
[1]
Org is smart enough to deal with integer width characters (quite a feat
already, I assure you), but it cannot and likely never will handle
variable width fonts.
http://lists.gnu.org/archive/html/emacs-orgmode/2008-10/msg00326.html
cheers,
Giovanni
--
Thanks & Regards

Denny Zhang
Loading...