[latex3-commits] [latex2e-public] r1517 - adjust linewidth as well as hsize in documentation example

noreply at latex-project.org noreply at latex-project.org
Thu Sep 28 16:15:42 CEST 2017


Author: carlisle
Date: 2017-09-28 16:15:42 +0200 (Thu, 28 Sep 2017)
New Revision: 1517

Modified:
   trunk/required/tools/changes.txt
   trunk/required/tools/tabularx.dtx
Log:
adjust linewidth as well as hsize in documentation example

Modified: trunk/required/tools/changes.txt
===================================================================
--- trunk/required/tools/changes.txt	2017-09-22 20:13:26 UTC (rev 1516)
+++ trunk/required/tools/changes.txt	2017-09-28 14:15:42 UTC (rev 1517)
@@ -5,6 +5,11 @@
 are not part of the distribution.
 =======================================================================
 
+2017-09-28  David Carlisle  <latex-bugs at latex-project.org>
+
+	* tabularx.dtx: set \linewidth as well as \hsize in the column
+	widths documentation.
+
 2017-04-11  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* multicol.dtx: Make \clearpage behave like \newpage (pr/4511)

Modified: trunk/required/tools/tabularx.dtx
===================================================================
--- trunk/required/tools/tabularx.dtx	2017-09-22 20:13:26 UTC (rev 1516)
+++ trunk/required/tools/tabularx.dtx	2017-09-28 14:15:42 UTC (rev 1517)
@@ -21,7 +21,7 @@
 %
 % \fi
 % \iffalse
-%% File: tabularx.dtx Copyright (C) 1991-1999 2012 2014 2016 David Carlisle
+%% File: tabularx.dtx Copyright (C) 1991-1999 2012 2014 2016 2017 David Carlisle
 %
 %<*dtx>
           \ProvidesFile{tabularx.dtx}
@@ -31,7 +31,7 @@
 %<driver> \ProvidesFile{tabularx.drv}
 % \fi
 %         \ProvidesFile{tabularx.dtx}
-          [2016/02/03 v2.11 `tabularx' package (DPC)]
+          [2016/02/03 v2.11b `tabularx' package (DPC)]
 % \iffalse
 %<*driver>
 \documentclass{ltxdoc}
@@ -231,7 +231,9 @@
 % Normally all {\ttfamily X} columns in a single table are set to the
 % same width, however it is possible to make {\ttfamily tabularx} set
 % them to different widths.
-% A preamble argument of "{>{\hsize=.5\hsize}X>{\hsize=1.5\hsize}X}"
+% A preamble argument of 
+% "{>{\hsize=.5\hsize\linewidth=\hsize}X"\\
+% " >{\hsize=1.5\hsize\linewidth=\hsize}X}"\\
 % specifies two columns, the second will be three times as wide as the
 % first. However if you want to play games like this you should follow
 % the following two rules.



More information about the latex3-commits mailing list