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.





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?

  • 2
    Welcome to TeX.SX. Rather than posting code snippets it is batter to post a full minimal working example that, in particular, compiles. This make it much easier for people to help you.
    – user30471
    May 13, 2017 at 7:41
  • 2
    There is no Emoji in “(╯°□°)╯︵ ┻━┻” as that sequence is entirely made up of characters from other Unicode blocks (such as Box Drawing) (unless you count the U+25A1 WHITE SQUARE from the Geometric Shapes block). Try pasting your sequence of characters here to see for yourself. So I don't think NotoColorEmoji is a useful font to use in this context. May 13, 2017 at 7:50
  • 1
    You can also look at the .log file that is generated: it will contain lines like Missing 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.) May 13, 2017 at 8:04
  • LuaLaTeX also works, not just XeTeX.
    – user103221
    May 13, 2017 at 13:34
  • 1
    I see your question about U+1F954 POTATO wasn't really answered. See here: “NotoColorEmoji uses the CBDT/CBLC color font format, which is supported by Android and Chrome/Chromium OS, but not MacOS.” Does this character work in other applications? XeTeX uses system libraries for fonts, so it may be hard to pick up this character. Good luck finding a font that contains it… the character was only added in Unicode 9.0 last year, so font support may not be great. May 13, 2017 at 15:12


Browse other questions tagged or ask your own question.