Render Latex Code As PDF

I want to save a gt table using the PDF version, as I prefer the styling of the output over the HTML output. However, gt::gtsave() seems to only output tables using the HTML styling. See the examples below:

HTML Output:
image

PDF Output:
image

How can render the table using the PDF output and save the render as a .png file so that the file looks like the screenshot above?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.