PandaScience / FortySecondsCV

A highly customizable and improved version of Carmine Spagnuolo's Twenty Seconds Curriculum Vitae.
BSD 3-Clause "New" or "Revised" License
215 stars 66 forks source link

Set corners to be rounded for profile pic dynamically #37

Open PandaScience opened 3 years ago

PandaScience commented 3 years ago

Ok, so the idea is to let the user decide which corners of the profile pic are rounded and which ones are not. This came up in #36 .

PandaScience commented 3 years ago

something like "profilepictureroundXOOO" for example

I probably would not go with XOOO, OXOO, OOXX etc. Too many permutations and you had to parse the variable somehow or, alternatively, create a lot of code.

What about introducing a new class option (first rename profilepicroundedcorners to profilerounded -> used only internally):

% current default 
profilepicroundedcorners={topleft, bottomright}

% all rounded
profilepicroundedcorners={topleft, topright, bottomleft, bottomright}

But I'm not sure if one can pass multiple values to a key with the xkeyval package. Need to look that up...