huxtable (version 4.5.0)

width: Table width

Description

Functions to get or set the table-level table width property of a huxtable.

Usage

width(ht)
width(ht) <- value
set_width(ht, value)

Arguments

ht

A huxtable.

value

A length-one vector. If numeric, value is treated as a proportion of the surrounding block width (HTML) or text width (LaTeX). If character, it must be a valid CSS or LaTeX width. Set to NA to reset to the default, which is 0.5.

Value

For width, the width property. For set_width, the modified huxtable.

See Also

Other table measurements: height

Examples

Run this code
# NOT RUN {
width(jams) <-  0.8
width(jams)

# }

Run the code above in your browser using DataLab