A numeric widths is interpreted as a proportion of text width in LaTeX, or of
width of the containing element in HTML. A character width must be a valid
LaTeX or CSS dimension. The default, NA
, makes the caption the same width
as the table.
caption_width(ht)
caption_width(ht) <- value
set_caption_width(ht, value)
A huxtable.
Number or string. Set to NA
to reset to the default, which is
NA
.
caption_width()
returns the caption_width
property.
set_caption_width()
returns the modified huxtable.
Other caption properties:
caption()
,
caption_pos()
caption_width(jams) <- 0.5
caption_width(jams)
#> [1] 0.5