I have been trying to write a report in LaTeX and have attempted to input figures and then output as a PDF. When I use the following code and then compile as a pdf, the image appears as expected but with a part of the file name directly above the diagram (see attached).
Code: Select all
\begin{figure}[htbp]
\centering
\includegraphics[width=\textwidth]{figures/Fig 1 - MLF.png}
\caption{Three-dimensional schematic (generalised) representation of the TPO microstructure and surface morphology}
\label{fig:2}
\end{figure}
My preamble looks like this.
Code: Select all
\documentclass[a4paper,12pt]{report}
\usepackage{graphicx}
\usepackage[left=3.0cm, right=2.0cm, top=3.0cm, bottom=3.0cm]{geometry}
\usepackage{amsmath}
\usepackage{url}
\usepackage{hyperref}
Thanks,
James