Skip to contents

urban_fonts() returns the font families of a named set: one for the bold capitals of legends and titles, and one for secondary text. The package does not include the fonts. You must install them on the system. If the package cannot find a family, it uses the default sans-serif and gives a warning.

Usage

urban_fonts(fonts = c("manifold", "broadway", "subway", "narroway"))

Arguments

fonts

One of "manifold", "broadway", "subway", or "narroway".

Value

A list with elements caps and text, each a font family name.

Font sets

  • "manifold", the default: Manifold Extended CF capitals, close to the extended grotesque of the original plates, with Manifold CF text.

  • "broadway": Broadway capitals with Subway text.

  • "subway": Subway throughout.

  • "narroway": Narroway throughout.

See also

theme_urban(), which uses a font set.

Examples

urban_fonts("manifold")
#> $caps
#> [1] ""
#> 
#> $text
#> [1] ""
#>