[latexrefman-commits] r418 - in /trunk: ChangeLog latex2e.texi
jhefferon at domain.hid
jhefferon at domain.hid
Wed Aug 26 19:49:25 CEST 2015
Author: jhefferon
Date: Wed Aug 26 19:49:24 2015
New Revision: 418
URL: http://svn.gna.org/viewcvs/latexrefman?rev=418&view=rev
Log:
add node Units of length
Modified:
trunk/ChangeLog
trunk/latex2e.texi
Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=418&r1=417&r2=418&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Wed Aug 26 19:49:24 2015
@@ -1,3 +1,7 @@
+2015-08-26 Jim Hefferon <jhefferon at domain.hid>
+
+ * latex2e.texi (Units of length): Add new node in Lengths.
+
2015-08-25 Vincent Belaïche <vincent.belaiche at domain.hid>
* latex2e.texi (tabular): typo : horozontal->horizontal.
Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=418&r1=417&r2=418&view=diff
==============================================================================
--- trunk/latex2e.texi (original)
+++ trunk/latex2e.texi Wed Aug 26 19:49:24 2015
@@ -5467,6 +5467,7 @@
length as an argument.
@menu
+* Units of length:: The units that @LaTeX{} knows.
* \setlength:: Set the value of a length.
* \addtolength:: Add a quantity to a length.
* \settodepth:: Set a length to the depth of something.
@@ -5474,6 +5475,125 @@
* \settowidth:: Set a length to the width of something.
* Predefined lengths:: Lengths that are, like, predefined.
@end menu
+
+
+ at node Units of length
+ at section Units of length
+
+ at cindex units, of length
+
+ at TeX{} and @LaTeX{} know about these units both inside and outside of
+math mode.
+
+ at table @code
+ at item pt
+ at findex pt
+ at cindex Point
+Point 1/72.27 inch. The conversion to metric units, to two decimal
+places, is 1 at domain.hid = 2.85 at domain.hid = 28.45 at domain.hid.
+
+ at item pc
+ at cindex pica
+ at findex pc
+Pica, 12 pt
+
+ at item in
+ at findex in
+ at findex inch
+Inch, 72.27 pt
+
+ at item bp
+ at findex bp
+ at cindex Big point
+Big point, 1/72 inch. This length is the definition of a point in
+PostScript and many desktop publishing systems.
+
+ at item cm
+ at cindex Centimeter
+ at findex cm
+Centimeter
+
+ at item mm
+ at cindex Millimeter
+ at findex mm
+Millimeter
+
+ at item dd
+ at cindex Didot point
+ at findex dd
+Didot point, 1.07 pt
+
+ at item cc
+ at cindex Cicero
+ at findex cc
+Cicero, 12 dd
+
+ at item sp
+ at cindex Scaled point
+ at findex sp
+Scaled point, 1/65536 pt
+
+ at end table
+
+ at cindex x-height
+ at findex ex
+ at cindex em
+ at findex em
+Two other lengths that are often used are values set by the designer of
+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
+ at 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.
+
+ at cindex mu, math unit
+ at findex mu
+In math mode, many 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.
+
+ at table @code
+ at item \,
+ at cindex thinspace
+ at findex \,
+ at findex \thinspace
+The longer name is @code{\thinspace}. Normally 3 mu. This can be used
+outside of math mode.
+
+ at item \:
+ at cindex medspace
+ at findex \:
+ at findex \medspace
+The longer name is @code{\medspace}. Normally 4 mu.
+
+ at item \;
+ at cindex thickspace
+ at findex \;
+ at findex \thickspace
+The longer name is @code{\thickspace}. Normally 5 mu.
+
+ at item \quad
+ at cindex quad
+ at findex \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 item \qquad
+ at findex \qquad
+Length of 2 quads, so 36 at domain.hid = 2 at domain.hid.
+ at 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 \setlength
More information about the latexrefman-commits
mailing list