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
gt greatly facilitates the table generation and formatting in my rmarkdown/bookdown reports. Adding corresponding captions, however, is not straight forward and I haven't yet figured out how to
add a caption that is nicely represented in (pdf)LaTeX output
linked to the table object and
integrated into bookdowns cross referencing infrastructure.
panderas well as knitr::kable offer caption arguments for this purpose (which may be wrangled into bookdown-compatibility in the first case).
I'd appreciate if gt would provide something equivalent - like gt::tab_caption.
The text was updated successfully, but these errors were encountered:
When adding captions, it would be nice if the captions supported the LaTeX feature of short and long captions. The short caption is what shows up in the list of tables at the top while the long caption is what is used immediately adjacent to the table itself.
That code will not likely be the final code chosen, but it does provide several helpful features that I use often like:
Integrated short and long captions.
The option to combine the short and long captions (so that the short caption shows up as the first part of the long caption without the minor but tedious task of pasting them together each time).
Integration of a label.
Extraction of a caption attribute from the input object so that many tables can be generated as data.frames and then they can be run through the table generation code separately while only tracking what will be the caption at the initial data.frame stage.
gt
greatly facilitates the table generation and formatting in myrmarkdown
/bookdown
reports. Adding corresponding captions, however, is not straight forward and I haven't yet figured out how toadd a caption that is nicely represented in (
pdf
)LaTeX
outputlinked to the table object and
integrated into
bookdowns
cross referencing infrastructure.pander
as well asknitr::kable
offercaption
arguments for this purpose (which may be wrangled intobookdown
-compatibility in the first case).I'd appreciate if
gt
would provide something equivalent - likegt::tab_caption
.The text was updated successfully, but these errors were encountered: