mitchelloharawild / vitae

R Markdown Résumés and CVs

Home Page:https://pkg.mitchelloharawild.com/vitae/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

profilepic position latexcv

tobiasuruali opened this issue · comments

Hi

Big fan of this project, thank you for the hard work!

In the "awesomecv" template, when a 'profilepic:' parameter is given, it neatly gives the image a round border and places it left of the name.

I was curious if this is possible for the "latexcv" template as well, or is there a latex command I could add for it to work? Currently it just places the image square at the top right of the pdf.

Current latexcv Output:

latexcv profilepic output

Expected Output:

awesomecv profilepic output


---
name: Marie
surname: Curie
position: "Professor"
profilepic: '../avatar.png'
address: "School of Physics & Chemistry, École Normale Supérieure"
pronouns: she/her
phone: +1 22 3333 4444
www: mariecurie.com
email: "Marie.Curie@ens.fr"
twitter: mariecurie
github: mariecurie
linkedin: mariecurie
date: "`r format(Sys.time(), '%B %Y')`"
output: 
  vitae::latexcv:
    theme: classic
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(vitae)

Thanks for your kind words.

The placement of the profilepic is dependent on the design of each template (sourced from other projects). The classic latexcv template doesn't specify a location for an image, so if anything it shouldn't produce anything (https://github.com/jankapunkt/latexcv/blob/master/docs/media/classic.png).

Other latexcv templates support images, although those templates aren't available in {vitae} yet - PRs are very welcomed 😄
https://github.com/jankapunkt/latexcv