mitchelloharawild / vitae

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

Footer in Awasome template #226

Closed jmmartinf closed 7 months ago

jmmartinf commented 1 year ago

My footer in the PDF output using "awesomecv" template do not show the footer with Date, Name and File name.

In old versions I didn't have that issue.

However I just saw the library changelog with a change in the version (vitae 0.5.2), described as: Added option to remove footer from awesomecv template (#182, #200).

Reading the documentation, the function "awesomecv()" has a parameter named "show_footer" with default value to TRUE.

Reviewing the latex template (awasome-cv.tex), in line 166 the code is: "$if(showfooter)$"

Therefore there is a small but significant difference, the hyphen.

I had to change tha code to "$if(show_footer)$"

And the the problem was solved.

Saludos y Gracias


# output: vitae::awesomecv
flyaflya commented 1 year ago

fix noted above works great. you can find the template location from R using:

system.file("rmarkdown", "templates", "awesomecv",
            "resources", "awesome-cv.tex",
            package = "vitae"
)

modify the file and the footer appears!

mitchelloharawild commented 7 months ago

Great, glad this could be figured out!