include_figure: include a figure/includegraphics from a file in Latex code

View source: R/pythontex_utils.R

include_figureR Documentation

include a figure/includegraphics from a file in Latex code

Description

include the figure/includegraphics from a file in Latex code (for an image produced in R pythontex)

Usage

include_figure(path, label, caption, scale = 1)

Arguments

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)

Examples


include_figure(path_sans_ext = "/tmp/test",
             label = "test_r",
             caption = 'test R figure')


lbraglia/lbmisc documentation built on June 14, 2025, 6:44 p.m.