# Some fontawesome5 icons not working in LaTeX

I'm trying to use fontawesome5 package in LaTeX. Here is my code:

\documentclass[a4paper, 11pt]{article}

\usepackage{fontawesome5}
\usepackage{fontspec}

\begin{document}
\faKey
\faOrcid
\end{document}


The first command (\faKey) works, but the second (\faOrcid) doesn't. In fact, other commands like \faLinkedIn are also not working. I tried compiling with pdflatex, lualatex as well as xelatex on Overleaf, but none of them seem to work.

• \faOrcid is not part of fontawesome (if I'm not mistaken). Try academicons and \aiOrcid instead. – Henri Menke May 3 '20 at 22:46
• I can compile your document fine with XeLaTeX on my computer, but not on Overleaf. – Vincent May 3 '20 at 23:26
• @HenriMenke this fontawesome5 documentation, \faOrcid seems to be included. – Dr. Prasanna Date May 4 '20 at 0:31
• @Vincent I'm using Overleaf for compiling - perhaps this is an Overleaf issue after all? – Dr. Prasanna Date May 4 '20 at 0:32
• @Dr.PrasannaDate It looks like it is indeed. – Vincent May 4 '20 at 0:39

As the above comments suggest, some fontawesome5 icons like \faOrcid and \faLinkedIn have not been added to Overleaf yet and can't be used at the moment. Using academicons seems like the best work around in the meanwhile.

\documentclass[a4paper, 11pt]{article}

\usepackage{fontawesome5}