Skip to content

Instantly share code, notes, and snippets.

@dee-me-tree-or-love
Last active January 24, 2025 14:52
Show Gist options
  • Select an option

  • Save dee-me-tree-or-love/50795a6fa6fec36c5de21930dd01c684 to your computer and use it in GitHub Desktop.

Select an option

Save dee-me-tree-or-love/50795a6fa6fec36c5de21930dd01c684 to your computer and use it in GitHub Desktop.
πŸ’‘ Using `twemojis` for emoticons on `pdfLaTex` engine.
% twemojis package is maintained at CTAN here:
% - https://ctan.org/pkg/twemojis?lang=en
% see exammple below:
\documentclass{article}
\usepackage{hyperref}
\usepackage{twemojis}
\begin{document}
\noindent
\texttt{twemojis} package provides image-based emojies without \texttt{XeLaTex} or \texttt{LuaLaTex}.
\noindent
And we can use it like this: \verb|\usepackage{twemojis}|,
\begin{enumerate}
\item with aliases: \verb|\twemoji{eye}| = \twemoji{eye},
\item unicode: \verb|\twemoji{1f441}| = \twemoji{1f441},
\item or CLDR names: \verb|\twemoji{1f441-200d-1f5e8}| = \twemoji{1f441-200d-1f5e8}
\end{enumerate}
\noindent
Big thanks to the folks behind \url{https://ctan.org/pkg/twemojis?lang=en}.
\noindent
\twemoji{tada}.
\end{document}
@dee-me-tree-or-love
Copy link
Copy Markdown
Author

The above renders as follows:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment