[latexrefman-commits] [SCM] latexrefman updated: r949 - trunk
Vincent Belaiche
INVALID.NOREPLY at gnu.org.ua
Mon Aug 9 00:03:43 CEST 2021
Author: vincentb1
Date: 2021-08-08 22:03:43 +0000 (Sun, 08 Aug 2021)
New Revision: 949
Modified:
trunk/ChangeLog
trunk/latex2e.texi
Log:
[en] ``space factor values'' -> ``space factors'' and much more.
* latex2e.texi (\normalsfcodes): ``space factor values'' -> ``space factors''.
(\(SPACE) ): @key{...}-ify index entries such as \NEWLINE ->
\@key{NEWLINE}. Use a two column table in the exemple to stress
change of space amount. Make more generic the statement about
collapsing whatever blanks in a single white space. Improve
description how to prevent a control sequence from swallowing
subsequent spaces.
(\thinspace & \negthinspace): For consistency @file{...}-ize
package names.
(\/): @dfn{...}-ize ``slant parameter''.
(\strut): and -> or. Clarify where the problem happens in the
lists example. \mathrm{...}-ize d in integral dt. Calrify that \\
optional argument changes the baseline skip.
(\addvspace): Fix missing ``\'' + clarifications.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2021-08-08 06:26:07 UTC (rev 948)
+++ trunk/ChangeLog 2021-08-08 22:03:43 UTC (rev 949)
@@ -1,3 +1,20 @@
+2021-08-09 Vincent Bela\"iche <vincentb1 at users.sourceforge.net>
+
+ * latex2e.texi (\normalsfcodes): ``space factor values'' -> ``space factors''.
+ (\(SPACE) ): @key{...}-ify index entries such as \NEWLINE ->
+ \@key{NEWLINE}. Use a two column table in the exemple to stress
+ change of space amount. Make more generic the statement about
+ collapsing whatever blanks in a single white space. Improve
+ description how to prevent a control sequence from swallowing
+ subsequent spaces.
+ (\thinspace & \negthinspace): For consistency @file{...}-ize
+ package names.
+ (\/): @dfn{...}-ize ``slant parameter''.
+ (\strut): and -> or. Clarify where the problem happens in the
+ lists example. \mathrm{...}-ize d in integral dt. Calrify that \\
+ optional argument changes the baseline skip.
+ (\addvspace): Fix missing ``\'' + clarifications.
+
2021-08-08 Vincent Bela\"iche <vincentb1 at users.sourceforge.net>
* latex2e.texi (\hspace, \vspace): add missing ``is'' before ``non-discardable''.
Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi 2021-08-08 06:26:07 UTC (rev 948)
+++ trunk/latex2e.texi 2021-08-08 22:03:43 UTC (rev 949)
@@ -15167,24 +15167,25 @@
\normalsfcodes
@end example
-Reset the @LaTeX{} space factor values to the default
+Reset the @LaTeX{} space factors to the default values
(@pxref{\spacefactor}).
@node \(SPACE)
@section Backslash-space, @code{\ }
- at cindex \NEWLINE
- at cindex \SPACE
- at cindex \ (backslash-space)
- at cindex \TAB
- at findex \SPACE
+ at cindex \@key{NEWLINE}
+ at cindex \@key{SPACE}
+ at cindex \@key{TAB}
+ at cindex \@w{ } (backslash-space)
+ at findex \@w{ } (backslash-space)
+ at findex \@key{SPACE}
This section refers to the command consisting of two characters, a
-backslash followed by a space. Synopsis:
+backslash followed by a space.@*Synopsis:
@example
-\
+\@w{ }
@end example
Produce a space. By default it produces white space of length
@@ -15194,10 +15195,10 @@
space. But that is different than an explicit space. This illustrates.
@example
-\begin@{tabular@}@{l@}
-One blank: makes some space \\
-Three blanks: in a row \\
-Three spaces:\ \ \ in a row \\
+\begin@{tabular@}@{rl@}
+One blank:& makes some space \\
+Three blanks:& in a row \\
+Three spaces:&\ \ \ in a row \\
\end@{tabular@}
@end example
@@ -15205,20 +15206,23 @@
On the first line @LaTeX{} puts some space after the colon. On the
second line @LaTeX{} collapses the three blanks to output one
whitespace, so you end with the same space after the colon as in the
-first line. @LaTeX{} would similarly collapse a blank followed by a
-tab, or a blank and a newline and a blank. However, the bottom line
-asks for three spaces so the white area is wider. That is, the
-backslash-space command creates a fixed amount of horizontal space.
-(Note that you can define a horizontal space of any width at all with
- at code{\hspace}; see at tie{}@ref{\hspace}.)
+first line. @LaTeX{} would similarly collapse them to a single
+whitespace if one, two or all of the three blanks were replaced by a
+tab, or by a newline. However, the bottom line asks for three spaces so
+the white area is wider. That is, the backslash-space command creates a
+fixed amount of horizontal space. (Note that you can define a
+horizontal space of any width at all with @code{\hspace};
+see at tie{}@ref{\hspace}.)
The backslash-space command has two main uses. It is often used after
-control sequences to keep them from gobbling the space that follows, as
-in @code{\TeX\ is nice}. (But using curly parentheses, as in
- at code{\TeX@{@} is best}, has the advantage of still working if the next
-character is a period.) The other common use is that it marks a period
-as ending an abbreviation instead of ending a sentence, as in @code{So
-says Prof.\ Smith} or @code{Jones et al.\ (1993)} (@pxref{\@@}).
+control sequences to keep them from gobbling the blank that follows, as
+after @code{\TeX} in @code{\TeX\ (or \LaTeX)}. (But using curly braces
+has the advantage of still working whether the next character is a blank
+or any other non-letter, as in @code{\TeX@{@} (or \LaTeX@{@})} in which
+ at code{@{@}} can be added after @code{\LaTeX} as well as after
+ at code{\TeX}.) The other common use is that it marks a period as ending
+an abbreviation instead of ending a sentence, as in @code{Prof.\ Smith}
+or @code{Jones et al.\ (1993)} (@pxref{\@@}).
Under normal circumstances, @code{\}@key{tab} and @code{\}@key{newline}
are equivalent to backslash-space, @code{\ }.
@@ -15351,11 +15355,12 @@
style-specific use is between initials, as in @code{D.\thinspace E.\
Knuth}.
- at LaTeX{} provides a variety of similar spacing commands
-(@pxref{Spacing in math mode}). With @code{amsmath}, or as of the
-2020-10-01 @LaTeX{} release, they can be used in text mode as well as
-math mode, including @code{\!} for @code{\negthinspace}; before that,
-they were available only in math mode.
+ at PkgIndex{amsmath}
+ at LaTeX{} provides a variety of similar spacing commands for math mode
+(@pxref{Spacing in math mode}). With the @file{amsmath} package, or as
+of the 2020-10-01 @LaTeX{} release, they can be used in text mode as
+well as math mode, including @code{\!} for @code{\negthinspace}; but
+otherwise, they are available only in math mode.
@node \/
@section @code{\/}
@@ -15406,8 +15411,8 @@
@findex \fontdimen1
@cindex font dimension, slant
Technically, @LaTeX{} uses another font-specific value, the so-called
-slant parameter (namely @code{\fontdimen1}), to determine whether to
-possibly insert an italic correction, rather than tying the action to
+ at dfn{slant parameter} (namely @code{\fontdimen1}), to determine whether
+to possibly insert an italic correction, rather than tying the action to
particular font commands.
There is no concept of italic correction in math mode; math spacing is
@@ -15595,7 +15600,7 @@
and depth at least @code{0.3\baselineskip}. Essentially, @LaTeX{}
inserts into the line a rectangle having zero width,
@code{\rule[-0.3\baselineskip]@{0pt@}@{\baselineskip@}} (@pxref{\rule}).
-The @code{\baselineskip} changes with the current font and fontsize.
+The @code{\baselineskip} changes with the current font or fontsize.
In this example the @code{\strut} keeps the box inside the frame from
having zero height.
@@ -15643,10 +15648,10 @@
@noindent
The final two lists use @code{\fbox} to show what's happening. The
-third list's @code{\parbox} goes only to the bottom of its second
- at samp{test}, which happens not have any characters that descend below
-the baseline. The fourth list adds the strut that gives the needed
-extra below-baseline space.
+first item @code{\parbox} of the third list goes only to the bottom of
+its second @samp{test}, which happens not have any characters that
+descend below the baseline. The fourth list adds the strut that gives
+the needed extra below-baseline space.
@PkgIndex{TikZ} @PkgIndex{Asymptote}
The @code{\strut} command is often useful in graphics, such as in
@@ -15666,17 +15671,17 @@
\begin@{tabular@}@{rl@}
\textsc@{Integral@} &\textsc@{Value@} \\
\hline
- $\int_0^x t\, dt$ &$x^2/2$ \rule@{0em@}@{2.5ex@} \\
- $\int_0^x t^2\, dt$ &$x^3/3$ \rule@{0em@}@{2.5ex@}
+ $\int_0^x t\, \mathrm@{d@}t$ &$x^2/2$ \rule@{0em@}@{2.5ex@} \\
+ $\int_0^x t^2\, \mathrm@{d@}t$ &$x^3/3$ \rule@{0em@}@{2.5ex@}
\end@{tabular@}
@end example
@noindent
(Although the line-ending double backslash command has an available
-optional argument to put in more vertical room, that won't work here.
-Changing the first double backslash to something like @code{\\[2.5ex]}
-will put the room between the header line and the @code{\hline}, and the
-integral would still hit the line.)
+optional argument to change the corresponding baseline skip, that won't
+solve this issue. Changing the first double backslash to something like
+ at code{\\[2.5ex]} will put more room between the header line and the
+ at code{\hline} rule, and the integral would still hit the rule.)
@node \vspace
@@ -15805,10 +15810,11 @@
(@pxref{\protect}). The @var{vert-length} is a rubber length
(@pxref{Lengths}).
-This example illustrates. The @code{picture} draws a scale. In a
-standard @LaTeX{} article the length @code{\baselineskip} is 12 at dmn{pt}.
-The two rules here are 22 at dmn{pt} apart: the sum of the
- at code{\baselineskip} and the 10 at dmn{pt} from the first @code{addvspace}.
+This example illustrates. The @code{picture} draws a scale over which
+to rules are placed. In a standard @LaTeX{} article the length
+ at code{\baselineskip} is 12 at dmn{pt}. As shown by the scale, the two
+rules are 22 at dmn{pt} apart: the sum of the @code{\baselineskip} and the
+10 at dmn{pt} from the first @code{\addvspace}.
@example
\documentclass@{article@}
More information about the latexrefman-commits
mailing list.