great-tables
great-tables copied to clipboard
Option to export tables to LaTeX code
Prework
- [x] Read and abide by the great_tables code of conduct and contributing guidelines.
- [x] Search for duplicates among the existing issues (both open and closed).
Proposal
It would be fantastic if there was an option to export tables to LaTeX as this would unlock a wide range of further uses in presentations, papers, and reports. For prior art, the original gt package in R does this, and pandas has a table export option.
Thanks for the great work on great tables!
Yes! We are planning for this, and it'll be something that's done in early-to-mid 2024. The reason for it being scheduled a bit later is so we could first get the core functionality into this package working well.
Amazing news, thank you.
Just wondering, do you think this will be implemented by the next version? Or a longer timeline?
Would love to ditch my pandas dependency and rely on polars and great-tables instead!
We should have the more fine-grained styling options implemented pretty soon (https://github.com/posit-dev/great-tables/pull/341), which will be useful to have in place before implementing latex support. Lemme check with @rich-iannone in our next meeting on timing 😅
Great, thanks so much for the update!
+1 that would be super helpful!
I'll close this issue as the feature has been implemented and merged.
Congratulations and thanks for the feature!
This is fantastic news, thank you for implementing. I will add to Coding for Economists in due course! (Issue here)