View source: R/autolabel_latex_captions.R
autolabel_latex_figs | R Documentation |
I hate having to add \\label{fig:blah}
to fig.cap
in Latex .Rmd files. There's probably a better way to do
this, but if you call this function, it will automatically
add \\label{fig:<label>}
to the fig.cap
option of any
chunk with a fig.cap
and a label, substituting whitespace
stretches (after trimming it)
autolabel_latex_figs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.