Skip to content
Discussion options

You must be logged in to vote

So Quarto relies on pandoc to convert markdown tables to LaTeX tables, and pandoc currently emits LaTeX tables using only the longtable environment. There is currently no standard way to produce tables for multiple formats where the emitted LaTeX will use the table environment (because e.g. kable emits tabular not table). Post-processing of the LaTeX document might be possible, but simply replacing longtable with table looks 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 a table environment.

Is that about right?

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@mcanouil
Comment options

mcanouil Jul 8, 2026
Collaborator

@alan-isaac
Comment options

@mcanouil
Comment options

mcanouil Jul 8, 2026
Collaborator

@alan-isaac
Comment options

Answer selected by alan-isaac
@cscheid
Comment options

@mcanouil
Comment options

mcanouil Jul 8, 2026
Collaborator

@cscheid
Comment options

@cderv
Comment options

cderv Jul 8, 2026
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration latex LaTeX engines related libraries and technologies
4 participants