[latexrefman-commits] [SCM] latexrefman updated: r1079 - trunk
Karl Berry
INVALID.NOREPLY at gnu.org.ua
Wed Jan 26 19:15:20 CET 2022
Author: karl
Date: 2022-01-26 18:15:20 +0000 (Wed, 26 Jan 2022)
New Revision: 1079
Modified:
trunk/latex2e.texi
Log:
instead instead
Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi 2022-01-26 18:12:17 UTC (rev 1078)
+++ trunk/latex2e.texi 2022-01-26 18:15:20 UTC (rev 1079)
@@ -10641,6 +10641,7 @@
@section xspace package
@findex \xspace
+ at PkgIndex{xspace}
@cindex spaces, ignore around commands
@cindex commands, ignore spaces
@@ -10668,16 +10669,16 @@
The \VT@{@} summers are nice.
@end example
-But because of the gobbling, the second sentence needs the dummy curly
+But because of the gobbling, the second sentence needs the empty curly
braces or else there would be no space separating @samp{Vermont} from
- at samp{summers}. (Many authors instead instead use a backslash-space
+ at samp{summers}. (Many authors instead use a backslash-space
@code{\ } for this. @xref{\(SPACE)}.)
The @package{xspace} package provides @code{\xspace}. It is for writing
commands which are designed to be used mainly in text. It must be place
at the very end of the definition of these commands. It inserts a space
after that command unless what immediately follows is in a list of
-exceptions. In this example, the dummy braces are not needed.
+exceptions. In this example, the empty braces are not needed.
@example
\newcommand@{\VT@}@{Vermont\xspace@}
@@ -10695,10 +10696,10 @@
@c David Carlisle https://tex.stackexchange.com/a/86620/339
A comment: many experts prefer not to use @code{\xspace}. Putting it in
a definition means that the command will usually get the spacing right.
-But it isn't easy to predict when to enter dummy braces because
+But it isn't easy to predict when to enter empty braces because
@code{\xspace} will get it wrong, such as when it is followed by another
command, and so @code{\xspace} can make editing material harder and more
-error-prone than instead always remembering the dummy braces.
+error-prone than instead always inserting the empty braces.
@node Counters
More information about the latexrefman-commits
mailing list.