diff options
author | Fred Drake <fdrake@acm.org> | 2004-01-23 08:52:28 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-01-23 08:52:28 (GMT) |
commit | f0f6d12cd4d2159cbe2473c6ff5aeb5f9d245e02 (patch) | |
tree | dec64d0de926fa60eca7813d640433d3dedbf819 /Doc/texinputs | |
parent | 226f697560af74985ee5ecf2fc4f6b1c991006dc (diff) | |
download | cpython-f0f6d12cd4d2159cbe2473c6ff5aeb5f9d245e02.zip cpython-f0f6d12cd4d2159cbe2473c6ff5aeb5f9d245e02.tar.gz cpython-f0f6d12cd4d2159cbe2473c6ff5aeb5f9d245e02.tar.bz2 |
add \guilabel macro to mark labels that occur in user interfaces
Diffstat (limited to 'Doc/texinputs')
-rw-r--r-- | Doc/texinputs/python.sty | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index ff37ad9..0e69587e 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -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"! |