table placement quarto-pdf #4849
-
I am trying to write my thesis using quarto. I have created a table as follows:
The table is perfectly rendered in the pdf - but placed in the top of the specific page of the document. The option I even tried to import
Any hints how to avoid floating tables? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 21 replies
-
@bernardo-cruz Can you add
Inspect the |
Beta Was this translation helpful? Give feedback.
-
I tried the above answer suggested by @cscheid. The problem was that while it placed the table correctly, Quarto no longer added the table headings and labels. I found a workaround though. Given the following code, Quarto places the table correctly within the text (not on top of the page) and gives it the appropiate caption and label.
Hope that helps. |
Beta Was this translation helpful? Give feedback.
@bernardo-cruz Can you add
keep-tex: true
to your_quarto.yaml
file? You will have something likeInspect the
.tex
file will help to diagnose the problem as the LaTeX engine has a lot of rules for placement of float elements.