X-Git-Url: https://git.distorted.org.uk/~mdw/mdwtools/blobdiff_plain/baa9f3563a25ec9040d59b44a86d62f4d9786258..6a1388ae98e3c04d9d0bf4d99249b228a7934bd9:/at.dtx diff --git a/at.dtx b/at.dtx index 77bc1e6..a9b7d00 100644 --- a/at.dtx +++ b/at.dtx @@ -58,6 +58,8 @@ %<*driver> \input{mdwtools} \describespackage{at} +\def\atsign{@} +\def\athyphen{@\mbox{-}} \aton \atlet p=\package \atdef at{\package{at}} @@ -106,7 +108,7 @@ % 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} @@ -122,7 +124,7 @@ % % \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 @.{"@/""/"} write its % argument \ in italics: @@ -147,7 +149,7 @@ % 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: @@ -271,7 +273,7 @@ {\at@ifcat 0% {\at@ifletter@i{#1}{#2}}% {#2}% - }% + }% } % \end{macrocode} % @@ -545,7 +547,7 @@ % \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. @@ -585,8 +587,8 @@ % % \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|. % @@ -723,7 +725,7 @@ % \end{macro} % \end{macro} % -% \subsection{Default @-commands} +% \subsection{Default \athyphen commands} % % We define some trivial examples to get the user going. %