Make it easier to figure out the where a menuselection starts and ends

by controling the font.
This commit is contained in:
Fred Drake 2003-07-16 14:01:56 +00:00
parent a66b6c1267
commit bd5fdd93a9
3 changed files with 4 additions and 2 deletions

View file

@ -115,6 +115,7 @@ div.note .label { margin-right: 0.5em;
.newsgroup { font-family: avantgarde, sans-serif; }
.url { font-family: avantgarde, sans-serif; }
.file { font-family: avantgarde, sans-serif; }
.menuselection { font-family: avantgarde, sans-serif; }
.tableheader { background-color: #99ccff;
font-family: avantgarde, sans-serif; }

View file

@ -95,7 +95,8 @@ sub do_cmd_textless{ '<' . $_[0]; }
sub do_cmd_textunderscore{ '_' . $_[0]; }
sub do_cmd_infinity{ '∞' . $_[0]; }
sub do_cmd_plusminus{ '±' . $_[0]; }
sub do_cmd_menuselection{ $_[0]; }
sub do_cmd_menuselection{
return use_wrappers($_[0], '<span class="menuselection">', '</span>'); }
sub do_cmd_sub{ ' > ' . $_[0]; }

View file

@ -822,7 +822,7 @@
\newcommand{\infinity}{\ensuremath{\infty}}
\newcommand{\plusminus}{\ensuremath{\pm}}
% \menuselection{Start \sub Programs \sub Python}
\newcommand{\menuselection}[1]{{\def\sub{ \ensuremath{>} }#1}}
\newcommand{\menuselection}[1]{\textsf{\def\sub{ \ensuremath{>} }#1}}
% Also for consistency: spell Python "Python", not "python"!