diff doc/interpreter/expr.txi @ 24987:a895967fd5a7 stable

doc: grammarcheck manual (*.txi) ahead of 4.4 release. * expr.txi, external.txi, func.txi, plot.txi, gammainc.m: Use Octave docstring conventions.
author Rik <rik@octave.org>
date Fri, 23 Mar 2018 12:38:00 -0700
parents 41f80b9af274
children 6652d3823428
line wrap: on
line diff
--- a/doc/interpreter/expr.txi	Fri Mar 23 10:29:45 2018 -0700
+++ b/doc/interpreter/expr.txi	Fri Mar 23 12:38:00 2018 -0700
@@ -141,10 +141,10 @@
 
 For the ordinary and most common case, the number of indices
 (@code{nidx = numel (@var{idx})}) matches the number of dimensions @samp{nd}.
-In this case, each element of @var{idx} corresponds to its respective dimension,
-i.e., @code{@var{idx}(1)} refers to dimension 1, @code{@var{idx}(2)} refers to
-dimension 2, etc.  If @w{@code{nidx < nd}}, and every index is less than the
-size of the array in the @math{i^{th}} dimension
+In this case, each element of @var{idx} corresponds to its respective
+dimension, i.e., @code{@var{idx}(1)} refers to dimension 1,
+@code{@var{idx}(2)} refers to dimension 2, etc.  If @w{@code{nidx < nd}}, and
+every index is less than the size of the array in the @math{i^{th}} dimension
 (@code{@var{idx}(i) < size (@var{array}, i)}), then the index expression is
 padded with @w{@code{nd - nidx}} trailing singleton dimensions.  If
 @w{@code{nidx < nd}} but one of the indices @code{@var{idx}(i)} is outside the
@@ -527,6 +527,7 @@
 actions, such as in the following example:
 
 @cindex figure deletefcn
+
 @example
 @group
 function mydeletefcn (h, ~, msg)
@@ -539,10 +540,11 @@
 @end example
 
 @noindent
-The above will print "Bye!" to the terminal upon the closing (deleting) of the
-figure.  There are many graphics property actions for which a callback function
-may be assigned, including, @code{buttondownfcn}, @code{windowscrollwheelfcn},
-@code{createfcn}, @code{deletefcn}, @code{keypressfcn}, etc.
+The above will print @qcode{"Bye!"} to the terminal upon the closing
+(deleting) of the figure.  There are many graphics property actions for which
+a callback function may be assigned, including, @code{buttondownfcn},
+@code{windowscrollwheelfcn}, @code{createfcn}, @code{deletefcn},
+@code{keypressfcn}, etc.
 
 Note that the @samp{@@} character also plays a role in defining class
 functions, i.e., methods, but not as a syntactical element.  Rather it begins a