# Inserting a picture in an equation [duplicate]

Possible Duplicate:
Can I insert an image into an equation?

Is there any method to insert a picture in an equation? I am trying to write an equation where one of the elements of the equation is a small image. I need to obtain a pattern like this:

2 * image1 + 3 * image2 = image3 (equation number)

Please note, one simple way is to make a figure and put all of these elements in it and use \includegraphics to load it into LaTeX document as a figure, however, I need to have an equation with the above structure, not a figure.

-

## marked as duplicate by David Carlisle, Werner, Thorsten, lockstep, barbara beetonOct 25 '12 at 18:32

I answered below but I think the referenced question is essentially a duplicate. If the answers there solve your problem we'll close this one as duplicate/ – David Carlisle Oct 25 '12 at 18:11

You can use \includegraphics in math mode.


Any mechanism for moving a box would work, perhaps the adjustbox package is the easiest. – David Carlisle Oct 25 '12 at 18:13