0
\begin{figure}[h!]
\centering
\graphicspath[scale = 0.2]{/Desktop/Universidade/2017li1g013/relatorio/Imagens/haddock.png}
\caption{Documentação Haddock}
\label{fig:my_label}
\end{figure}
I want to insert an image from a directory. However the PDF does not show the text I put to find the image. What mistake am I making?
What text? And the image appears?
– Woss
Appears [Scale = 0.2]{/Desktop/University/2017li1g013/report/Images/Haddock.png
– João Sampaio
@Joãosampaio, pdflatex? The path the image looks strange. Maybe something like
/home/joaoSampaio/Desktop/Uni......../haddock.png
or use a relative path. (try copying the image to the same folder and using onlyhaddock.png
)– JJoao