This is a wrapper to put HTML-tag around character string input to be rendered as small capital in the output document of an R Markdown file.

scaps(x)

Arguments

x

A character string (e.g. a word or phrase).

Value

Character string with HTML-tag for small capital.

Examples

scaps("happiness")
#> [1] "<span style = 'font-variant:small-caps;'>happiness</span>"