Doubt about images in Latex

Asked

Viewed 36 times

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?

  • Appears [Scale = 0.2]{/Desktop/University/2017li1g013/report/Images/Haddock.png

  • @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 only haddock.png)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.