liantze / AltaCV

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

fontawesome5 package doesn't work #24

Closed shubhampaul closed 5 years ago

shubhampaul commented 5 years ago

error: ! Package fontawesome5 Error: The requested icon UNIVERSITY was not found. for a simple \faUniversity I tried with LuaLaTeX, XeLaTeX and PdfLaTeX. fontawesome5 works normally but not with altacv.cls in the \cvsection

shubhampaul commented 5 years ago

The \MakeUppercase in the code was forcing the command \faHandsHelping to be in Uppercase as well. So I solved the issue by removing \MakeUppercase. Hence, the code becomes:

\newcommand{\cvsection}[2][]{%
  \bigskip%
  \ifstrequal{#1}{}{}{\marginpar{\vspace*{\dimexpr1pt-\baselineskip}\raggedright\input{#1}}}%
  {\color{heading}\LARGE\bfseries{#2}}\\[-1ex]%
  {\color{heading}\rule{\linewidth}{2pt}\par}\medskip
}
shubhampaul commented 5 years ago

This issue is in fontawesome itself and not alta cv. Here is the link https://github.com/FortAwesome/Font-Awesome/issues/14363