changeset 24180:5e3d45f108d9

doc: Update manual to explain \deg and \circ symbols (bug #52287). * plot.txi: Add new subsubsection to explain why \circ and \deg are different.
author Rik <rik@octave.org>
date Sat, 28 Oct 2017 18:03:18 -0700
parents 8365e584ebd8
children abf23a479369
files doc/interpreter/plot.txi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/plot.txi	Mon Oct 23 12:10:31 2017 +0200
+++ b/doc/interpreter/plot.txi	Sat Oct 28 18:03:18 2017 -0700
@@ -1012,6 +1012,15 @@
 @end tex
 @end float
 
+@subsubsection Degree Symbol
+@cindex Degree Symbol
+
+Conformance to both @TeX{} and @sc{matlab} with respect to the @code{\circ}
+symbol is impossible.  While @TeX{} translates this symbol to @w{Unicode 2218}
+(U+2218), @sc{matlab} maps this to @w{Unicode 00B0} (U+00B0) instead.  Octave
+has chosen to follow the @TeX{} specification, but has added the additional
+symbol @code{\deg} which maps to the degree symbol (U+00B0).
+
 @node Printing and Saving Plots
 @subsection Printing and Saving Plots
 @cindex plotting, saving and printing plots