Description Usage Arguments Value
Create a latex figure using a tikz .tex file as the input to the figure. This is useful for placing tikz figures into org-mode files.
1 2 3 4 5 6 7 8 9 | tex.figure(
inpath,
fig.float = "t",
fig.center = TRUE,
fig.caption = "My figure",
fig.label = "fig:my_figure",
is.subfigure = FALSE,
subfigure.scale = 1
)
|
inpath |
Filepath to the location of the tex file |
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 |
is.subfigure |
Boolean value to create a subfigure instead of normal figure |
subfigure.scale |
Set width of subfigure if is.subfigure is TRUE |
A latex figure as a string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.