Description Usage Arguments Details See Also Examples
font_variants()
returns a tree of fonts organised as per
fontconfig's nomenclature. The first level contains variants of a
font and the second level contains font styles.
1 2 3 | font_variants(fontset)
font_styles(fontset, variant)
|
fontset |
A string giving the name of a set of fonts
(e.g. |
variant |
Font variant, as per Fontconfig's nomenclature. Use
|
See also font_families()
and font_faces()
for similar collections organised according to R nomenclature of
fonts. Note that variants and styles are a super set of R families
and faces and may contain more fonts.
1 2 3 | font_variants("Bitstream Vera")
font_variants("Bitstream Vera")$Sans$Oblique
font_styles("Bitstream Vera", "Sans")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.