diff options
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r-- | doc/ledger3.texi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 1226a66f..40b6294b 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -7874,6 +7874,13 @@ considering children. The cost of a posting; the cost of an account, without its children. +@item v +The market value of a posting or an account, without its children. + +@item g +The net gain (market value minus cost basis), for a posting or an +account, without its children. It is the same as @samp{v-b}. + @item l The depth (``level'') of an account. If an account has one parent, its depth is one. @@ -8113,7 +8120,7 @@ Render the given @var{expression} as a string, applying the proper ANSI escape codes to display it in the given @var{color} if @var{bool} is true. It typically checks the value of the option @option{--color}. Since ANSI escape codes include non-printable character sequences, such as escape @kbd{^[} -the following example may not appear as the final result on the commandline. +the following example may not appear as the final result on the command-line. @smallexample @c command:4D836EE,with_input:3406FC1 $ ledger -f expr.dat --format "%(ansify_if(account, blue, options.color))\n" reg @end smallexample |