I want to insert a flipping tables and some Emoji in a LaTeX document on ShareLaTeX. I did some research, and came up with the following.
First of all, XeLaTeX needs to be used for best Unicode support and support for TTF fonts. Then a font needs to be used that contains the relevant Unicode symbols. And this font needs to be uploaded to ShareLaTeX.
For the font I selected DejaVu, known for its broad Unicode support.
For the Emoji I used the Noto Emoji font, and created a text command for that.
\usepackage{fontspec}
\setromanfont{DejaVuSerif.ttf}
\setsansfont{DejaVuSans.ttf}
\setmonofont{DejaVuSansMono.ttf}
\newfontfamily\emoji{NotoColorEmoji.ttf}
\DeclareTextFontCommand{\textemoji}{\emoji}
Now I would like to be able to write something like
\title{foo \textemoji{🥔} bar(╯°□°)╯︵ ┻━┻}
But the flip between the flipper and the table renders as a tofu and the Emoji renders as two wide tofu's.
[update] As @ShreevatsaR pointed out, DejaVu does not contain the vertical bracket, nor does NotoEmoji seem to contain the potato emoji. I have added the Symbola font and made another text command
\title{foo \textemoji{\char"1F360} bar \textsymbola{(╯°□°)╯︵ ┻━┻}}
This renders the flipping tables correctly but not the potato. Roasted Sweet potato does work, so it really comes down to finding a font that has it. It appears NotoColorEmoji does contain it, but that fails to load.
So the question boils down to: How can I render color fonts? Or alternatively: Is there a font XeLaTeX supports that contains U+1F360?
.log
file that is generated: it will contain lines likeMissing character: There is no ︵ in font [DejaVuSerif]/OT…
which are helpful. (IMO the default settings when a character is missing should be for xelatex to just fail and show as loud a warning as possible, but instead such warnings are buried in the log file and doesn't even get output to terminal.)