unicodelatexemojiemoji-tones

How to display multi character unicode emojis in Overleaf LaTex?


So apparently Overleaf now can render emojis using packages of Noto Color Emojis, where you can use {\NotoEmoji \symbol{"1F343} \symbol{"1F338} } to input an emoji with corresponding unicodes.

My question is how to input complex emojis that are composed of multiple emojis? For example, this one ๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ, the unicode is U+1F469โ€ U+200D U+1F469โ€ U+200D U+1F466โ€ U+200D U+1F466.

I've tried combinations like

\symbol{"1F469โ€200d1f469200d...1f466} \symbol{"1F469 200d 1f469 200d...1f466} \symbol{"1F469} \symbol{"200d}...\symbol{"1f466}}

But none of them works.


Solution

  • You don't need to concatenate them. Here's the solution that I tried in Overleaf and it worked fine.

    {\Large 
    \NotoEmoji
    
    % family emoji
    \symbol{"1F468}\symbol{"200D}\symbol{"1F469}\symbol{"200D}\symbol{"1F467}\symbol{"200D}\symbol{"1F466}
    }
    

    Expected Output

    ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Family: Man, Woman, Girl, Boy,

    You can use the same trick for Emoji Skin Tone Modifiers in Overleaf where the modifier comes right after the emoji Unicode.

    {\Large 
    \NotoEmoji
    
    % Waving Hand emoji
    \symbol{"1F44B}%
    
    % Waving Hand: Light Skin Tone 
    \symbol{"1F44B}\symbol{"1F3FB}
    } 
    

    Expected Output ๐Ÿ‘‹ ๐Ÿ‘‹๐Ÿป

    Here's the Overleaf Project page about Displaying Color Emojis in Latex that you can check out.

    Updated 2020-11-28 : Adding emoji as an image in Latex

    Since you mentioned adding emojis as images, I'm also including my solution for that.

    \usepackage{tcolorbox}
    
    % change font size here
    \includegraphics[height=12]{family-man-woman-girl-boy.png}
    

    The image can be downloaded from EmojiPedia.