| 1 |
# The `emoji` package |
| 2 |
|
| 3 |
[](https://www.ctan.org/pkg/emoji) |
| 4 |
[](https://github.com/stone-zeng/latex-emoji/releases/latest) |
| 5 |
|
| 6 |
Emoji support in (Lua)LaTeX. |
| 7 |
|
| 8 |
## Introduction |
| 9 |
|
| 10 |
The `emoji` package allows user to typeset emoji in a LaTeX document. It requires LuaHBTeX engine, |
| 11 |
which can be called by `lualatex` since TeX Live 2020 or `lualatex-dev` in TeX Live 2019. |
| 12 |
|
| 13 |
## Usage |
| 14 |
|
| 15 |
```tex |
| 16 |
\documentclass{article} |
| 17 |
\usepackage{emoji} |
| 18 |
\setemojifont{Apple Color Emoji} % Optional |
| 19 |
|
| 20 |
\begin{document} |
| 21 |
\emoji{joy} |
| 22 |
\emoji{+1} |
| 23 |
\emoji{family-man-woman-girl-boy} |
| 24 |
\emoji{woman-and-man-holding-hands-light-skin-tone-medium-dark-skin-tone} |
| 25 |
\end{document} |
| 26 |
``` |
| 27 |
|
| 28 |
Result: |
| 29 |
|
| 30 |
> 😂 👍 👨‍👩‍👧‍👦 👩🏻‍🤝‍👨🏾 |
| 31 |
|
| 32 |
## License |
| 33 |
|
| 34 |
This work may be distributed and/or modified under the conditions of the [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), either version 1.3c of this license or (at your option) any later version. |
| 35 |
|
| 36 |
----- |
| 37 |
|
| 38 |
Copyright (C) 2020, 2021 by Xiangdong Zeng. |