summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brand <michael.ch.brand@gmail.com>2012-08-24 19:46:49 +0200
committerBastien Guerry <bzg@altern.org>2012-08-24 19:53:04 +0200
commitefab5633179d1d26ee44f12c2515f4983e3a6cdd (patch)
tree254c779b7f7c79670304ff2f80b8824f4f4a8f32
parente39299d82232bf7c3b3e5d0a55afdf2146e7f1bd (diff)
downloadorg-mode-efab5633179d1d26ee44f12c2515f4983e3a6cdd.tar.gz
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.
-rw-r--r--doc/org.texi11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/org.texi b/doc/org.texi
index c33b5a9..cf0656c 100644
--- a/doc/org.texi
+++ b/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