[Tex/LaTex] Add unicode emoji in Overleaf tex file


I'm trying to find a package that would allow me to include the following sentence in my tex file:

A really good initiative πŸ‘βœŒοΈ

I tried

\setmainfont{DejaVu Sans}

but I could't manage to make it work. It appears that there are some emojis missing.

Any help would be greatly appreciated.

[NB: Please use Safari on Mac, Firefox on Linux, and Chrome on Windows to see this question with the correct emoji encoding. Otherwise, you may see one regular emoji and one unknown char as a rectangle instead of skin tone emoji.]

Best Answer

In the end, I used:



where 1F44F and 270C are the emojis that I wanted to include uploaded as pdf files.

Hope this will help someone else also.

Related Question