[latexrefman-commits] r423 - in /trunk: ChangeLog latex2e.texi
jhefferon at domain.hid
jhefferon at domain.hid
Sun Sep 6 16:31:50 CEST 2015
Author: jhefferon
Date: Sun Sep 6 16:31:49 2015
New Revision: 423
URL: http://svn.gna.org/viewcvs/latexrefman?rev=423&view=rev
Log:
adjust spacing in math mode
Modified:
trunk/ChangeLog
trunk/latex2e.texi
Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=423&r1=422&r2=423&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Sun Sep 6 16:31:49 2015
@@ -1,3 +1,8 @@
+2015-09-06 Jim Hefferon <jhefferon at domain.hid>
+
+ * latex2e.texi (Spacing in math mode): Move math mode lengths
+ to here and add whether they work also in text mode.
+
2015-09-04 Vincent Belaïche <vincent.belaiche at domain.hid>
* latex2e-fr.texi: Add macroes BES & BESU to support compilation of math symbols with texi2pdf.
Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=423&r1=422&r2=423&view=diff
==============================================================================
--- trunk/latex2e.texi (original)
+++ trunk/latex2e.texi Sun Sep 6 16:31:49 2015
@@ -5563,9 +5563,10 @@
the font. The x-height of the current font @dfn{ex}, traditionally the
height of the lower case letter x, is often used for vertical
lengths. Similarly @dfn{em}, traditionally the width of the capital
-letter M, is often used for horizontal lengths. Use of these can help
-make a definition work better across font changes. For example, a
-definition of the vertical space between list items given as
+letter M, is often used for horizontal lengths (there is also
+ at code{\enspace}, which is @code{0.5em}). Use of these can help make a
+definition work better across font changes. For example, a definition
+of the vertical space between list items given as
@code{\setlength at domain.hid plus 0.05ex minus 0.01ex@}} is more
likely to still be reasonable if the font is changed than a definition
given in points.
@@ -5574,46 +5575,7 @@
@findex mu
In math mode, many definitions are expressed in terms of the math unit
@dfn{mu} given by 1 em = 18 mu, where the em is taken from the current
-math symbols family.
-
- at domain.hid @code
- at domain.hid \,
- at domain.hid thinspace
- at domain.hid \,
- at domain.hid \thinspace
-The longer name is @code{\thinspace}. Normally 3 mu. This can be used
-outside of math mode.
-
- at domain.hid \:
- at domain.hid medspace
- at domain.hid \:
- at domain.hid \medspace
-The longer name is @code{\medspace}. Normally 4 mu.
-
- at domain.hid \;
- at domain.hid thickspace
- at domain.hid \;
- at domain.hid \thickspace
-The longer name is @code{\thickspace}. Normally 5 mu.
-
- at domain.hid \quad
- at domain.hid quad
- at domain.hid \quad
-It is 18 at domain.hid}, that is, 1 at domain.hid}. This is often used for space
-surrounding equations or expressions, for instance for the space between
-two equations inside a @code{displaymath} environment.
-
- at domain.hid \qquad
- at domain.hid \qquad
-Length of 2 quads, so 36 at domain.hid} = 2 at domain.hid}.
- at domain.hid table
-
-In this example a thinspace separates the function from the
-infinitesimal.
-
- at domain.hid
-\int_0^1 f(x)\,dx
- at domain.hid example
+math symbols family. @xref{Spacing in math mode}.
@node \setlength
@@ -6989,26 +6951,57 @@
@cindex spacing within math mode
@cindex math mode, spacing
-In a @code{math} environment, @LaTeX{} ignores the spaces you type and
-puts in the spacing according to the normal rules for mathematics
-texts. If you want different spacing, @LaTeX{} provides the following
-commands for use in math mode:
+In a @code{math} environment, @LaTeX{} ignores the spaces that you use
+in the sourc, and instead puts in the spacing according to the normal
+rules for mathematics texts.
+
+Many math mode spacing definitions are expressed in terms of the math unit
+ at dfn{mu} given by 1 em = 18 mu, where the em is taken from the current
+math symbols family (@pxref{Units of length}).
+ at LaTeX{} provides the following commands for use in math mode:
@table @code
@item \;
@findex \;
-A thick space (@math{5\over18\,}quad).
+Normally @code{5.0mu plus 5.0mu}. The longer name is
+ at code{\thickspace}. Math mode only.
+
@item \:
@itemx \>
@findex \:
@findex \>
-Both of these produce a medium space (@math{2\over9\,}quad).
+Normally @code{4.0mu plus 2.0mu minus 4.0mu}. The longer name is
+ at code{\medspace}. Math mode only.
+
@item \,
@findex \,
-A thin space (@math{1\over6\,}quad); not restricted to math mode.
+Normally @code{3 mu}. The longer name is @code{\thinspace}. This can
+be used in both math mode and text mode.
+
@item \!
-A negative thin space (@math{-{1\over6}\,}quad).
+ at findex \!
+A negative thin space. Normally @code{-3mu}. Math mode only.
+
+ at item \quad
+ at cindex quad
+ at findex \quad
+This is 18 at domain.hid}, that is, 1 at domain.hid}. This is often used for space
+surrounding equations or expressions, for instance for the space between
+two equations inside a @code{displaymath} environment. It is available
+in both text and math mode.
+
+ at item \qquad
+ at findex \qquad
+A length of 2 quads, 36 at domain.hid} = 2 at domain.hid}. It is available in both
+text and math mode.
@end table
+
+In this example a thinspace separates the function from the
+infinitesimal.
+
+ at example
+\int_0^1 f(x)\,dx
+ at end example
@node Math miscellany
More information about the latexrefman-commits
mailing list