\def\ctrl#1{\fbox{\small CTRL-#1}}
\def\meta#1{\fbox{\small META-#1}}
\def\key#1{\fbox{\small #1}}

%\def\key#1{{\framebox{\small{#1}}}}
%\def\ctrl#1{\framebox{\small{CTRL}{\raise .2ex\hbox{\scriptsize /}}#1}}
%\def\meta{\framebox{\small Meta}

\def\glossary{\list{}{\labelwidth\z@ \advance \leftmargin by 2em
        \itemindent -\leftmargin \let\makelabel\glossarylabel}}
\let\glossarylabel\descriptionlabel
\let\endglossary\endlist

%\def\@makechapterhead#1{              % Heading for \chapter command.
%    \vspace*{50pt}                    % Space at top of text page.
%   {\raggedleft \rightskip 0.5in \Huge \bf
%    \ifnum \c@secnumdepth >\m@ne      % if secnumdepth > -1 then
%       \thechapter                    %   print chapter number.
%       \vskip 20pt \fi
%       #1 \clearpage
%      \setcounter{page}{1}}}               % Title
%
%\def\@makeschapterhead#1{             % Heading for \chapter* command
%    \vspace*{50pt}                    % Space at top of page
%    {\raggedleft \rightskip 0.5in
%                 \Huge \bf #1         % Title.
%     \clearpage
%     \setcounter{page}{1}}}
%
%\def\@iichapter[#1]#2[#3]{\ifnum \c@secnumdepth >\m@ne
%  \refstepcounter{chapter}
%  \typeout{\thechapter.}
%%  \addcontentsline{toc}{chapter}{\protect
%%  \numberline{\thechapter.}#1}
%  \addtocontents{toc}{\protect\contentsline{chapter}%
%          {\protect\numberline{\thechapter.}#1}{}}
%  \else
%  \addcontentsline{toc}{chapter}{#1}\fi
%  \chaptermark{#3}   % Use final optional argument from \chapter for header
%  \addtocontents{lof}{\protect\addvspace{10pt}} % Add between chapter space to
%  \addtocontents{lot}{\protect\addvspace{10pt}} % lof and lot
%  \if@twocolumn
%     \@topnewpage[\@makechapterhead{#2}]
%  \else
%     \@makechapterhead{#2}
%     \@afterheading               % Called after chapter and section headings
%  \fi}
%\def\@ichapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
%  \refstepcounter{chapter}
%  \typeout{\thechapter.}
%%  \addcontentsline{toc}{chapter}{\protect
%%  \numberline{\thechapter.}#1}
%  \addtocontents{toc}{\protect\contentsline{chapter}%
%          {\protect\numberline{\thechapter.}#1}{}}
%  \else
%  \addcontentsline{toc}{chapter}{#1}\fi
%  \chaptermark{#1}     % Use chapter title for header
%  \addtocontents{lof}{\protect\addvspace{10pt}} % Add between chapter space to
%  \addtocontents{lot}{\protect\addvspace{10pt}} % lot and lof
%  \if@twocolumn
%     \@topnewpage[\@makechapterhead{#2}]
%  \else
%     \@makechapterhead{#2}
%     \@afterheading            % Called after chapter and section headings
%  \fi}


