# HG changeset patch # User Rik # Date 1304725095 25200 # Node ID 20e64dab6896b4559f437217f916eeab3d3906eb # Parent 5fd90b7cb78761f85afdb8b91db1f0b1fc663f8a doc: Correct spacing in erf and gamma documentation in INFO mode. * mappers.cc (erf, erfinv, erfc, erfcx, gamma): Improve docstring. diff --git a/src/mappers.cc b/src/mappers.cc --- a/src/mappers.cc +++ b/src/mappers.cc @@ -550,11 +550,12 @@ \n\ @example\n\ @group\n\ - z\n\ - /\n\ +@c spacing appears odd here, but is correct after Makeinfo\n\ + z\n\ + /\n\ erf (z) = (2/sqrt (pi)) | e^(-t^2) dt\n\ - /\n\ - t=0\n\ + /\n\ + t=0\n\ @end group\n\ @end example\n\ \n\ @@ -607,7 +608,7 @@ Compute the inverse error function, i.e., @var{y} such that\n\ \n\ @example\n\ - erf(@var{y}) == @var{x}\n\ + erf (@var{y}) == @var{x}\n\ @end example\n\ @seealso{erf, erfc, erfcx}\n\ @end deftypefn") @@ -644,7 +645,7 @@ $1 - {\\rm erf} (z)$.\n\ @end tex\n\ @ifnottex\n\ -@code{1 - erf (@var{z})}.\n\ +@w{@code{1 - erf (@var{z})}}.\n\ @end ifnottex\n\ @seealso{erfcx, erf, erfinv}\n\ @end deftypefn") @@ -674,7 +675,7 @@ $z^2 (1 - {\\rm erf} (z))$.\n\ @end tex\n\ @ifnottex\n\ -@code{z^2*(1 - erf (@var{z}))}.\n\ +@w{@code{z^2*(1 - erf (@var{z}))}}.\n\ @end ifnottex\n\ @seealso{erfc, erf, erfinv}\n\ @end deftypefn") @@ -879,7 +880,8 @@ \n\ @example\n\ @group\n\ - infinity\n\ +@c spacing appears odd here, but is correct after Makeinfo\n\ + infinity\n\ /\n\ gamma (z) = | t^(z-1) exp (-t) dt.\n\ /\n\