string.figure: Export a latex figure from a string input

Description Usage Arguments Value

View source: R/orgmode_tikz.R

Description

Create a latex figure where the input to the function is a string. This sets up the surrounding string.

Usage

1
2
3
4
5
6
7
string.figure(
  figure.string,
  fig.float = "t",
  fig.center = TRUE,
  fig.caption = "My figure",
  fig.label = "fig:my_figure"
)

Arguments

figure.string

The string to use inside the figure block

fig.float

Latex figure float modifiers as a string (e.g. "htbp", "!h")

fig.center

Add centering argument to the latex figure block

fig.caption

Latex figure caption

fig.label

Latex figure label for referencing

Value

The latex figure block as a string


jaypmorgan/orgtikz documentation built on Feb. 12, 2021, 12:36 a.m.