# Are there (semi) standard font symbols for SAVE, RUN, etc in TeX?

Is there a font package to represent typical computer commands such as Save, Run, Refresh, etc? I am looking for something in the spirit of KeyStroke package for typical command icons on screen.

-
Can you point to some on-line resource for them? –  egreg May 4 '12 at 13:48
Usual symbol for SAVE is a floppy disk, and for RUN many are used, but one I have seen often is a green circle with a triangle pointing right (similar to what TeXWorks uses). –  Peter Grill May 4 '12 at 17:11
@egreg for Refresh the usual symbol is a circular arrow, as in say Chrome, for Save TeXWork uses a curved arrow pointing to a disk, others use just a disk (as Peter Grill said). I am looking for the name of the font package, if there is one. –  Maesumi May 4 '12 at 18:41
This looks off-topic for us as it's really not TeX related. It might fit on graphicdesign-sx, but even there I am not sure in the current form. –  Joseph Wright May 5 '12 at 6:43
@JosephWright: I disagree. This is not off-topic at all. Maesumi wants to perhaps typeset these symbols in his document and he does not know how. Well, we can not classify everything as off-topic if we do not have a solution for it! –  Simurgh12 May 5 '12 at 9:16

I'm afraid there isn't a standard collection of symbols for this specific purpose. :( And the Comprehensive LaTeX Symbol List doesn't have anything like this.

Those icons are used in the cognitive approach for HCI design. It's also known as metaphoric design, because we use metaphors to express abstract concepts or procedures. For example, as Peter mentioned it, using a floppy disk to express the save action is something familiar to user. Using such symbols might help users to quickly learn the basics of a new system.

In the sprite sheet blog post, I mentioned the Tango Icon Library (thanks to Joseph who pointed it in the chatroom). They have some suggestions for icons on metaphoric design:

To name a few, there's a ton more. :)

Since you want to include these icons in a TeX document, I'd recommend you to stick with vector formats. :) Tango has .svg formats available, so we could convert them to .pdf files.

As an example, I selected six of those icons and added them to Inkscape:

The colored boxes were added only for visual reference. :) Every icon is placed inside a 48px x 48px box. The next step is to export the document to .pdf from Inkscape, which is very straightforward.

Now, let's go to the LaTeX code:

\documentclass[12]{article}

\usepackage{xspace}

\newcommand{\copyicon}{%
\newcommand{\cuticon}{%
\newcommand{\previewicon}{%
\newcommand{\pasteicon}{%
\newcommand{\redoicon}{%
\newcommand{\undoicon}{%

\begin{document}

To copy a text selection, move your mouse cursor to the text
you want to copy and highlight it. Then press \copyicon to copy
it to the clipboard. To retrieve the selection, simply click the
\pasteicon icon and the text will be pasted in the current document.

\vspace{1em}

\Large Beware of the \cuticon icon, it will cut the current text!

\vspace{1em}

\Huge Don't worry, \redoicon can revert it.

\end{document}


The output:

Hope it helps. :)

-
Hahaha, evil undo symbol. Why not adding Alt+F4 will save your document... –  percusse May 5 '12 at 20:17
@percusse: LOL it's a good idea. :) –  Paulo Cereda May 5 '12 at 20:38
@PauloCereda Thanks, that looks great. By the way I have heard of a picture language for the deaf, but have not seen it. Do you know of any such picture library? –  Maesumi May 6 '12 at 0:16
@Maesumi: I'm sorry, but I really don't know about such library. I've seen a few images of hand gestures to indicate numbers or letters of the alphabet, but nothing more. :( –  Paulo Cereda May 6 '12 at 16:09