[latexrefman-commits] r498 - in /trunk: ChangeLog latex2e.texi
vincent.b.1 at domain.hid
vincent.b.1 at domain.hid
Tue Feb 2 19:56:22 CET 2016
Author: vincentb1
Date: Tue Feb 2 19:56:21 2016
New Revision: 498
URL: http://svn.gna.org/viewcvs/latexrefman?rev=498&view=rev
Log:
* latex2e-fr.texi: Reword copyright notice from
Automatic-translation French to real French.
(Environments): Remove spurious space.
(tabular): Typo.
(\hyphenation): Translate this node.
(\newenvironment & \renewenvironment): Typo. Align on change done by Jim
on rev 482 2015-11-30T12:06:12.
(\newcommand & \renewcommand): Align on changes done by Jim on rev
345 2015-05-27T02:05:34+02. Also `@var{cmd}' or `@var{\cmd}' ->
`@cmd{\@var{cmd}}'.
(Math miscellany): Start translation of this node.
(Spaces): Typo in menu.
(\(SPACE) after CS): Typo. Translate remain pieces left over in
English, notably title. Align on rev 497 2016-02-01 by Karl (ie
make only a brief mention of xspace), plus my rewording in
latex2e.texi.
* latex2e.texi (\newcommand & \renewcommand): `@var{cmd}' or
`@var{\cmd}' -> `@cmd{\@var{cmd}}'
(\typein): `@var{cmd}' -> `@cmd{\@var{cmd}}'. Add `starred form' to concept index.
(\(SPACE) after control sequence): Rewording mention that xspace
alter standard behaviour. I gather the the intention was not to
say that individual commands alter the standard behaviour --- as
xspace package does --- but rather that some individual command do
not following the standard behaviour, and amongst them, those
defined with the xspace package.
Modified:
trunk/ChangeLog
trunk/latex2e.texi
Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=498&r1=497&r2=498&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Tue Feb 2 19:56:21 2016
@@ -1,3 +1,32 @@
+2016-02-02 Vincent Belaïche <vincentb1 at domain.hid>
+
+ * latex2e-fr.texi: Reword copyright notice from
+ Automatic-translation French to real French.
+ (Environments): Remove spurious space.
+ (tabular): Typo.
+ (\hyphenation): Translate this node.
+ (\newenvironment & \renewenvironment): Typo. Align on change done by Jim
+ on rev 482 2015-11-30T12:06:12.
+ (\newcommand & \renewcommand): Align on changes done by Jim on rev
+ 345 2015-05-27T02:05:34+02. Also `@var{cmd}' or `@var{\cmd}' ->
+ `@cmd{\@var{cmd}}'.
+ (Math miscellany): Start translation of this node.
+ (Spaces): Typo in menu.
+ (\(SPACE) after CS): Typo. Translate remain pieces left over in
+ English, notably title. Align on rev 497 2016-02-01 by Karl (ie
+ make only a brief mention of xspace), plus my rewording in
+ latex2e.texi.
+
+ * latex2e.texi (\newcommand & \renewcommand): `@var{cmd}' or
+ `@var{\cmd}' -> `@cmd{\@var{cmd}}'
+ (\typein): `@var{cmd}' -> `@cmd{\@var{cmd}}'. Add `starred form' to concept index.
+ (\(SPACE) after control sequence): Rewording mention that xspace
+ alter standard behaviour. I gather the the intention was not to
+ say that individual commands alter the standard behaviour --- as
+ xspace package does --- but rather that some individual command do
+ not following the standard behaviour, and amongst them, those
+ defined with the xspace package.
+
2016-02-01 Karl Berry <karl at domain.hid>
* latex2e.texi (\(SPACE) after control sequence): replace xspace
Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=498&r1=497&r2=498&view=diff
==============================================================================
--- trunk/latex2e.texi (original)
+++ trunk/latex2e.texi Tue Feb 2 19:56:21 2016
@@ -5130,22 +5130,23 @@
command, respectively. Synopses:
@example
- \newcommand at domain.hid}@}
- \newcommand*@{@var{cmd}@}[@var{nargs}][@var{optargdefault}]@{@var{defn}@}
-\renewcommand at domain.hid}@}
-\renewcommand*@{@var{cmd}@}[@var{nargs}][@var{optargdefault}]@{@var{defn}@}
- at domain.hid example
-
+ \newcommand at domain.hid}@}
+ \newcommand*@{\@var{cmd}@}[@var{nargs}][@var{optargdefault}]@{@var{defn}@}
+\renewcommand at domain.hid}@}
+\renewcommand*@{\@var{cmd}@}[@var{nargs}][@var{optargdefault}]@{@var{defn}@}
+ at end example
+
+ at cindex starred form, defining new commands
+ at cindex *-form, defining new commands
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
-Required; the command name. It must begin with @code{\}. For
- at domain.hid}, it must not be already defined and must not begin
-with @code{\end}. For @code{\renewcommand}, it must already be
-defined.
+Required; @code{\@var{cmd}} is the command name. For @code{\newcommand}, it
+must not be already defined and must not begin with @code{\end}. For
+ at code{\renewcommand}, it must already be defined.
@item nargs
Optional; an integer from 0 to 9, specifying the number of arguments
@@ -5156,15 +5157,15 @@
@item optargdefault
Optional; if this argument is present then the first argument of defined
-command @var{\cmd} is optional, with default value @var{optargdefault}
+command @code{\@var{cmd}} is optional, with default value @var{optargdefault}
(which may be the empty string). If this argument is not present then
- at domain.hid} does not take an optional argument.
-
-That is, if @var{\cmd} is used with square brackets following, as in
+ at code{\@var{cmd}} does not take an optional argument.
+
+That is, if at domain.hid{ \@var{cmd}} is used with square brackets following, as in
@code{\@var{cmd}[@var{myval}]}, then within @var{defn} the first
@cindex positional parameter
@dfn{positional parameter} @code{#1} expands @var{myval}. While if
- at domain.hid} is called without square brackets following, then within
+ at code{\@var{cmd}} is called without square brackets following, then within
@var{defn} the positional parameter @code{#1} expands to the default
@var{optargdefault}. In either case, any required arguments will be
referred to starting with @code{#2}.
@@ -5175,7 +5176,7 @@
@code{#1} expanding to the empty string.
@item defn
-The text to be substituted for every occurrence of @code{cmd}; the
+The text to be substituted for every occurrence of @code{\@var{cmd}}; the
positional parameter @code{#@var{n}} in @var{defn} is replaced by
the text of the @var{n}th argument.
@@ -8035,8 +8036,8 @@
@end example
@cindex @code{xspace} package
-The @code{xspace} package, and individual commands, can alter the
-standard behavior.
+Some individual commands, notably those defined with the @code{xspace},
+package do not follow the standard behavior.
@node \frenchspacing
@@ -9882,14 +9883,14 @@
Synopsis:
@example
-\typein[@var{\cmd}]@{@var{msg}@}
+\typein[\@var{cmd}]@{@var{msg}@}
@end example
@code{\typein} prints @var{msg} on the terminal and causes @LaTeX{} to
stop and wait for you to type a line of input, ending with return. If
-the optional @var{\cmd} argument is omitted, the typed input is
+the optional @code{\@var{cmd}} argument is omitted, the typed input is
processed as if it had been included in the input file in place of the
- at domain.hid} command. If the @var{\cmd} argument is present, it
+ at code{\typein} command. If the @code{\@var{cmd}} argument is present, it
must be a command name. This command name is then defined or
redefined to be the typed input.
More information about the latexrefman-commits
mailing list