X-Git-Url: https://git.distorted.org.uk/~mdw/mdwtools/blobdiff_plain/d00a940b2f3b6237ca404e8606754c59f212e45e..239eeba9c9764ce44c79088168db6c2378af301e:/slowbox.dtx diff --git a/slowbox.dtx b/slowbox.dtx index bf031ba..f4b71a7 100644 --- a/slowbox.dtx +++ b/slowbox.dtx @@ -58,7 +58,6 @@ \input{mdwtools} \describespackage{slowbox} \newcommand\opt[1]{\textsf{#1}} -\expandafter\def\csname sb@box:tag\endcsname{{2cm}{1cm}{0.5cm}} \def\*{\hspace{0pt plus 0.1pt}\ignorespaces} \mdwdoc % @@ -131,16 +130,18 @@ % typeset regardless of the current mode setting. % % \DescribeMacro\newslowboxenv -% There's an environment for building slow box environments. Say -% \syntax{"\\newslowboxenv{""}"\* "[""]"\* +% Plumbing all of this together is rather tedious, so there's also a +% command for building slow box environments. Say +% \syntax{"\\newslowboxenv{""}"\* "[""]"\*"[""]"\* % "{""}"\* "{""}"\* "{""}"\* % "{""}"}. This creates a new environment (just like with -% |\newenvironment|). The contents are put in a slow box with \ -% on the front and \ on the end. Before the box is begun, -% \ is performed, and \ is done afterwards. The -% environments so created have \env{$*$}-variants which ignore the current -% mode, just like \env{slowbox$*$}. They also gather an additional \ -% argument, which you don't have to bother with. +% |\newenvironment|, taking \ arguments, maybe with the first one +% optional and defaulting to \). The contents are put in a slow box +% with \ on the front and \ on the end. Before the box +% is begun, \ is performed, and \ is done +% afterwards. The environments so created have \env{$*$}-variants which +% ignore the current mode, just like \env{slowbox$*$}. They also gather an +% additional \ argument, which you don't have to bother with. % % \DescribeMacro\doslowbox % Finally, for commands, there's \syntax{"\\doslowbox{""}"\*