I am newbie to LaTeX and I have a simple problem including graphics to the text. When I run
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics[width=0.25cm,height=0.25cm]{Figure1}
\caption[Sèries temporals de vent i direccions]{Sèries temporals velocitat de vent direccions. filtratge de pics i glaçades de velocitat.}
\label{Serie}
\end{center}
\end{figure}
\end{document}
I create a pdf
file but there is no figure inserted. The picture is called Figure1.png
but it seems that the program do not recognizes it and doesn't inserts it. I would appreciate some help.
.png
to the filename in your source. – fefe Apr 26 '12 at 9:40pdflatex
, not the classiclatex
. If you tell us which editor etc. you are using and state the error message (from e.g. the.log
file) we may help you better. As a general node: Please use\centering
instead ofcenter
infigure
s, see Should I use center or centering for figures?. – Martin Scharrer♦ Apr 26 '12 at 9:43