Closed hturner closed 5 years ago
Is the font Open Sans?
Note to self: use charlatan to create fake names
Other question for @hturner: does Forwards have an address? It'd make it look more legit?
I don't mind about the font. Forwards doesn't have an address. If you think it helps you could point to the R Foundation details https://www.r-project.org/foundation/ (there still isn't an address there mind).
I thought it was Open Sans because that's the logo font :wink:
I guess it's fine without address then! I'm shocked that even the R foundation status doesn't state an address π
Notes
See https://github.com/hrbrmstr/markdowntemplates structure
The workshop content could be expected as an input path, and the workshop leader would write them as .md or so
The package name should probably be more specific
The documentation of the template should show an example of using render
with parameters.
Pdf seems to be the most natural output format for such a certificate but the docs should mention tinytex for ease of installation.
Changing the font is more complicated than I expected. I am currently installing the mathspec TeX package that didn't seem to be installed yet. I am worried that such details will make this template less usable (because not everyone likes/is used to mess up with LaTeX). That said missing packages is one thing tinytex helps with π
Have you considered using the showtext R package? This has helped me before when I needed extra fonts but did not have much control over the installation (working on a server).
will have a look, thanks! I've used it in the past. Yesterday I stopped working on this after installing tinytex
, will resume work this week hopefully.
Am installing https://fonts.google.com/specimen/Open+Sans?selection.family=Open+Sans because it was the font used in the logo.
It actually seems more promising to install the opensans package http://www.tug.dk/FontCatalogue/opensans/
Now the next steps will be to:
Make it look good (including use of the logo!)
Document it including writing an example of generating a series of certificates based on a charlatan
-generated list of names, and with a custom defined workshop content.
I have examples from other workshops that could give an idea of the layout, that I will share directly.
@hturner could you please try the current function to see how the background watermark looks like and tell me how much smaller + how much more transparent you want it?
Could you also send me the layout examples?
I think the function is now ok but that certificate needs to get prettier. Forwards info could be a footer, right now it is in the middle of the certificate.
I sent the layout examples to you on Forwards slack.
For the footer I should use fancyhdr π€
Am trying to use that but it doesn't work yet. πΏ
Apart from the absence of the footer @hturner what are easy fixes for this template? package_development_workshop_01.pdf
These are hopefully easy fixes that I think will improve the result:
It would be nice to have a thin multi-colour border on the page (like the hexsticker border but with a print margin round the outside). This may be fiddly though.
Am going to put the most difficult part in a separate nice-to-have issue and will work on the rest π
The fun is already starting, the URL is in the template but doesn't appear π©
Note to self: the wallpaper TeX package doesn't have a margin option and changing the margins of the document doesn't affect the wallpaper so I'll just create and use a logo with white borders to solve the problem.
Remaining are font size (I tested two solutions with no success so fare) and page size (haven't done anything yet)
Am trying to increase text size a bit but to make it really bigger everywhere, I might need a custom doc class (not going to happen π ) or to use \Large etc differently than now (so not using \normalsize at all).
Note to self: when adding the option for paper size, use pdftools to test the behavior if possible. Cf https://github.com/ropensci/pdftools/issues/41
Final fixes on TODO list implemented in 8052669c298edb27d22fe7d02aedf9cc79f31ec6
This could be done a couple of ways as I outline below. The first is simpler and easier to keep up-to-date, but the second gives more details about what the workshop is about. I'm not sure which is best.
I have examples from other workshops that could give an idea of the layout, that I will share directly.
Ideally this would be implemented as a parameterised R markdown or similar, so we can easily generate certificates for participants.
Option 1 [Landscape, Forwards logo in header or possibly as background watermark]
CERTIFICATE OF PARTICIPATION
This certificate is awarded to
[Full Name]
for completing the R Package Development Workshop, a total of 6 hours instruction with guided computer programming exercises.
[Date] Date
[Space for signature] [Full name of certifying person] [Position of certifying person (e.g. Workshop Tutor or Forwards Teaching Team Member or similar as appropriate)]
Forwards: the R Foundation taskforce on women and other under-represented groups (https://forwards.github.io/)
Option 2 [Portrait, Forwards logo in header]
CERTIFICATE
[Full Name]
has participated in the
R Package Development Workshop
date
Workshop contents:
[Space for signature] [Full name of certifying person] [Position of certifying person (e.g. Workshop Tutor or Forwards Teaching Team Member or similar as appropriate)]
Forwards: the R Foundation taskforce on women and other under-represented groups (https://forwards.github.io/)