Skip to content

DPDmancul/Apple-Emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple Emoji

apple_emoji.sty

© DPD- 2016

version 1.0.0

This package is realeased under GNU GPL 2

Style package for directly including color emojis in LaTeX documents with support of color modifiers

Installation

# mkdir -p /usr/share/texlive/texmf-dist/tex/latex
# cd /usr/share/texlive/texmf-dist/tex/latex
# git clone https://github.com/DPDmancul/Apple-Emoji.git
# texhash

For Arch Linux: latex-apple-emoji-git

Examples TODO

The following LaTeX code:

\documentclass{article}
\usepackage{apple_emoji}
\begin{document}
  Hello, 🌎 👋🏽.
\end{document}

produces something like:

Hello, world.

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

\[
  🐊^{🐊^{🐊}} = \int_{🎃} 🙊 \ d🍀 👍🏻
\]

produces something like:

Emojis in math mode.

Important

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

\usepackage[utf8]{inputenc}

Do not use utf8x because it's unmaintained

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.
  • Only color modifiers are actually supported

Releases

No releases published

Packages

No packages published

Languages