How can I avoid unwanted table breaking in PDF (luatex) output? #14656
Answered
by
alan-isaac
alan-isaac
asked this question in
Q&A
DescriptionI am aware of issue 13961. Mine is almost inverted (and I'm not using Typst). In my PDF output, even very short tables are split rather than floating. I want them to be ordinary floating LaTeX tables in PDF output. Is that not the default? If not, can I make it the default? (I do not have any long tables.) Can I set it on a table-by-table basis? Thanks! |
Answered by
alan-isaac
Jul 8, 2026
Replies: 1 comment 10 replies
|
As you did not provide anything actionable:
I'm not sure why you linked an issue that has nothing to do with yours. If you want a more direct answer please follow the guidelines / discussion template to provide sufficient information for others to help. |
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So Quarto relies on pandoc to convert markdown tables to LaTeX tables, and pandoc currently emits LaTeX tables using only the
longtableenvironment. There is currently no standard way to produce tables for multiple formats where the emitted LaTeX will use thetableenvironment (because e.g. kable emitstabularnottable). Post-processing of the LaTeX document might be possible, but simply replacinglongtablewithtablelooks risky. Use of a Lua filter to change table processing may be possible but is likely to have unexpected consequences. If the only output format is LaTeX, then of course one may replace markdown tables with raw LaTeX that uses atableenvironment.Is that about right?