HTML dependency for Luciole typeface
luciole-dependency.Rd
It can be used to integrate Luciole font into web pages (Shiny applications or RMarkdown documents).
Arguments
- selector
CSS selector for which to use the font, usually an HTML tag, default to
"body"
(all document). IfNULL
style tag isn't included.
Value
luciole_font_dependency
: anhtmltools::htmlDependency()
.attach_luciole
: an emptydiv
with Luciole dependency attached.
Examples
library(luciole)
library(htmltools)
browsable(tags$div(
luciole_font_dependency(),
tag_example(style = "font-size: 3rem;")
))
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789$€£¥
0123456789$€£¥
0123456789$€£¥
?,;.:/!()[]{}@&
?,;.:/!()[]{}@&
?,;.:/!()[]{}@&
÷×−+∏∫∞
÷×−+∏∫∞
÷×−+∏∫∞