add \guilabel macro to mark labels that occur in user interfaces

This commit is contained in:
Fred Drake 2004-01-23 08:52:28 +00:00
parent 226f697560
commit f0f6d12cd4
4 changed files with 24 additions and 4 deletions

View file

@ -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"!