diff Doc/texinputs/python.sty @ 31417:603a9eaa74e1 legacy-trunk

add \guilabel macro to mark labels that occur in user interfaces
author Fred Drake <fdrake@acm.org>
date Fri, 23 Jan 2004 08:52:28 +0000
parents 17ca347303d3
children 51c3d452af2f
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Fri Jan 23 04:05:27 2004 +0000
+++ b/Doc/texinputs/python.sty	Fri Jan 23 08:52:28 2004 +0000
@@ -821,8 +821,11 @@
 \newcommand{\NULL}{\constant{NULL}}
 \newcommand{\infinity}{\ensuremath{\infty}}
 \newcommand{\plusminus}{\ensuremath{\pm}}
+
+% \guilabel{Start}
+\newcommand{\guilabel}[1]{\textsf{#1}}
 % \menuselection{Start \sub Programs \sub Python}
-\newcommand{\menuselection}[1]{\textsf{\def\sub{ \ensuremath{>} }#1}}
+\newcommand{\menuselection}[1]{\guilabel{{\def\sub{ \ensuremath{>} }#1}}}
 
 % Also for consistency: spell Python "Python", not "python"!