Adding and image

The steps

  1. Save the PNG/JPEG/PDF file in the images/ directory
  2. Open the .tex file you want the image in.
  3. Locate the position in the text you want the image at and insert:
    \begin{center}
    \includegraphics[width=\textwidth]{images/theimage.extension}
    \figcaption{Some title for the image.}
    \end{center}
    

Troubleshooting

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