Description Usage Arguments Examples
Simple function developed to desing logos
1 2 3 |
name |
Name of you company/institution (char string) |
text_size |
Logo text size |
cols |
Logo colours - either avalid palette name or colour names |
additional_text |
Additional title text |
expr |
Posibility to add expressions to logo |
expr.index |
Expression index (possition) |
all_caps |
LOGICAL |
include_title |
LOGICAL Include the name of your company in logo title |
family |
Font style |
fontface |
Font type |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | library(LOLs)
a <- logo(name = 'KVHEM',
additional_text = 'Katedra vodního hospodářství
a environmentálního modelování')
a + theme(title = element_text(size = 12.5))
b <- logo(name = 'KVHEM',
additional_text = 'Katedra vodního hospodářství
\na environmentálního modelování',
include_title = FALSE,
family = 'AvantGarde')
b + theme(panel.grid.major = element_blank(),
panel.grid.minor = element_blank(),
axis.ticks = element_blank(),
axis.text = element_blank(),
axis.line = element_blank(),
plot.title = element_text(size = 25,
hjust = 0.25,
color = 'steelblue4'))
c <- logo(name = 'R-Users Group',
text_size = 10,
cols = 'Greens',
family = 'Courier')
c
x <- logo(name = 'DRUtES',
additional_text = '\nDual Richards Unsaturated Equation Solver',
cols = c('royalblue4',
'lightsteelblue1'),
expr = expression(integral()[Omega]),
text_size = 9.5,
include_title = FALSE,
fontface = 'bold.italic')
x + theme(panel.grid.major = element_blank(),
panel.grid.minor = element_blank(),
axis.ticks = element_blank(),
axis.text = element_blank(),
axis.line = element_line(colour = 'royalblue4'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.