Skip to content

Conversation

@jfbu
Copy link
Contributor

@jfbu jfbu commented Jun 29, 2025

Fix #3447
Fix #8828

With this patch the legacy notion of "problematic cell" is almost entirely removed, and LaTeX package tabulary will be used more often so that column widths in tables may get better fit to actual contents.

This works well when the column contains cells with multiple paragraphs, bullet lists, enumerated lists, or line blocks. For cells with object descriptions or admonitions, the column may not fit tightly to the contents, but other columns will probably be improved.

Fix sphinx-doc#3447
Fix sphinx-doc#8228

With this patch the legacy notion of "problematic cell" is almost
entirely removed, and LaTeX package tabulary will be used more often so
that column widths in tables may get better fit to actual contents.

This works well when the column contains cells with multiple paragraphs,
bullet lists, enumerated lists, or line blocks.  For cells with object
descriptions or admonitions, the column may not fit tightly to the
contents, but other columns will probably be improved.
@jfbu jfbu added this to the 8.3.0 milestone Jun 29, 2025
@jfbu jfbu enabled auto-merge (rebase) June 29, 2025 19:42
@jfbu jfbu merged commit 74c1686 into sphinx-doc:master Jun 29, 2025
27 of 28 checks passed
@jfbu jfbu deleted the latex_tables_varwidth branch June 29, 2025 19:45
@mquinson
Copy link

This PR does not fix #8228, and it seems really unrelated. Could someone reopen my issue as it's not fixed yet?

@jfbu
Copy link
Contributor Author

jfbu commented Jun 29, 2025

This PR does not fix #8228, and it seems really unrelated. Could someone reopen my issue as it's not fixed yet?

Yes, sorry. This PR fixed #8828 but I made a typo in the commit message.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

3 participants