Skip to content

Instantly share code, notes, and snippets.

@k16shikano
Created February 17, 2019 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k16shikano/771fa68288f9300a5ad69a51d625318e to your computer and use it in GitHub Desktop.
Save k16shikano/771fa68288f9300a5ad69a51d625318e to your computer and use it in GitHub Desktop.
\documentclass[uplatex]{jsarticle}
\usepackage[dvipdfmx]{graphicx}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usepackage[twitter]{coloremoji}
\renewcommand{\coloremojidir}{./emoji_images/}
\DeclareKanjiFamily{JY2}{emoji}{}
\DeclareKanjiFamily{JT2}{emoji}{}
\DeclareFontShape{JY2}{emoji}{m}{n}{<->s*[0.924690]emoji-h}{}
\DeclareFontShape{JT2}{emoji}{m}{n}{<->s*[0.924690]emoji-v}{}
\DeclareRobustCommand*{\emojifamily}{\usekanji{JY2}{emoji}{m}{n}}
\DeclareTextFontCommand{\textemoji}{\emojifamily}
\AtBeginDvi{\special{pdf:mapline emoji-h unicode wlcmaru2004emoji.ttf}}
\AtBeginDvi{\special{pdf:mapline emoji-v unicode wlcmaru2004emoji.ttf -w 1}}
\begin{document}
\begin{tikzpicture}
\tikzset{grow'=right,level distance=30pt,sibling distance=-18pt}
\tikzset{execute at begin node=\strut}
\tikzset{every tree node/.style={anchor=base west}}
\Large
\Tree [
\textemoji{๐Ÿฆˆ} [
[ \coloremoji{๐ŸŸ} [ \coloremoji{๐Ÿก} \coloremoji{๐Ÿ } ] ]
[ \coloremoji{๐Ÿธ} [
[ [ [ [ [ [ \coloremoji{๐Ÿ‘ฉ}\textemoji{๐Ÿฆ} ] \coloremoji{๐Ÿ™‰} ] \coloremoji{๐Ÿ’} ] [ \coloremoji{๐Ÿฐ} [ \textemoji{๐Ÿฟ}\coloremoji{๐Ÿ€} ] ] ]
[ \textemoji{๐Ÿฆ”}
[ \textemoji{๐Ÿฆ‡}
[ [ [ [ [ \coloremoji{๐Ÿ…๐Ÿˆ} ] [ \coloremoji{๐Ÿป}\textemoji{๐ŸฆŠ} ] ] \textemoji{๐Ÿฆก} ] [ \textemoji{๐Ÿฆ๐Ÿฆ“} ] ]
[ [ \textemoji{๐Ÿฆ™}\coloremoji{๐Ÿซ} ]
[ [ \coloremoji{๐Ÿ–๐Ÿ—} ] [ [ \textemoji{๐Ÿฆ›} [ \coloremoji{๐Ÿ‹๐Ÿฌ} ] ] [ \textemoji{๐Ÿฆ’} [ \textemoji{๐ŸฆŒ} [ \coloremoji{๐Ÿฎ๐Ÿ} ] ] ] ] ]
] ] ] ] \coloremoji{๐Ÿ˜} ] [ \coloremoji{๐Ÿจ}\textemoji{๐Ÿฆ˜} ] ]
[ \coloremoji{๐Ÿข} [
[ \textemoji{๐ŸฆŽ}\coloremoji{๐Ÿ} ]
[ \coloremoji{๐ŸŠ} [ \textemoji{๐Ÿฆ•} [
[ [ \textemoji{๐Ÿฆ†} [ \coloremoji{๐Ÿ“}\textemoji{๐Ÿฆƒ} ] ]
[ \textemoji{๐Ÿ•Š} [ \coloremoji{๐Ÿง} [ \coloremoji{๐Ÿฆ} [ \textemoji{๐Ÿฆ‰}\textemoji{๐Ÿฆ…} ] ] ] ] \textemoji{๐Ÿฆ–} ] ] ] ] ] ] ]
\coloremoji{โญ๏ธ} ]
[ [ \textemoji{๐Ÿ•ท๏ธ๐Ÿฆ‚} ] [ [ [ \textemoji{๐Ÿฆ€๐Ÿฆž} ] \textemoji{๐Ÿฆ} ] [ \textemoji{๐Ÿฆ—} [ \coloremoji{๐Ÿž}\textemoji{๐Ÿฆ‹} ] [ \coloremoji{๐Ÿœ๐Ÿ} ] ] ] ] ]
%[ \textemoji{๐Ÿ™๐ŸŒ} ]
]
\end{tikzpicture}
\end{document}
@k16shikano
Copy link
Author

k16shikano commented Feb 17, 2019

https://twitter.com/TokyoZooNet_PR/status/1096636458536919040

https://github.com/doraTeX/coloremoji ใงๅ‡บใ›ใ‚‹ใ‚‚ใฎใฏ \coloremoji ใ€ใใ‚Œไปฅๅค–ใฏ \textemoji ใงๅ’Œ็”ฐใƒฉใƒœใƒ•ใ‚ฉใƒณใƒˆใ‚’ไฝฟใ†

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