billryan / resume

An elegant \LaTeX\ résumé template. 大陆镜像 https://gods.coding.net/p/resume/git
MIT License
9.15k stars 2.59k forks source link

How to add more icons from https://fontawesome.com #36

Closed tailomoon closed 5 years ago

tailomoon commented 5 years ago

Hi billryan

Thank you for sharing your resume template.

I am trying to add several icons which were not included in your file fontawesomesymbols-generic.tex. Let's suppose the name of the icon is XXX with its fa unicode FYYY. I guess I need to add \def\faXXX{\faicon{XXX}} to fontawesomesymbols-generic.tex, and add \expandafter\def\csnamefaicon@XXX\endcsname{{\FA\symbol{"FYYY}}} to fontawesomesymbols-xeluatex.tex. However, I don't know how to add codes to fontawesomesymbols-pdftex.tex.

Could you please help. Thanks.

billryan commented 5 years ago

You should update fontawesome fonts, I will try to import new fontawesome package this weekend.

billryan commented 5 years ago

If you use TexLive 2018 and later, you can use fontawesome5 package. If you use XeLaTeX, you can try https://github.com/billryan/latex-fontawesome5, I will include this package as submodule for resume template this weekend.