LaTeX forum ⇒ Graphics, Figures & TablesFile Location shown.

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

File Location shown.

Postby Mikerada6 » Wed Mar 04, 2009 6:40 pm

When i typeset the following command:
  1. \begin{center}
  2. \scalebox{.50}{\includegraphics{C:/Documents and Settings/Rezzie/Desktop/Phi/Pics/line.jpg}}
  3. \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?

User avatar
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Wed Mar 04, 2009 6:58 pm

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.
  1. \includegraphics[scale=0.5]{filename}

Best regards
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Posts: 42
Joined: Fri Oct 17, 2008 5:55 pm

Postby Mikerada6 » Thu Mar 05, 2009 7:20 pm

That did the trick thank you very much

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 5 guests