forwards / fwdbrand

Code and assets related to Forwards branding :sparkles:
Other
1 stars 0 forks source link

Creating a package development workshop certificate template #6

Closed hturner closed 5 years ago

hturner commented 6 years ago

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/)

maelle commented 6 years ago

Is the font Open Sans?

maelle commented 6 years ago

Note to self: use charlatan to create fake names

maelle commented 6 years ago

Other question for @hturner: does Forwards have an address? It'd make it look more legit?

hturner commented 6 years ago

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).

maelle commented 6 years ago

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 πŸ˜€

maelle commented 6 years ago

Notes

hturner commented 6 years ago

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).

maelle commented 6 years ago

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.

maelle commented 6 years ago

Am installing https://fonts.google.com/specimen/Open+Sans?selection.family=Open+Sans because it was the font used in the logo.

maelle commented 6 years ago

It actually seems more promising to install the opensans package http://www.tug.dk/FontCatalogue/opensans/

maelle commented 6 years ago

Now the next steps will be to:

maelle commented 6 years ago

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.

hturner commented 6 years ago

I sent the layout examples to you on Forwards slack.

maelle commented 6 years ago

For the footer I should use fancyhdr πŸ€”

maelle commented 6 years ago

Am trying to use that but it doesn't work yet. 😿

maelle commented 6 years ago

Apart from the absence of the footer @hturner what are easy fixes for this template? package_development_workshop_01.pdf

hturner commented 6 years ago

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.

maelle commented 6 years ago

Am going to put the most difficult part in a separate nice-to-have issue and will work on the rest 😁

maelle commented 6 years ago

The fun is already starting, the URL is in the template but doesn't appear 😩

maelle commented 6 years ago

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.

maelle commented 6 years ago

Remaining are font size (I tested two solutions with no success so fare) and page size (haven't done anything yet)

maelle commented 6 years ago

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).

maelle commented 6 years ago

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

hturner commented 5 years ago

Final fixes on TODO list implemented in 8052669c298edb27d22fe7d02aedf9cc79f31ec6