View source: R/latex-functions.R
latex_figure | R Documentation |
generate the LaTeX code needed to produce a figure, with caption and label. A caption and label will be generated if unspecified
latex_figure(
path,
caption = NULL,
label = NULL,
cat = TRUE,
lab.prefix = "fig:",
where = "htb",
caption.lof = NULL
)
path |
path to figure |
caption |
caption of figure |
label |
label of figure |
cat |
concatenate and print the code, else return as character |
lab.prefix |
prefix for label |
where |
argument for placement of figure |
caption.lof |
argument for caption for list of figures |
printed coded or character
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.