# How to use U+1F54A (DOVE OF PEACE) with pdfLaTeX?

How can I use U+1F54A DOVE OF PEACE in my document, especially with pdfLaTeX and not LuaLaTeX?

• May 15 at 14:48
• This would be much easier if you could actually use fonts that contain the required glyph. May 15 at 17:24
• Noto Sans Symbols2 have the glyph, but it is a true type font (not for pdflatex). However, using xelatex and the standalone class you can save it as PDF and then use some like \newcommand\dove{\includegraphics[width=1.5em]{dove.pdf}} in pdflatex
– Fran
May 16 at 8:39

Maybe it's not the exact same symbol, but fontawesome5 has a dove icon.

\documentclass{article}
\usepackage{fontawesome5}
\begin{document}
\end{document}


You can use the twemojis package with \twemoji{1f54a} or \twemoji{dove}. It works with PDFLaTeX.

Unfortunately the dove is hard to see against a white background, so here I made the background gray:

\documentclass[12pt]{article}
\usepackage{twemojis}
\begin{document}
\pagecolor{gray}
\twemoji{1f54a}
\end{document}


Other possibilities include embedding an image, or creating a tiny PDF cropped to just the emoji using lualatex with the emoji package (or any other software that supports emojis, cropped via pdfcrop or similar tool); that PDF could them be included in a pdflatex document via \includegraphics. (Not sure if that counts as "exclusively".)

• thanks a lot! But is it possible to scale \twemoji{1f54a}, i.e. to. make it slightly bigger or smaller ? In my document, for example, it is quite small, if compared to the text... :-) May 16 at 8:23
• Just for information to the readers of this thread, I had to install the package twemojis manually, because not included in my distribution... (1) I downloaded the package from CTAN. (2) Through the Terminal of my laptop, I went inside the folder where the package was downloaded and I typed tex twemojis.ins, in order to to get the file twemojis.sty (I do not know why tex twemojis.dtx did not work). (3) I copied and pasted twemojis.sty inside the folder where there is my .tex document and I compiled with pdfLaTeX May 16 at 8:30
• You can use a scalebox, e.g., \scalebox{4.5}{\twemoji{1f54a}} to make it 4.5× its normal size. There's also \texttwemoji{1f54a} which will scale according to font size. May 16 at 14:22
• Actually I just found you can specify a height or width or scale directly as an optional parameter. \twemoji[height=1in]{1f54a}. May 16 at 14:28
• And to set the default height for all emojis: \setlength{\twemojiDefaultHeight}{14pt} or whatever. See the package documentation for more. May 16 at 14:32