[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Changes as suggested by Frank (c0129aac)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Apr 11 13:09:11 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/c0129aac619ae9c06c8efc937695c48159481a89
>---------------------------------------------------------------
commit c0129aac619ae9c06c8efc937695c48159481a89
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Jan 16 19:24:23 2023 +0000
Changes as suggested by Frank
>---------------------------------------------------------------
c0129aac619ae9c06c8efc937695c48159481a89
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.