From: Charles Berry <ccberry@ucsd.edu>
To: emacs-orgmode@gnu.org
Subject: Re: left aligned changes to right alignment in table after adding one row - possible bug?
Date: Mon, 13 Oct 2014 16:55:13 +0000 (UTC) [thread overview]
Message-ID: <loom.20141013T184809-686@post.gmane.org> (raw)
In-Reply-To: m238asp7vy.fsf@krugs.de
Rainer M Krug <Rainer <at> krugs.de> writes:
>
>
> #+PROPERTY: header-args :exports both
>
> * Changing alignment when one row is added
> Despite of all values are strings, the alignment changes in the below
> example. Is this a bug or am I missing something?
>
One of these two maybe:
,----[ C-h v org-table-number-regexp RET ]
| org-table-number-regexp is a variable defined in `org-table.el'.
| Its value is
| "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|[<>]?[-+]?0[xX][0-9a-
| [wrapped] fA-F.]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$"
|
| Documentation:
| Regular expression for recognizing numbers in table columns.
| If a table column contains mostly numbers, it will be aligned to the
| right. If not, it will be aligned to the left.
|
| The default value of this option is a regular expression which allows
| anything which looks remotely like a number as used in scientific
| context. For example, all of the following will be considered a
| number:
| 12 12.2 2.4e-08 2x10^12 4.034+-0.02 2.7(10) >3.5
|
| Other options offered by the customize interface are more restrictive.
|
| You can customize this variable.
|
| [back]
`----
,----[ C-h v org-table-number-fraction RET ]
| org-table-number-fraction is a variable defined in `org-table.el'.
| Its value is 0.5
|
| Documentation:
| Fraction of numbers in a column required to make the column align right.
| In a column all non-white fields are considered. If at least
| this fraction of fields is matched by `org-table-number-regexp',
| alignment to the right border applies.
|
| You can customize this variable.
|
| [back]
`----
With the added row, the fraction is exceeded in the last two columns.
HTH,
Chuck
prev parent reply other threads:[~2014-10-13 16:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 10:43 left aligned changes to right alignment in table after adding one row - possible bug? Rainer M Krug
2014-10-13 16:55 ` Charles Berry [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20141013T184809-686@post.gmane.org \
--to=ccberry@ucsd.edu \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.