Graphics, Figures & TablesPath Name above picture

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
tdcpina
Posts: 39
Joined: Wed Apr 15, 2009 4:22 pm

Path Name above picture

Post by tdcpina »

I have a problem. I inserted the following code in LaTeX but strangely the patha name appears above the picture. What Can I do to delete the path name?

Code: Select all

\begin{figure}
  \centering
  \includegraphics[width=1\textwidth]{D:/Faculdade/Tese/Trabalho Feito/LaTeX/j.JPG}
  \caption{khkh}
\end{figure}
Thank You,

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10358
Joined: Mon Mar 10, 2008 9:44 pm

Re: Path Name above picture

Post by Stefan Kottwitz »

Hi tdcpina,

welcome to the board!
Just avoid spaces in the file or path name, spaces could cause that behaviour.

Stefan
LaTeX.org admin
tdcpina
Posts: 39
Joined: Wed Apr 15, 2009 4:22 pm

Re: Path Name above picture

Post by tdcpina »

Thank you Stefan_K,

It works out... :)
Post Reply