diff options
author | Akira Yokosawa <[email protected]> | 2021-05-30 00:19:14 +0900 |
---|---|---|
committer | Jonathan Corbet <[email protected]> | 2021-06-01 16:49:52 -0600 |
commit | 0afd4df0d16a5ae894b087562ffef4e5ec43fe24 (patch) | |
tree | a9f77f2f6b47f33c2b8a97530393bae192cd129f /scripts/documentation-file-ref-check | |
parent | cbae918b2c4b6d1c4577d35659196b4f75b5c376 (diff) |
docs: pdfdocs: Prevent column squeezing by tabulary
Setting a reasonable width to \tymin prevents column squeezing
by tabulary.
Width of 20em works well in almost all the tables still in the
ascii-art format.
Excerpt from tabulary package documentation at [1]:
To stop very narrow columns being too 'squeezed' by this process
any columns that are narrower than \tymin are set to their natural
width.
[1]: https://mirrors.ctan.org/macros/latex/contrib/tabulary/tabulary.pdf
Note: Sphinx has its own default value of \tymin set in
sphinxlatextables.sty (Sphinx 4.0.2) and sphinxmulticell.sty
(Sphinx 2.4.4) as follows:
\setlength{\tymin}{3\fontcharwd\font`0 }
, which is not sufficient for kernel-doc.
Tested against Sphinx versions 2.4.4 and 4.0.2.
Signed-off-by: Akira Yokosawa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions