View source: R/autolabel_latex_captions.R
stop_floating | R Documentation |
When I knit R Markdown files to LaTeX, I end up putting \\FloatBarrier
after every figure
so they don't float past where I want them in the document. Using knitr
's hooks, I can make this
process happen automatically.
In order to do that, you first need to include the LaTeX package placeins
(i.e., via header-includes: \\usepackage{placeins}
).
stop_floating()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.