bold: Make cell text bold or italic

Description Usage Arguments Value See Also Examples

Description

Make cell text bold or italic

Usage

1
2
3
4
5
6
7
8
9
bold(ht)
bold(ht) <- value
set_bold(ht, row, col, value = TRUE)
map_bold(ht, row, col, fn)

italic(ht)
italic(ht) <- value
set_italic(ht, row, col, value = TRUE)
map_italic(ht, row, col, fn)

Arguments

ht

A huxtable.

row

A row specifier. See rowspecs for details.

col

An optional column specifier.

fn

A mapping function. See mapping-functions for details.

value

A logical vector or matrix.

Set to NA to reset to the default, which is FALSE.

Value

bold() returns the bold property. set_bold() returns the modified huxtable.

See Also

Other formatting functions: background_color(), font_size(), font(), na_string(), number_format(), text_color()

Examples

1
2
3
4
5
6
7
8

huxtable documentation built on Feb. 15, 2021, 1:07 a.m.