4

I have followed the instructions, primarily starting with choosing the compiler to be XeLaTeX. The example at:

ShareLaTeX XeLaTeX example

provides instructions but it doesn't work for the emoji at the end of this line:

913 INTEREST 🤓

that's unicode 0001F913 if it doesn't render on your browser (it does for me)

I uploaded menlo.ttc from my mac since this works in Sublime and Sublime is using that font. Here's a picture of what I get (you can see the document is successfully in menlo:

screenshot of my ShareLaTeX attempt

Please, for specific reasons I need to be on ShareLaTeX so if you could just test that your answer works there I would be grateful.

1
  • 1
    I don't think either luatex or xetex support the new coloured emoji font formats yet, so you need to include them as images. Mar 14, 2017 at 19:08

1 Answer 1

5

the font formats are not (yet?) supported by luatex and xetex but you can get access to the emoji as images, for example the emojione site makes all the emoji in that font available as SVG which can easily be converted to pdf.

Once you have a pdf of each one then

\documentclass{article}

\usepackage{graphicx}

\begin{document}

zzz \includegraphics[height=1em]{1f913.pdf} zzz

\end{document}

enter image description here

The emojione images are available as svg or png here

http://emojione.com/developers/

4
  • I understand what you are saying about luatex and xetex but it is my understanding that XeLaTeX does support full unicode, I just can't seem to get it to work with ShareLatex.
    – mcwizard
    Mar 14, 2017 at 21:33
  • 1
    @mcwizard it is not an issue with unicode xetex understands your unicode input, it's an issue with opentype the emoji fonts use an extended version of opentype (one of two extension) emojione for example has the glyphs all as svg internally, so existing systems simply do not recognise the font as a font. Mar 14, 2017 at 21:41
  • There is at least one package to simplify that, of course: github.com/benjamin-weiss/emojione-latex Not in CTAN, though.
    – Crissov
    Apr 19, 2017 at 22:10
  • 1
    The emojione-latex package referenced by @Crissov has over 1600 individual pdfs, which exceeds the limits on number of files per project of any of the Overleaf plans. (Overleaf is the successor to ShareLaTeX.) What is the maximum compilation time, file number and project size allowed on free vs paid plans? Mar 20, 2019 at 3:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .