Mercurial > hg > octave-lyh
changeset 13760:1d97688f8522
doc: Don't use @code{} macro for transpose and ctranspose (Bug #34661)
* data.cc (transpose, ctranspose): Don't use @code markup for describing
transpose operations as the markup (`...') looks too similar to the
operator in question.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 27 Oct 2011 09:50:03 -0700 |
parents | c4b6ea833fa5 |
children | 2d574194718c |
files | src/data.cc |
diffstat | 1 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/data.cc +++ b/src/data.cc @@ -5306,7 +5306,13 @@ DEFUN (transpose, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} transpose (@var{x})\n\ -Return the transpose of @var{x}. This function is equivalent to @code{x.'}.\n\ +Return the transpose of @var{x}. This function is equivalent to\n\ +@tex\n\ +@code{x.'}.\n\ +@end tex\n\ +@ifnottex\n\ +x.'.\n\ +@end ifnottex\n\ @seealso{ctranspose}\n\ @end deftypefn") { @@ -5339,7 +5345,13 @@ "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} ctranspose (@var{x})\n\ Return the complex conjugate transpose of @var{x}. This function is\n\ -equivalent to @code{x'}.\n\ +equivalent to\n\ +@tex\n\ +@code{x'}.\n\ +@end tex\n\ +@ifnottex\n\ +x'.\n\ +@end ifnottex\n\ @seealso{transpose}\n\ @end deftypefn") {