LaTeX symbol for gas station pump?

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}

enter image description here


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}

enter image description here


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

enter image description here

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

Tags:

Symbols