import_lato: Import Lato font

Description Usage Details Value References Examples

View source: R/lato.R

Description

First registers fonts so that they can be used with the PDF, PostScript, or Windows bitmap output devices, then imports Lato.

Usage

1

Details

This does not replace the need to install Lato on your system for output to other graphics devices (e.g. png). You can do this by downloading the font from the web and saving it to the appropriate location for your system (/Library/Fonts/ on macOS). import_lato() invisibly returns the path to the TTF file that's included in the package, in case you prefer to copy it from there to your system font library.

Value

Path to folder containing Lato TTF file (invisibly)

References

http://www.latofonts.com/

Examples

1
2
3
4
## Not run: 
import_lato()

## End(Not run)

Sage-Bionetworks/sagethemes documentation built on Dec. 27, 2021, 2:09 p.m.