By default, captions are displayed above the table. You can change this
with caption_pos()
.
Value
property()
returns the property value(s).
set_property()
and map_property()
return the modified huxtable.
See also
Other caption properties:
caption_pos()
,
caption_width()
Examples
set_caption(jams, "Pots of jam for sale")
#> Pots of jam for sale
#> Type Price
#> Strawberry 1.90
#> Raspberry 2.10
#> Plum 1.80
#>
#> Column names: Type, Price
# escape caption characters:
caption(jams) <- sanitize(
"Make $$$ with jam",
type = "latex"
)