sprinkle_float {pixiedust} | R Documentation |
Change the float Property in a Dust Table
Description
Alter the floating behavior of tables rendered in
LaTeX documents. Floating tables are moved to a position deemed ideal
by the typesetter. Setting float = FALSE
causes the table to
be rendered in the position in which it is generated in the code.
Usage
sprinkle_float(x, float = getOption("pixie_float", FALSE), ...)
## Default S3 method:
sprinkle_float(x, float = getOption("pixie_float", FALSE), ...)
## S3 method for class 'dust_list'
sprinkle_float(x, float = getOption("pixie_float", FALSE), ...)
Arguments
x |
An object of class |
float |
|
... |
Additional arguments to pass to other methods. Currently ignored. |
Details
See https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions for more about floating environments in LaTeX.
This property has no effect on non-LaTeX output.
Functional Requirements
Change the
float
attribute of thedust
object.Cast an error if
x
is not adust
object.Cast an error if
float
is not logical or length 1.
Author(s)
Benjamin Nutter
Source
https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions