SHARE
TWEET

Untitled

a guest Oct 12th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass{article}
  2. usepackage{scalerel,graphicx}
  3. newcommandfuelpump{scalerel*{includegraphics{fuel_pump}}{strut}}
  4. begin{document}
  5. normalsize pump: fuelpump
  6.  
  7. LARGE or LARGE: fuelpump
  8. end{document}
  9.    
  10. documentclass{article}
  11. usepackage{fontspec}
  12.  
  13. newfontface{symbolafont}{Symbola}
  14.  
  15. newcommand{gaspump}{{symbolafontsymbol{"26FD}}}
  16.  
  17. begin{document}
  18.  
  19. This is the symbol for a gas pump: gaspump
  20.  
  21. end{document}
RAW Paste Data
Top