latex_figure: LaTeX code for a figure

View source: R/latex-functions.R

latex_figureR Documentation

LaTeX code for a figure

Description

generate the LaTeX code needed to produce a figure, with caption and label. A caption and label will be generated if unspecified

Usage

latex_figure(
  path,
  caption = NULL,
  label = NULL,
  cat = TRUE,
  lab.prefix = "fig:",
  where = "htb",
  caption.lof = NULL
)

Arguments

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

Value

printed coded or character


renlund/descripteur documentation built on Sept. 24, 2023, 7:07 p.m.