Last active
July 8, 2020 12:58
-
-
Save cozek/30e123b064c51ece924b0fd5aa7b3056 to your computer and use it in GitHub Desktop.
Using Emoji in Latex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{scalerel,xparse} | |
\NewDocumentCommand\emojismile{}{ | |
\scalerel*{ | |
\includegraphics{EmojiFolder/u1F60A.png} | |
}{X} | |
} | |
% Alternative | |
\NewDocumentCommand\emojismiley{}{ | |
\includegraphics[scale=0.05]{EmojiFolder/u1F60A.png} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment