Style package for directly including color emojis in latex documents
TeX
Latest commit 543c3b4 Apr 18, 2016 @alecjacobson Merge pull request #10 from drevicko/add-some-emoji
Added another emoji declaration 128543 = 0x1F61F
Permalink
Failed to load latest commit information.
emoji_images
.gitignore
README.md revert pull request from DPDmancul, broke coloremoji in math mode Feb 27, 2016
coloremoji.sty

README.md

coloremoji.sty

Style package for directly including color emojis in latex documents

Installation

mkdir -p ~/Library/texmf/tex/latex/local
cd ~/Library/texmf/tex/latex/local
git clone git@github.com:alecjacobson/coloremoji.sty.git
texhash coloremoji.sty

Related blog entry

Examples

The following LaTeX code:

\documentclass{article}
\usepackage{coloremoji}
\begin{document}
Hello, 🌎.
\end{document}

produces something like:

Hello, world.

You can even use emojis in math. The following LaTeX code:

\[
🐊^{🐊^{🐊}} = ∫_{πŸŽƒ} πŸ™Š \ dπŸ€
\]

produces something like:

Emojis in math
mode.

Known issues

This style sheet creates a PDF where each emoji is actually an embedded image rather than a character using the Apple Color Emoji typeface. This means you won't be able to correctly copy and paste emjois from the resulting .pdf files.

The encoding of the .tex must support emoji's, that is unicode characters. So switch your encoding to something like UTF-8.