I am writing a document which describes the user interface of a software application. I want to use the actual icons as part of the description text (as in "Press XXX", where XXX is replaced by an actual icon).
How can I scale the icons so that they fits nicely within the text, without hardcoding a size? I can \includegraphics[heigth=something]
but I would like this "something" to automatically adapt to changes in line height, font size, etc.
Is there a way to do this?