Mercurial > hg > octave-max
diff src/mappers.cc @ 9154:761fc0d3d980
Update section 17.2 (Complex Arithmetic) of arith.txi
Use Tex in more of the doc strings for pretty printing in pdf format.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 24 Apr 2009 20:32:01 -0700 |
parents | 5247e89688e1 |
children | ad20b967e1c9 |
line wrap: on
line diff
--- a/src/mappers.cc +++ b/src/mappers.cc @@ -174,9 +174,16 @@ "-*- texinfo -*-\n\ @deftypefn {Mapping Function} {} arg (@var{z})\n\ @deftypefnx {Mapping Function} {} angle (@var{z})\n\ -Compute the argument of @var{z}, defined as\n\ -@var{theta} = @code{atan2 (@var{y}, @var{x})}.\n\ -in radians. \n\ +Compute the argument of @var{z}, defined as,\n\ +@iftex\n\ +@tex\n\ +$\\theta = atan2 (y, x),$\n\ +@end tex\n\ +@end iftex\n\ +@ifnottex\n\ +@var{theta} = @code{atan2 (@var{y}, @var{x})},\n\ +@end ifnottex\n\ +in radians.\n\ \n\ For example,\n\ \n\