\begin{center} \includegraphics[width=\textwidth]{images/theimage.extension} \figcaption{Some title for the image.} \end{center}
Problem | Possible solution |
---|---|
LaTeX Error: Unknown graphics extension: .gif. | GIF files are not supported by pdflatex. Convert to PNG files. |
Error: pdflatex (file images/xxxx.xxx): cannot find image file. | Doublecheck the path and filename. Remember Cygwin/UNIX is case-sensitive! |
The image and the caption is on different pages. | My fault. Can be improved, will bother when someone asks for it :D |