Consider the following quarto document: I get the following error, when rendering it: A solution that works is to add table to the following line of the tex file generated by quarto: That is: My question is: How can I do that from inside the quarto document instead of hacking the tex file? Answer As explained in this answer on