I'm trying to get a document publication-ready and am doing everything in LaTeX. However, I just now noticed that gtsummary doesn't yet support LaTeX output for its tables. I'm wondering what the best way is to nevertheless convert the HTML tables into LaTeX?
One idea is to a website like https://tableconvert.com/ and convert from HTML.
Two questions:
How do I actually output the raw HTML code from a
gtobject to do this? R automatically formats the tbl_summary object, and I don't see any helper functions for getting the raw html.Is there a better way to transform the tables to LaTeX for publications that require submissions in LaTex?