Graphics, Figures & Tableshow to remove it

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
yegong2000
Posts: 2
Joined: Thu Aug 20, 2009 4:23 pm

how to remove it

Post by yegong2000 »

Hi, all

I have a problem with insert of a figure to an article. The following is what I used.

Code: Select all

\begin{figure}[h]
  \centering
  \includegraphics{XXX.jpg}
  \caption{XXXXXXX}
  \label{fig:XXX}
\end{figure}
after converted into pdf file, 'XXX.jpg' is shown on the left side of the figure.

Or maybe there is something wrong with the usage of includegraphics. Please let me know.

Does anyone have idea to remove it?

Thanks in advance

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

how to remove it

Post by gmedina »

Hi,

the behaviour that you describe usually is caused by using spaces in the path/name of figures. Try not to leave blank spaces in the path or in the name of your figures. If you really can't avoid using spaces, then you could use the grffile package.

If the problem was not caused by blank spaces, we will needmore information. A minimal working example allowing us to reproduce the problem would be ideal (you can post the actual image as an attachment).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
yegong2000
Posts: 2
Joined: Thu Aug 20, 2009 4:23 pm

Re: how to remove it

Post by yegong2000 »

wow, it is amazing. That's it - the blank spacing. I spent half day working on this figure issue. I really appreciate it, gmedina.
Post Reply