diff options
author | jfbu <jfbu@free.fr> | 2016-10-20 15:47:38 +0200 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2016-10-20 15:47:38 +0200 |
commit | 54dbd3882da0e51f66d26f74b9adafad3ffdde7c (patch) | |
tree | d1b3243325ffb10ccba289e0a5d167ac5d5fa92e | |
parent | 2b6eac73c390b7e14a43e854c79005a1df0fe524 (diff) | |
download | sphinx-git-54dbd3882da0e51f66d26f74b9adafad3ffdde7c.tar.gz |
add advice on use of tabulary (latex output)
-rw-r--r-- | doc/markup/misc.rst | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/markup/misc.rst b/doc/markup/misc.rst index 1f9f446f1..bdfc3346c 100644 --- a/doc/markup/misc.rst +++ b/doc/markup/misc.rst @@ -238,10 +238,19 @@ following directive exists: By default, Sphinx uses a table layout with ``L`` for every column. + .. hint:: + + For columns which are known to be much narrower than the others it is + recommended to use the lowercase specifiers. For more information, check + the ``tabulary`` manual. + .. versionadded:: 0.3 .. warning:: + Tables with more than 30 rows are rendered using ``longtable``, not + ``tabulary``, in order to allow pagebreaks. + Tables that contain list-like elements such as object descriptions, blockquotes or any kind of lists cannot be set out of the box with ``tabulary``. They are therefore set with the standard LaTeX ``tabular`` @@ -253,8 +262,6 @@ following directive exists: literal block are always set with ``tabular``. Also, the verbatim environment used for literal blocks only works in ``p{width}`` columns, which means that by default, Sphinx generates such column specs for such tables. - Use the :rst:dir:`tabularcolumns` directive to get finer control over such - tables. .. rubric:: Footnotes |