diff Doc/texinputs/python.sty @ 18230:b893d12045cb legacy-trunk

\infinity, \plusminus: New macros to allow us to avoid math mode for these symbols.
author Fred Drake <fdrake@acm.org>
date Sat, 23 Jun 2001 03:11:45 +0000
parents c25876a51f1b
children 6a5ef1994153
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Sat Jun 23 03:06:01 2001 +0000
+++ b/Doc/texinputs/python.sty	Sat Jun 23 03:11:45 2001 +0000
@@ -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"!