emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] left aligned changes to right alignment in table after adding on


From: Charles Berry
Subject: Re: [O] left aligned changes to right alignment in table after adding one row - possible bug?
Date: Mon, 13 Oct 2014 16:55:13 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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





reply via email to

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