liantze / AltaCV

Yet another alternative curriculum vitae/résumé class with LaTeX
Other
1.27k stars 331 forks source link

Changes to add a picture to the left of the header #36

Closed jgoliveira closed 4 years ago

jgoliveira commented 4 years ago

A few months ago I made a few changes to the template to make my own personal cv, in order to have a left picture and a right picture in the header, like having my face on the left and my faculty/university 's logo, for example. I realised that a few of my colleagues also prefer having a cv with a left and right pictures like I did.

So noticed this issue #35 , I decided to improve my solution of that, to provide to anyone interested in it, and there's this PR.

I declared a "PhotoL" (as in photo on the left) do declare a left picture, choosing the leftphoto option on the 'documentclass ' of your tex file. \documentclass[10pt,a4paper,normalphoto,leftphoto]{altacv} Note that if you declare the 'leftphoto' option you need to define a \photoL picture as well, otherwise, you'll have compilation issues. \photoL{2.8cm}{mmayer-wikipedia-cc-by-2_0}

See how it looks on the Marissa Mayer's CV:

Screenshot 2019-12-13 at 21 58 50

Fixes #35 .

liantze commented 4 years ago

Thanks for the PR, and sorry for the delayed response.

There had actually been requests for adding picture on the left, on the right, two photos on the left and one on the right, etc, etc, etc... so I've actually been trying to refactor things to make the code adding these photos a bit more streamlined and a bit more flexible.

I could merge your PR first; but I might be refactoring/modifying things all over the place in the short future. Would that be fine with you?

jgoliveira commented 4 years ago

That's fine @liantze Whatever you think is better, for you and for the project :) What I did was just make a few small changes to achieve what I needed in the moment when I was working on my CV and then I decided to made it available here in order to help someone who could need of something similar on their CV.

But I said it again, if you are working on a well more refactored version to add photos in a more generic way, it's entirely up to you, no hard feelings from my side, that's for sure :) Good luck for you on this 👍🏼👍🏼

liantze commented 4 years ago

Fixed by 53589e7b6ff6f68f96735d8757e6e2f6754cad40