From: Eric S Fraga <esflists@gmail.com>
To: Cecil Westerhof <cldwesterhof@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Table format error
Date: Thu, 14 Sep 2017 09:22:45 +0100 [thread overview]
Message-ID: <87mv5x7kq2.fsf@t3610> (raw)
In-Reply-To: <CAG-LmmA7X9V=jhKP3WuBefha3+6MG-ncuwkf-yMwfKfdZjq7OA@mail.gmail.com> (Cecil Westerhof's message of "Thu, 14 Sep 2017 08:39:41 +0200")
[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
prev parent reply other threads:[~2017-09-14 8:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-14 6:39 Table format error Cecil Westerhof
2017-09-14 8:22 ` Eric S Fraga [this message]
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=87mv5x7kq2.fsf@t3610 \
--to=esflists@gmail.com \
--cc=cldwesterhof@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).