Skip to contents

Font styling for symbols

Usage

sym.setting(font.size = NULL, font.weight = NULL, font.color = NULL)

Arguments

font.size

font size as integer

font.weight

font weight eg. normal, bold or lighter

font.color

font color e.g. red, blue, cyan

Value

No values returned

Examples

symbol.setting(40, "bold", "green") # ascribe settings for all symbols
symbol("alpha") # display the alpha symbol
#> <span class='r2rsymbols-sym sym-222' style='font-size:40px!important;font-weight:bold!important;color:green!important;'>&alpha;</span>
symbol.setting() # clear settings for symbols
symbol("alpha") # display the alpha symbol
#> &alpha;