google_font {xaringanthemer} | R Documentation |
Specify Google Font
Description
Builds Google Fonts URL from family name. Extra weights are given in the
...
parameters. Languages can be specified in languages
and must one or
more of the language codes as given by google_language_codes()
.
Usage
google_font(family, ..., languages = NULL)
Arguments
family |
Font family |
... |
Font weights to include, example "400", "400i" |
languages |
Font languages to include (dependent on the font.) See
|
Value
A "google_font"
object.
Examples
google_font("Josefin Sans", "400", "400i", "600i", "700")
google_font("Josefin Sans", languages = c("latin-ext", "vietnamese"))
[Package xaringanthemer version 0.4.2 Index]