forked from mirrors/org-mode
org.texi: Mention when a table header is mandatory
* org.texi (Column formulas): Add a sentence to be more explicit about when a table header is mandatory.
This commit is contained in:
parent
e39299d822
commit
efab563317
11
doc/org.texi
11
doc/org.texi
|
@ -2770,10 +2770,13 @@ Named field, see @ref{Advanced features}.
|
|||
When you assign a formula to a simple column reference like @code{$3=}, the
|
||||
same formula will be used in all fields of that column, with the following
|
||||
very convenient exceptions: (i) If the table contains horizontal separator
|
||||
hlines, everything before the first such line is considered part of the table
|
||||
@emph{header} and will not be modified by column formulas. (ii) Fields that
|
||||
already get a value from a field/range formula will be left alone by column
|
||||
formulas. These conditions make column formulas very easy to use.
|
||||
hlines with rows above and below, everything before the first such hline is
|
||||
considered part of the table @emph{header} and will not be modified by column
|
||||
formulas. Therefore a header is mandatory when you use column formulas and
|
||||
want to add hlines to group rows, like for example to separate a total row at
|
||||
the bottom from the summand rows above. (ii) Fields that already get a value
|
||||
from a field/range formula will be left alone by column formulas. These
|
||||
conditions make column formulas very easy to use.
|
||||
|
||||
To assign a formula to a column, type it directly into any field in the
|
||||
column, preceded by an equal sign, like @samp{=$1+$2}. When you press
|
||||
|
|
Loading…
Reference in a new issue