From d66aad8b10665105eaaf94e4e59856e3a29dc282 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Mon, 7 Sep 2020 16:37:21 +0100 Subject: [PATCH] slowbox.dtx: Mention that `\newslowboxenv' handles optional args correctly. Organization: Straylight/Edgeware From: Mark Wooding --- slowbox.dtx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/slowbox.dtx b/slowbox.dtx index bf031ba..c910cd9 100644 --- a/slowbox.dtx +++ b/slowbox.dtx @@ -135,12 +135,13 @@ % \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{""}"\* -- [mdw]