hand_title: Title with 'handwritten' font

Description Usage Arguments Value Examples

Description

Works like the title command, but chooses a hand writing styled font.

Usage

1
2
hand_title(txt,fontfam='am',...)
txt %>% hand_title(...)

Arguments

fontfam

Handwritten font family - see get_fonts

...

other parameters passed on to the title function

txt

a character string to write as the title

Value

No value returned

Examples

1
2
3
4
5
6
7
# Here make_canvas is inserted in a pipeline after a simplified and tidied 
# map of Irish NUTS3 regions is created.  A sketchy rendition is then added to the
# canvas.
get_fonts()
data(RA) 
RA.spdf %>% small_chop %>% gSimplify(tol=11000) %>% tidy_it %>% make_canvas %>% sketch_it(col='orange')
'NUTS3 Regions in Ireland' %>% hand_title(fontfam='gr')

chrisbrunsdon/caricRture documentation built on May 13, 2019, 6:52 p.m.