# LaTeX symbol for gas station pump?

I may be able to use this Unicode character (⛽) for gas pumps with XeLaTeX, but I am looking for a package that provides such a symbol. Or any other native LaTeX approach?

• After seeing ALL sorts of symbols here at pp. 118-205, and not spotting this one, I am afraid that no, that symbol is not offered by a font package. Feb 11, 2016 at 21:06

I went to the place you pointed and downloaded the image as fuel_pump.png. Then I create a macro that scales it to the current \strut size.

\documentclass{article}
\usepackage{scalerel,graphicx}
\newcommand\fuelpump{\scalerel*{\includegraphics{fuel_pump}}{\strut}}
\begin{document}
normalsize pump: \fuelpump

\LARGE or LARGE: \fuelpump
\end{document}


• Thanks! Instead of .png, I saved the .svg file as .pdf and used it. Works great! Feb 12, 2016 at 3:30

The only font I have that provides the glyph is Symbola that you can download from http://users.teilar.gr/~g1951d/

\documentclass{article}
\usepackage{fontspec}

\newfontface{\symbolafont}{Symbola}

\newcommand{\gaspump}{{\symbolafont\symbol{"26FD}}}

\begin{document}

This is the symbol for a gas pump: \gaspump

\end{document}


• I do not understand what do you mean by "The only font I have that...". Did you create that package? Jul 27, 2019 at 3:51
• @manooooh The font is available to my OS because I installed it. i checked with a utility that shows Unicode characters and tells what available fonts have it. Jul 27, 2019 at 8:20

The symbol that I'm attaching is the pump of a gas station using fontawesome5 package without to use Unicode characters.

\documentclass[12pt]{article}
\usepackage{fontawesome5}
\begin{document}
This is a symbol of gas-pump using fontawesome5:
\faGasPump
\end{document}


You may also use the coloremoji package to get a full-color version.

\documentclass{article}
\usepackage{coloremoji}

\newcommand\fuelpump{⛽}

\begin{document}
⛽{\fuelpump}^^^^26fd
\end{document}

• Spectacular is the use of unicode with coloremoji package. But exists a pdf documentation? I have not find it. Jul 27, 2019 at 20:34
• @Sebastiano Just the readme.md, so far as I know. Jul 28, 2019 at 3:05