16

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.

Fluid
  • 195
  • 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

1 Answers1

23

You can use \includegraphics in math mode.

so

\begin{equation}
2*\includegraphics{image1} + 3*\includegraphics{image2} = \includegraphics{image3}
\end{equatioon}
David Carlisle
  • 757,742