symbol: Get a desired symbol
Description
Get a symbol by name or numberfor use in Rmarkdown or Shiny apps, could be a mathematical symbol or other kinds of symbols
Usage
symbol(
...,
font.size = NULL,
font.weight = NULL,
font.color = NULL,
if.error = FALSE,
search.units.each = FALSE
)
Value
symbol hex for HTML integration
Arguments
- ...
the symbols to display
- font.size
font size as integer
- font.weight
font weight as integer
- font.color
font color e.g. red, blue, cyan
- if.error
error response
- search.units.each
whether to search single letter columns
Examples
Run this codesymbol("trademark")
symbol("alpha")
symbol("arrow-right")
symbol(144)
Run the code above in your browser using DataLab