The justification of the table determines the horizontal placing of the table on the page.
sprinkle_justify(x, justify = getOption("pixie_justify", "center"), ...)# S3 method for default
sprinkle_justify(x, justify = getOption("pixie_justify", "center"), ...)
# S3 method for dust_list
sprinkle_justify(x, justify = getOption("pixie_justify", "center"), ...)
An object of class dust
character
string giving the justification of the
entire table on the page. May be any one of "center"
,
"left"
, or "right"
.
Additional arguments to pass to other methods. Currently ignored.
Change the justify
attribute of the dust
object.
Cast an error if x
is not a dust
object.
Cast an error if justify
is not one of "center"
,
"none"
, "left"
, or "right"
.
Ignore capitalization of the justify
argument.
Benjamin Nutter
For HTML tables, the values "center"
,
"left"
, and "right"
all justify the table as expected.
It is important to note, however, that "left"
and "right"
will cause subsequent elements to be rendered next to the table, not
below it. To render the table with left alignment without this side
effect, use "none"
.
In LaTeX output, both "right"
and "left"
justify
to the left. This may change in the future if I find a resolution. Using
"none"
also results in left justification.
dust
, sprinkle