[latexrefman-commits] r482 - in /trunk: ChangeLog latex2e.texi

jhefferon at domain.hid jhefferon at domain.hid
Mon Nov 30 12:06:13 CET 2015


Author: jhefferon
Date: Mon Nov 30 12:06:12 2015
New Revision: 482

URL: http://svn.gna.org/viewcvs/latexrefman?rev=482&view=rev
Log:
\newcommand

Modified:
    trunk/ChangeLog
    trunk/latex2e.texi

Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=482&r1=481&r2=482&view=diff
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Mon Nov 30 12:06:12 2015
@@ -1,3 +1,8 @@
+2015-11-29  Jim Hefferon  <jhefferon at domain.hid>
+
+	* latex2e.texi (\newcommand and \newenvironment)  Minor wording
+	adjustments, mostly for consistency with subsequent practice.
+
 2015-11-29  Jim Hefferon  <jhefferon at domain.hid>
 
 	* latex2e.texi (Cross references)  Add examples, and description of

Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=482&r1=481&r2=482&view=diff
==============================================================================
--- trunk/latex2e.texi	(original)
+++ trunk/latex2e.texi	Mon Nov 30 12:06:12 2015
@@ -5058,9 +5058,9 @@
 \renewcommand*@{@var{cmd}@}[@var{nargs}][@var{optargdefault}]@{@var{defn}@}
 @end example
 
-The @code{*}-form of these two commands requires that the arguments
-not contain multiple paragraphs of text (not @code{\long}, in plain
- at domain.hid{} terms).
+The starred form of these two commands requires that the arguments not
+contain multiple paragraphs of text (not @code{\long}, in plain @TeX{}
+terms).
 
 @table @var
 @item cmd
@@ -5270,14 +5270,12 @@
 \renewenvironment*@{@var{env}@}[@var{nargs}][@var{optargdefault}]@{@var{begdefn}@}@{@var{enddefn}@}
 @end example
 
+ at cindex @code{*}-form of environment commands 	 
+The starred form of these commands requires that the arguments not
+contain multiple paragraphs of text.  The body of these environments can
+still contain multiple paragraphs.
 
 @table @var
- at domain.hid @code{*}
- at domain.hid @code{*}-form of environment commands 	 
-The @code{*}-form of these commands requires that the arguments (not 	 
-the @var{body} of the environment) not contain multiple paragraphs of 	 
-text.
-
 @item env
 Required; the environment name.  It consists only of letters or the
 @code{*} character, and thus does not begin with backslash
@@ -5289,8 +5287,8 @@
 
 @item nargs
 Optional; an integer from 0 to 9 denoting the number of arguments of
-that the environment will take.  These arguments appear after the
- at domain.hid}, as in
+that the environment will take.  When the environment is used these
+arguments appear after the @code{\begin}, as in
 @code{\begin at domain.hid}@}}.  If this
 argument is not present then the default is for the environment to have
 no arguments.  When redefining an environment, the new version can have
@@ -5313,7 +5311,6 @@
 expands to the default @var{optargdefault}.  In either case, any
 required arguments will be referred to starting with @code{#2}.
 
-
 Omitting @code{[@var{myval}]} in the call is different from having the
 square brackets with no contents, as in @code{[]}.  The former results
 in @code{#1} expanding to @var{optargdefault}; the latter results in
@@ -5327,7 +5324,8 @@
 @item enddefn
 Required; the text expanded at every occurrence of
 @code{\end at domain.hid}@}}.  Note that it may not contain any argument
-parameters, so @code{#@var{n}} cannot be used here.
+parameters, so @code{#@var{n}} cannot be used here (but see the final
+example below).
 
 @end table
 





More information about the latexrefman-commits mailing list