Commit 2e1ae117 authored by Fred Drake's avatar Fred Drake

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

by controling the font.
parent b9486862
...@@ -115,6 +115,7 @@ div.note .label { margin-right: 0.5em; ...@@ -115,6 +115,7 @@ div.note .label { margin-right: 0.5em;
.newsgroup { font-family: avantgarde, sans-serif; } .newsgroup { font-family: avantgarde, sans-serif; }
.url { font-family: avantgarde, sans-serif; } .url { font-family: avantgarde, sans-serif; }
.file { font-family: avantgarde, sans-serif; } .file { font-family: avantgarde, sans-serif; }
.menuselection { font-family: avantgarde, sans-serif; }
.tableheader { background-color: #99ccff; .tableheader { background-color: #99ccff;
font-family: avantgarde, sans-serif; } font-family: avantgarde, sans-serif; }
......
...@@ -95,7 +95,8 @@ sub do_cmd_textless{ '<' . $_[0]; } ...@@ -95,7 +95,8 @@ sub do_cmd_textless{ '<' . $_[0]; }
sub do_cmd_textunderscore{ '_' . $_[0]; } sub do_cmd_textunderscore{ '_' . $_[0]; }
sub do_cmd_infinity{ '∞' . $_[0]; } sub do_cmd_infinity{ '∞' . $_[0]; }
sub do_cmd_plusminus{ '±' . $_[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]; } sub do_cmd_sub{ ' > ' . $_[0]; }
......
...@@ -822,7 +822,7 @@ ...@@ -822,7 +822,7 @@
\newcommand{\infinity}{\ensuremath{\infty}} \newcommand{\infinity}{\ensuremath{\infty}}
\newcommand{\plusminus}{\ensuremath{\pm}} \newcommand{\plusminus}{\ensuremath{\pm}}
% \menuselection{Start \sub Programs \sub Python} % \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"! % Also for consistency: spell Python "Python", not "python"!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment