[latex3-commits] [git/LaTeX3-latex3-latex2e] clsguide-cleanup: Changes as suggested by Frank (88b4600b)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jan 16 20:24:48 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : clsguide-cleanup
Link       : https://github.com/latex3/latex2e/commit/88b4600b7148b76846f40a3d0bc21bb5b619dc44

>---------------------------------------------------------------

commit 88b4600b7148b76846f40a3d0bc21bb5b619dc44
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Jan 16 19:24:23 2023 +0000

    Changes as suggested by Frank


>---------------------------------------------------------------

88b4600b7148b76846f40a3d0bc21bb5b619dc44
 base/doc/clsguide.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/base/doc/clsguide.tex b/base/doc/clsguide.tex
index 78b8d0bd..fbbf5bf3 100644
--- a/base/doc/clsguide.tex
+++ b/base/doc/clsguide.tex
@@ -302,8 +302,9 @@ Thus, instead of using |\def...| we recommend using one of |\newcommand|,
 interfaces |\NewDocumentCommand|, etc. (see \texttt{usrguide} for details of
 these commands).
 
-When you define an environment, use |\NewDocumentEnviornment|, etc.,
-instead |\def\foo{...}| and |\def\endfoo{...}|.
+When you define an environment, use |\NewDocumentEnvironment|, etc., (or
+|\newenvironment|, etc., for simple cases) instead |\def\foo{...}| and
+|\def\endfoo{...}|.
 
 If you need to set or change the value of a \m{dimen} or \m{skip} register, use
 |\setlength|.





More information about the latex3-commits mailing list.