Re: [R-pkg-devel] Including fonts in an rmarkdown vignette

2020-06-03 Thread David Hugh-Jones
Thank you for these suggestions. Google fonts sounds like quite an easy approach. David On Wed, 3 Jun 2020 at 10:03, David Gohel wrote: > David > > If you are ok to use one of the fonts available on google font, you could > use package gfonts (in Suggests): >

Re: [R-pkg-devel] Including fonts in an rmarkdown vignette

2020-06-03 Thread David Gohel
David If you are ok to use one of the fonts available on google font, you could use package gfonts (in Suggests): https://cran.r-project.org/web/packages/gfonts/vignettes/gfonts.html As it will be « inline », your document

Re: [R-pkg-devel] Including fonts in an rmarkdown vignette

2020-06-03 Thread Maëlle SALMON via R-package-devel
Hi, I've recently seen an example of a package that provides its own fonts for a vignette. See links in https://blog.r-hub.io/2020/06/03/vignettes/#pretty-vignettes In that same post I link to a workaround I saw on this list

[R-pkg-devel] Including fonts in an rmarkdown vignette

2020-06-02 Thread David Hugh-Jones
Hi, I'd like to build a rmarkdown vignette with my own choice of fonts – I'm pernickety about look and feel. R CMD check will rebuild vignettes in the vignettes/ directory, and if relevant fonts aren't on the build machine, it'll give a warning. Here are the options I can think of: * build