View source: R/pythontex_utils.R
include_figure | R Documentation |
include the figure/includegraphics from a file in Latex code (for an image produced in R pythontex)
include_figure(path, label, caption, scale = 1)
path |
path to the pdf file |
label |
label of the latex figure |
caption |
caption of the latex figure |
scale |
used for re-dimensioning (defaul = 1) |
include_figure(path_sans_ext = "/tmp/test",
label = "test_r",
caption = 'test R figure')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.