I am writing a technical manual for a CAPSTONE project, and I am using the refman
package. The refman
package divides your document into a left and right hand side. The right hand side contains the text, and the left hand side allows you to put warning indicators, tip symbols or refer to other section. All these symbols in the default form use standard LaTeX elements like \rightarrow
.
I am trying to modify this so I can include a picture of a lightbulb. Looking in the refart.cls
document I have found the function definitions for the attention symbol:
\newcommand*{\attention}[1][\attentionsymbol]
{\mbox{}\marginpar{\raggedleft #1}}
\newcommand*{\attentionsymbol}{\large\bfseries ! $\rightarrow$}
How do I change those definitions so I can include an image that I have on my computer?
I have already tried a solution similar to this:
Passing image path to \includegraphics using a macro
whereby you create a new function that generates the image, but I could not get it to work.