-
Notifications
You must be signed in to change notification settings - Fork 214
Refine Latex Tables with Group Cols #1804
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
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your diligence! Please add news for the change!
I think that this fixes #1799.
@kbrevoort Could you run |
Changes made via scripts/visual-tests-latex.R
Co-authored-by: olivroy <52606734+olivroy@users.noreply.github.com>
@kbrevoort Wow! It actually fixes #1799. See the second table in the visual examples. The second page of https://github.com/rstudio/gt/blob/8744851023d7bee722d74bfd9693b17cb3b232e2/pkgdown/assets/gt-latex.pdf no longer is baffled |
Thank you @kbrevoort and @olivroy ! Will merge this in now. |
Summary
I was making some tables for a paper I'm writing this afternoon and found a few minor issues when Latex tables are created with row_group_as_column = TRUE that this PR addresses. There are three changes:
This Quarto code:
currently produces this output:
With this PR, the same code will now produce:
Related GitHub Issues and PRs
None.
Checklist
testthat
unit tests totests/testthat
for any new functionality.