-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
table caption adds [H] when i use HOLD_position option in kable_styling in pdf output #839
Comments
I just solved it by removing the "
|
I'm running into this too with kableExtra |
I don't see this in the equivalent R Markdown document, so it's likely some small difference in the way LaTeX is generated between the two systems. I don't use Quarto, so someone else will have to come up with a PR. |
I confirm this is a Quarto issue for when the table is cross reference (meaning |
I am using Quarto to prepare a document. I want to render it as PDF/Latex document. In this document, I need some tables, which I am formatting using kableExtra package. I want to HOLD the position of the table, so that they don't appear on the next page. But when I add "HOLD_position" option in the kable_styling, it adds an extra [H] above the table. Let me share a minimal example of this.
title: "Table Position"
format: pdf
editor: visual
Quarto
Load the packages required
Experiment with the data
If I use the option tbl-cap-location: bottom, then the table caption comes at the bottom of the table, but this [H] still remains at the top of the table. When I remove the "HOLD_position" option, this [H] goes away. When I use "hold_position" instead of "HOLD_position", it adds [!h] above the table instead of [H]. How can I get rid of these extra additions to the table?
The text was updated successfully, but these errors were encountered: