A LaTeX package for outputting Emojis (🙂🐗🍈🕛) in your LaTeX files. The package was inspired by this repository. However, this repository supports 1809 emojis and not only PDFLaTeX but also other compilers such as XeLaTeX and LuaLaTeX. Furthermore, multiple emoji designs can be choosen.
The library replaces the emoji characters with small images of the corresponding emoji. Therefore they can't be copied in the final PDF file. The emoji images are downloaded from unicode.org via the script generate_emojis.py. Standard emoji images are from Apples emoji font.
Different skin tones are currently not supported.
- Download the latest release and unzip the files.
- If you place the
coloremoji
directory and thecoloremoji.sty
file in the same directory as your main.tex
file you can just use\usepackage[<vendor>]{coloremoji}
in the preamble to include the package.
If you place the files in another directory you have to use\usepackage[<vendor>, directory=/path/to/emoji-dir]{/path/to/coloremoji-sty}
.
Depending on<vendor>
different emoji images are used. Possible values areapple
,google
,facebook
,joypixels
,windows
,samsung
andtwitter
. The default value isapple
.
- Clone the respository and run
generate_emojis.py
- Proceed like described in section 2 of the regular setup.
The LaTeX code (in this case used for math) $😂 = \frac{😜}{😋} \cdot 💦$
will generate something like
.
You can find the complete example code here.