%<*driver>
\input{mdwtools}
\describespackage{at}
+\def\atsign{@}
+\def\athyphen{@\mbox{-}}
\aton
\atlet p=\package
\atdef at{\package{at}}
% usual scoping rules. Both of these commands have corresponding
% environments with the same names (without the leading `|\|', obviously).
%
-% \subsection{Defining @-commands}
+% \subsection{Defining \athyphen commands}
%
% \DescribeMacro{\newatcommand}
% \DescribeMacro{\renewatcommand}
%
% \DescribeMacro{\atdef}
% For \TeX\ hackers, the |\atdef| command defines @-commands using a syntax
-% similar to \TeX's built-in |\def|.
+% similar to \TeX's built-in |\def|.
%
% As an example, the following command makes @.{"@/"<text>"/"} write its
% argument \<text> in italics:
% use fragile commands in their definitions. Unless you start doing very
% strange things, @-commands never need |\protect|ing.
%
-% \subsection{Predefined @-commands}
+% \subsection{Predefined \athyphen commands}
%
% A small number of hopefully useful commands are provided by default.
% These are described in the table below:
{\at@ifcat 0%
{\at@ifletter@i{#1}{#2}}%
{#2}%
- }%
+ }%
}
% \end{macrocode}
%
% \end{macro}
%
%
-% \subsection{Robustness of @-commands}
+% \subsection{Robustness of \athyphen commands}
%
% We want all @-commands to be robust. We could leave them all being
% fragile, although making robust @-commands would then be almost impossible.
%
% \begin{macro}{\at@protect}
%
-% Since we gobbled the |\fi| from the above, we must put that back. We then
-% need to do things which are more complicated. If |\protect| is behaving
+% Since we gobbled the |\fi| from the above, we must put that back. We then
+% need to do things which are more complicated. If |\protect| is behaving
% like |\string|, then we do one sort of protection. Otherwise, we assume
% that |\protect| is being like |\noexpand|.
%
% \end{macro}
% \end{macro}
%
-% \subsection{Default @-commands}
+% \subsection{Default \athyphen commands}
%
% We define some trivial examples to get the user going.
%