mitchelloharawild / vitae

R Markdown Résumés and CVs
https://pkg.mitchelloharawild.com/vitae/
1.19k stars 229 forks source link

ORCID ID icon in hyndman template #160

Closed petermacp closed 2 years ago

petermacp commented 3 years ago

In my CV, I have included my ORCID ID in the YAML header., as per suggestion here.

However, the ORCID ID icon doesn't display correctly (see in image).

Screenshot 2021-03-02 at 15 26 17

It does seem to be possible to have the correct icon displayed (see in the awesomecv template), but I am not sure how to make this work. Perhaps something to do with referencing academicicons?

Many thanks

mitchelloharawild commented 2 years ago

@robjhyndman Are you able to change https://github.com/mitchelloharawild/vitae/blob/6c0f48d86f83792473112438d0555afeb25e990b/inst/rmarkdown/templates/hyndman/resources/hyndmantemplate.tex#L257

to use the \aiOrcid icon from the academicons library? I had a go, but it requires a different tex engine.

Alternatively we can leave this for now and wait for {icons} to replace all social icons them SVG.

robjhyndman commented 2 years ago

I think a better solution is to use the fontawesome5 package rather than the academicon package. That way, it works with all latex engines and not just xelatex and lualatex which are still not widely used. I've made this change in https://github.com/mitchelloharawild/vitae/commit/c15afa4227b9c5fccdf1580e6caed071291f0e9b

mitchelloharawild commented 2 years ago

Great, thanks. I wasn't aware of {fontawesome5}.