posquit0 / Awesome-CV

:page_facing_up: Awesome CV is LaTeX template for your outstanding job application
LaTeX Project Public License v1.3c
23.03k stars 4.79k forks source link

Let the user choose the order of header-information #125

Open BafDyce opened 7 years ago

BafDyce commented 7 years ago

I think it would be a great enhancement to give the user some kind of control on the order of the elements in the header. I'm speaking about \mobile, \email, \homepage, \github, and so on.

For example, some might want to have their linkedin profile before github, etc.

I would be willing to implement this, however I'm not that experienced in LaTeX. So, I don't know how I would do that without messing up the code base too much. If this feature is wanted, I'd like to get some guidance/hints on how I could implement this.

I know that right now each of these header-fields is processed in a specified order in a rather long if-elseif-else, beginning at line 439 in awesome-cv.cls ( https://github.com/posquit0/Awesome-CV/blob/master/awesome-cv.cls#L439 ). Would it be possible to add an additional parameter order to each field or (even better) to retrieve the order from the order in which the definitions of these elements appear in the user's LaTeX-doc?

sgarg15 commented 2 years ago

Could this feature be implemented? I have been trying to get this too work but it keeps on crashing.