summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-23 03:11:45 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-23 03:11:45 (GMT)
commit5445e5e3051000121a967da914f2b2150776656b (patch)
tree2b2761f3a7b019430c2a0ee8aa425ff9a22dae6c
parentbfd80dd8c01a27f7ce1eb7a24ef9982e024a00e4 (diff)
downloadcpython-5445e5e3051000121a967da914f2b2150776656b.zip
cpython-5445e5e3051000121a967da914f2b2150776656b.tar.gz
cpython-5445e5e3051000121a967da914f2b2150776656b.tar.bz2
\infinity,
\plusminus: New macros to allow us to avoid math mode for these symbols.
-rw-r--r--Doc/texinputs/python.sty2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index e4c60b8..c5d55a8 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -752,6 +752,8 @@
\newcommand{\C}{C}
\newcommand{\EOF}{{\sc eof}}
\newcommand{\NULL}{\constant{NULL}}
+\newcommand{\infinity}{\ensuremath{\infty}}
+\newcommand{\plusminus}{\ensuremath{\pm}}
% Also for consistency: spell Python "Python", not "python"!