summaryrefslogtreecommitdiff
path: root/docutils/docs/user
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-08-10 14:14:13 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2021-08-10 14:14:13 +0000
commit308b6d863fe3e0425e4316d1e24da218859918f9 (patch)
treec2439a3eafc66c5bd8937792b3de16b520533620 /docutils/docs/user
parent530f92fd1c551386642ae37e20fafe7841066f5a (diff)
downloaddocutils-308b6d863fe3e0425e4316d1e24da218859918f9.tar.gz
LaTeX writer: Refactor computation of table column widths.
Prepare for fixes (cf. bug #422). Update documentation. No change to the output. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8806 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs/user')
-rw-r--r--docutils/docs/user/config.txt19
-rw-r--r--docutils/docs/user/latex.txt2
2 files changed, 12 insertions, 9 deletions
diff --git a/docutils/docs/user/config.txt b/docutils/docs/user/config.txt
index 27d6034ab..d84f02c92 100644
--- a/docutils/docs/user/config.txt
+++ b/docutils/docs/user/config.txt
@@ -1205,11 +1205,6 @@ The default CSS sylesheets define:
align-left, align-center, align-right
Align the tables
- colwidths-auto
- Delegate the determination of table column widths to the backend
- (leave out the ``<colgroup>`` column specification).
- See also the "widths" option of the `table directive`_.
-
The HTML5 stylesheets also define:
booktabs
@@ -1219,6 +1214,13 @@ The HTML5 stylesheets also define:
Place the table caption below the table
(New in 0.17).
+In addition, the HTML writers support:
+
+ colwidths-auto
+ Delegate the determination of table column widths to the backend
+ (leave out the ``<colgroup>`` column specification).
+ Overridden by the "widths" option of the `table directive`_.
+
Default: "". Option: ``--table-style``.
.. _table directive: ../ref/rst/directives.html#table
@@ -1746,8 +1748,10 @@ Supported values:
standard
Borders around all cells.
+
booktabs
A line above and below the table and one after the head.
+
borderless
No borders.
@@ -1755,9 +1759,8 @@ align-left, align-center, align-right
Align tables.
colwidths-auto, colwidths-given
- Default value for column width determination by
- LaTeX or Docutils.
- Override with the `table directive`_'s :widths: option.
+ Column width determination by LaTeX or Docutils (default).
+ Overridden by the `table directive`_'s :widths: option.
.. warning::
diff --git a/docutils/docs/user/latex.txt b/docutils/docs/user/latex.txt
index 9afdc58e1..3e05fbd5d 100644
--- a/docutils/docs/user/latex.txt
+++ b/docutils/docs/user/latex.txt
@@ -2082,7 +2082,7 @@ Tables
*tablewidth* is set relative to this value. If someone produces documents
with line length of 132 this will lead to suboptimal results.
- You may use the `:width:` option to manually set the table column widths.
+ You may use the `:widths:` option to manually set the table column widths.
* Table: multicol cells are always left aligned.