Restrict width of notes to table width in LaTeX output #860
Replies: 4 comments
-
Another benefit of using |
Beta Was this translation helpful? Give feedback.
-
I agree that the minipage usage for the footer is not ideal and this is one of those cases where the idea breaks down. I am pretty impressed with |
Beta Was this translation helpful? Give feedback.
-
This seems like a pretty reasonable feature request, so I'll move this discussion into an issue. |
Beta Was this translation helpful? Give feedback.
-
Thanks for turning this into an issue! I implemented the I went down the rabbit hole of LaTeX table environments a bit and it seems to be a recurring issue that certain environments implement a certain feature (such as table footnotes) quite well, but at the cost of being incompatible with others. The only package that unites all of these features in a common syntax and is flexible enough to be a proper match of |
Beta Was this translation helpful? Give feedback.
-
Dear community - I'm relatively new to
gt
but already in love with its design philosophy. I understand that html output is the focus of this package yet some functionality to create LaTeX output is provided.It seems that the current implementation simply creates a minipage environment of line width for table notes. In many academic publications, however, table notes extend no further than the width of the table itself. Should this option be added (or even set as the default)? Although not perfect by themselves, the LaTeX packages
threeparttable
andthreeparttablex
could be used for this.Below I include a sample R Markdown document illustrating my case:
yielding
And the version using
threeparttablex
:Beta Was this translation helpful? Give feedback.
All reactions