emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Table format error


From: Eric S Fraga
Subject: Re: [O] Table format error
Date: Thu, 14 Sep 2017 09:22:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Thursday, 14 Sep 2017 at 08:39, Cecil Westerhof wrote:

[...]

> But when I then format the table,
> the last heading goes from right aligned to left aligned:
> |-----------+-----------+---------------|
> | 1         | Text      | 2             |
> |-----------+-----------+---------------|
> | Some text | Some more | And even more |
> | Some text | Some more | And even more |
> |-----------+-----------+---------------|
>
> ​What is happening here?
>
> I​ am using: Org-mode version 8.2.10.

Org tries to guess what the alignment should be: columns with numbers
will be right-aligned; with text they will be left-aligned.  Maybe org
did a count and decided this was a text column after all once you added
the new row.

You can specify the actual alignment by using <r> in a separate row,
e.g.:

|-----------+-----------+---------------|
| 1         | Text      |             2 |
|           |           |           <r> |
|-----------+-----------+---------------|
| Some text | Some more | And even more |
| Some text | Some more | And even more |
|-----------+-----------+---------------|

HTH,
eric

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.1-57-gc6e563

Attachment: signature.asc
Description: PGP signature


reply via email to

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