-
Notifications
You must be signed in to change notification settings - Fork 110
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
gt table alignment in main column. #79
Comments
The issue can be fixed by making your own css file. Here are the lines of code:
Thank you to Yaodong Yu for the help! @itsyaoyu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: