Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profilepic position latexcv #236

Open
tobiasuruali opened this issue May 5, 2023 · 1 comment
Open

profilepic position latexcv #236

tobiasuruali opened this issue May 5, 2023 · 1 comment

Comments

@tobiasuruali
Copy link

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: "[email protected]"
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)
@mitchelloharawild
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants