GithubHelp home page GithubHelp logo

seangottarun / coloremoji.sty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alecjacobson/coloremoji.sty

0.0 0.0 0.0 31.73 MB

Style package for directly including color emojis in latex documents

TeX 100.00%

coloremoji.sty's Introduction

coloremoji.sty

Style package for directly including color emojis in latex documents

Version 1.0
All files subject to the lppl 1.3c license.
Copyright Alec Jacobson, 2018.

Images in the emoji_images/ directory are generated using https://github.com/doraTeX/coloremoji/blob/master/extract_emoji.rb on a machine with the https://en.wikipedia.org/wiki/Apple_Color_Emoji font installed.

Installation

mkdir -p ~/Library/texmf/tex/latex/local
cd ~/Library/texmf/tex/latex/local
git clone [email protected]: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.

coloremoji.sty's People

Contributors

alecjacobson avatar dpdmancul avatar drevicko avatar emichael avatar seangottarun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.