mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
add \guilabel macro to mark labels that occur in user interfaces
This commit is contained in:
parent
226f697560
commit
f0f6d12cd4
4 changed files with 24 additions and 4 deletions
|
|
@ -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"!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue