[latexrefman-commits] r488 - in /trunk: ChangeLog latex2e.texi

jhefferon at domain.hid jhefferon at domain.hid
Thu Dec 10 15:53:26 CET 2015


Author: jhefferon
Date: Thu Dec 10 15:53:25 2015
New Revision: 488

URL: http://svn.gna.org/viewcvs/latexrefman?rev=488&view=rev
Log:
array, center

Modified:
    trunk/ChangeLog
    trunk/latex2e.texi

Modified: trunk/ChangeLog
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/ChangeLog?rev=488&r1=487&r2=488&view=diff
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Thu Dec 10 15:53:25 2015
@@ -1,3 +1,7 @@
+2015-12-10  Jim Hefferon  <jhefferon at domain.hid>
+
+	* latex2e.texi (array, center): Adjust wording, add examples.
+
 2015-12-05  Kevin Ryde <user42_kevin at domain.hid>
 
 	* ltx-help.el (ltxh-buffer-substring): defalias to use

Modified: trunk/latex2e.texi
URL: http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e.texi?rev=488&r1=487&r2=488&view=diff
==============================================================================
--- trunk/latex2e.texi	(original)
+++ trunk/latex2e.texi	Thu Dec 10 15:53:25 2015
@@ -2182,8 +2182,8 @@
 
 @example
 \begin at domain.hid}@}
- at domain.hid 1 entry} &@var{column 2 entry} ... &@var{column n entry} \\
-...
+  @var{column 1 entry} &@var{column 2 entry} ... &@var{column n entry} \\
+  ...
 \end at domain.hid@}
 @end example
 
@@ -2191,8 +2191,8 @@
 
 @example
 \begin at domain.hid}@}
- at domain.hid 1 entry} &@var{column 2 entry} ... &@var{column n entry} \\
-...
+  @var{column 1 entry} &@var{column 2 entry} ... &@var{column n entry} \\
+  ...
 \end at domain.hid@}
 @end example
 
@@ -2200,7 +2200,7 @@
 mode, and normally appears within a displayed mathematics environment
 such as @code{equation} (@pxref{equation}).  Column entries are
 separated by an ampersand at domain.hid{&}).  Rows are terminated with
-double-backslashes at domain.hid{\\}) (@pxref{\\}).  
+double-backslashes (@pxref{\\}).  
 
 The required argument @var{cols} describes the number of columns, their
 alignment, and the formatting of the intercolumn regions.  See
@@ -2216,7 +2216,7 @@
 @code{\tabcolsep}, @LaTeX{}'s intercolumn space in an array is governed
 by
 @findex \arraycolsep
- at domain.hid} which gives half the width between columns. The
+ at code{\arraycolsep}, which gives half the width between columns. The
 default for this is @samp{5pt}.
 
 To obtain arrays with braces the standard is to use the @file{amsmath}
@@ -2239,6 +2239,18 @@
 \end at domain.hid@}
 @end example
 
+The next example works if @code{\usepackage at domain.hid@}} is in the
+preamble:
+
+ at example
+\begin at domain.hid@}
+  \begin at domain.hid@}
+    a  &b \\
+    c  &d       
+  \end at domain.hid
+\end at domain.hid@}
+ at end example
+
 
 @node center
 @section @code{center}
@@ -2250,25 +2262,38 @@
 
 @example
 \begin at domain.hid@}
- .. text ..
+  ... text ...
 \end at domain.hid@}
 @end example
 
-Environment to create a sequence of lines that are centered within the
-left and right margins on the current page.  If the text in the
-environment body is too long to fit on a line, @LaTeX{} will insert line
-breaks that avoid hyphenation and avoid stretching or shrinking any
-interword space.  To force a line break at a particular spot use
-double-backslash at domain.hid{\\} (@pxref{\\}).
+Create a new paragraph consisting of a sequence of lines that are
+centered within the left and right margins on the current page.  Use
+double-backslash to get a line break at a particular spot (@pxref{\\}).
 @findex \\ @r{(for @code{center})}
+If some text environment body is too long to fit on a line, @LaTeX{}
+will insert line breaks that avoid hyphenation and avoid stretching or
+shrinking any interword space.
 
 This environment inserts space above and below the text body.  See
 @ref{\centering} to avoid such space, for example inside a @code{figure}
 environment.
 
-In this example, depending on the line width, @LaTeX{} may choose a break
-for the part before the double backslash, will center the line or two,
-then will break at the double backslash, and will center the ending.
+This example produces three centered lines.  There is extra vertical
+space between the last two lines.
+
+ at example
+\begin at domain.hid@}
+  A Thesis Submitted in Partial Fufillment \\
+  of the Requirements of \\[0.5ex]
+  the School of Environmental Engineering
+\end at domain.hid@}
+ at end example
+
+In this example, depending on the page's line width, @LaTeX{} may choose
+a line break for the part before the double backslash.  If so, it will
+center each of the two lines and if not it will center the single line.
+Then @LaTeX{} will break at the double backslash, and will center the
+ending.
 
 @example
 \begin at domain.hid@}





More information about the latexrefman-commits mailing list