Graphics, Figures & TablesBox with File Name instead of Figure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
hblanco2009
Posts: 2
Joined: Thu Nov 10, 2011 11:43 am

Box with File Name instead of Figure

Post by hblanco2009 »

Hi to everybody!, although I'm new in the latex world, I know this is a very simple problem, but the point is that every single example that I've read in different tutorials about this subject doesn't work for me.

I'm just trying to show up a picture. These are the latex sentences used (copied from a tutorial example).

Code: Select all

\begin{figure}
\begin{center}
\includegraphics[width=4cm, bb=0 0 640 480]{image1.jpg}
\end{center}
\end{figure}
So far the other examples that I've tried have worked fine (tables, math formulas etc.) In this case I'm sure that image1.jpg is in the same directory of the latex source file, ... the compiler doesn't produce no error (I'm using Texmaker for Linux) what is shown is just an small box with the word "image1.jpg" inside.

Before posting to this forum I've tried different options, but nothing worked. Could you help me to solve this quite simple problem?

Thanks in advance.
Last edited by hblanco2009 on Thu Nov 10, 2011 2:15 pm, edited 1 time in total.

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Box with File Name instead of Figure

Post by localghost »

Somewhere in your preamble you have set the »draft« option. Just drop it.


Best regards and welcome to the board
Thorsten
hblanco2009
Posts: 2
Joined: Thu Nov 10, 2011 11:43 am

Re: Box with File Name instead of Figure

Post by hblanco2009 »

You're right. Nice!! ... Thanks a lot. Now everything is OK.
Post Reply