[latexrefman-commits] r496 - in /trunk: ChangeLog latex2e.texi
karl at domain.hid
karl at domain.hid
Sun Jan 31 00:17:00 CET 2016
Author: karl
Date: Sun Jan 31 00:16:58 2016
New Revision: 496
URL: http://svn.gna.org/viewcvs/latexrefman?rev=496&view=rev
Log:
(not) ignoring spaces after control sequences
Modified:
trunk/ChangeLog
trunk/latex2e.texi
Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=496&r1=495&r2=496&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Sun Jan 31 00:16:58 2016
@@ -1,3 +1,8 @@
+2016-01-30 Karl Berry <karl at domain.hid>
+
+ * latex2e.texi (\newcommand & \renewcommand): mention "\ "
+ after control sequences, as noted by Vincent.
+
2016-01-27 Vincent Belaïche <vincentb1 at domain.hid>
* latex2e-fr.texi (Marginal notes): Typoes.
Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=496&r1=495&r2=496&view=diff
==============================================================================
--- trunk/latex2e.texi (original)
+++ trunk/latex2e.texi Sun Jan 31 00:16:58 2016
@@ -3898,14 +3898,14 @@
@var{text or space} material is typeset in LR mode. This text is
fragile (@pxref{\protect}).
-This specifier is optional: unless you put in your own @@-expression
-then @LaTeX{}'s book, article, and report classes will put on either
-side of each column a space of length @code{\tabcolsep}, which by
-default is @samp{6pt}. That is, by default adjacent columns are
+This specifier is optional: with no @@-expression, @LaTeX{}'s
+ at code{book}, @code{article}, and @code{report} classes will put on
+either side of each column a space of length @code{\tabcolsep}, which
+by default is @samp{6pt}. That is, by default adjacent columns are
separated by 12pt (so @code{\tabcolsep} is misleadingly-named since it
-is not the separation between tabular columns). Also by default a space
-of 6pt comes before the first column as well as after the final column,
-unless you put a @code{@@@{...@}} or @code{|} there.
+is not the separation between tabular columns). By implication, a
+space of 6pt also comes before the first column and after the final
+column, unless you put a @code{@@@{...@}} or @code{|} there.
If you override the default and use an @@-expression then you must
insert any desired space yourself, as in @code{@@@{\hspace at domain.hid@}@}}.
@@ -5181,9 +5181,11 @@
@end table
-A command with no arguments that is followed in the source by a space
-will swallow that space. The solution is to type @code{@{@}} after the
-command and before the space.
+ at TeX{} ignores spaces in the source following a command (or any
+control sequence), as in @samp{\cmd }. If you actually want a space
+there, one solution is to type @code{@{@}} after the command
+(@samp{\cmd@{@} }, and another is to use an explicit control space
+(@samp{\cmd\ }).
A simple example of defining a new command:
@code{\newcommand at domain.hid Hef at domain.hid@}} causes the abbreviation
More information about the latexrefman-commits
mailing list