You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am including gt tables in a Rmarkdown Tufte-style HTML. I want to align the gt tables in the center of the main column, rather than in the center of the HTML spanning both the main column and margin. I have tried using the fig.align knitr option (does not move the gt table at all) as well as tab.align command (will align the gt table all the way to the left, rather than centered in the main column: tab_options(table.align='left')). Here is a repo with an rmd that can be cloned to show the issue I am having: https://github.com/cassidybargell/gt-tufte.
I have asked this question on Stackoverflow , which includes a screenshot of the html.
Example code of a gt table being used in the Tufte-HTML:
---
By filing an issue to this repo, I promise that
- [x] I have fully read the issue guide at https://yihui.name/issue/.
- [x] I have provided the necessary information about my issue.
- If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
- If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included `xfun::session_info('tufte')`. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: `remotes::install_github('rstudio/tufte')`.
- If I have posted the same issue elsewhere, I have also mentioned it in this issue.
- [x] I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered:
I am including gt tables in a Rmarkdown Tufte-style HTML. I want to align the gt tables in the center of the main column, rather than in the center of the HTML spanning both the main column and margin. I have tried using the fig.align knitr option (does not move the gt table at all) as well as tab.align command (will align the gt table all the way to the left, rather than centered in the main column:
tab_options(table.align='left')
). Here is a repo with an rmd that can be cloned to show the issue I am having: https://github.com/cassidybargell/gt-tufte.I have asked this question on Stackoverflow , which includes a screenshot of the html.
Example code of a gt table being used in the Tufte-HTML:
The text was updated successfully, but these errors were encountered: