# Inserting images on LaTeX

• LaTeX

## Main Question or Discussion Point

Hi,
I know this isn't a general math problem but I didn't really know where else to post.
I'm trying to insert an image into a text I'm wrtting on LaTeX, the file is saved in .gif format in My Documents. I've read a little on the web about how I should insert the image into my text but I can't really make sense of it! Any help would be really great.
Thanks.

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org
D H
Staff Emeritus

It is almost certainly better to make your graphics figures (floats). Read up on how to place figures in your LaTeX file.

Thanks!

Got another problem now,
I'm trying to type a double integral into my work but it keeps coming up with an error message.

M(x)=\iint y\cdot\sigma(x,y) dy dz

To me this looks right!? I don't understand what is going wrong.
Any help would be great!

D H
Staff Emeritus
The command is cdots, not cdot.

Tried that but I keep getting the same error message...

D H
Staff Emeritus
Works for me:

$$M(x)=\iint y\cdots\sigma(x,y) dy dz$$

So what is the error message?

LCKurtz
Homework Helper
Gold Member
cdot is a legit command and perhaps what the OP wants. It works on this board:

$$M(x)=\iint y\cdot\sigma(x,y) dy dz$$

On this board maybe he forgot the tex tags.

Thank you for this thread, I have been wanting do just this for some while.

LCKurtz; that's exactly what I want but even when I copy and paste the formula into my work it still comes up with this error meassge;

[2]
! Undefined control sequence.
l.80 M(x)=\iint
y\cdot\sigma(x,y) dy dz
?

This is starting to get annoying now! I just can't figure it out...

D H
Staff Emeritus
That complaint is about iint, not cdot. iint is not part of the base LaTeX set of macros. It is defined in the amsmath package.

Brilliant! Thankyou

Mark44
Mentor
Got another problem now,
I'm trying to type a double integral into my work but it keeps coming up with an error message.

M(x)=\iint y\cdot\sigma(x,y) dy dz

To me this looks right!? I don't understand what is going wrong.
Any help would be great!
After surrounding the corrected equation with tex tags, here's how it looks:
$$M(x)=\iint y \cdot \sigma(x,y) dy dz$$

Edit: Didn't realize that I was restating what LCKurtz already said.

Last edited: