Graphics, Figures & TablesFile Location shown.

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Mikerada6
Posts: 42
Joined: Fri Oct 17, 2008 5:55 pm

File Location shown.

Post by Mikerada6 »

When i typeset the following command:

Code: Select all

\begin{center}
	\scalebox{.50}{\includegraphics{C:/Documents and Settings/Rezzie/Desktop/Phi/Pics/line.jpg}}
\end{center}
to the right of the image i get a "and Settings/Rezzie/Desktop/Phi/Pics/line.jpg". How do i get rid of it?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

File Location shown.

Post by localghost »

Avoid special characters (blank spaces, underscores) in both the path and the name of the file or use the grffile package from the oberdiek bundle.

Scaling of included graphics is done much easier with an optional argument.

Code: Select all

\includegraphics[scale=0.5]{filename}

Best regards
Thorsten¹
Mikerada6
Posts: 42
Joined: Fri Oct 17, 2008 5:55 pm

Re: File Location shown.

Post by Mikerada6 »

That did the trick thank you very much
Post Reply