1/22/2024 0 Comments Rmarkdown spacing![]() ![]() If your graphics device is postscript, we recommend that you disable this feature (see more info in the knitr issue #1365).įig_caption controls whether figures are rendered with captions (this is true by default).ĭev controls the graphics device used to render figures (defaults to pdf). For macOS users who have installed Homebrew, ghostscript can be installed via brew install ghostscript. You also have to make sure the system package ghostscript is available in your system for pdfcrop to work. If you are using TinyTeX as your LaTeX distribution, we recommend that you run tinytex::tlmgr_install("pdfcrop") to install the LaTeX package pdfcrop. There are a number of options that affect the output of figures within PDF documents:įig_width and fig_height can be used to control the default figure width and height (6.5x4.5 is used by default).įig_crop controls whether the pdfcrop utility, if available in your system, is automatically applied to PDF figures (this is true by default). 5 Answers Sorted by: 47 Another easy way to do this is to just use HTML tags.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |