Graphics, Figures & Tables ⇒ Removing Filenames from figures
Removing Filenames from figures
\begin{figure}[h]
\begin{center}
\resizebox{3in}{!}{\includegraphics{My Image.png}}
\end{center}
\end{figure}
Then WinEdt with LateX outputs the figure "My Image.png" with its filename in the bottom left corner as a caption.
I want to get rid of this caption.
How do I do so?
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Removing Filenames from figures
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Removing Filenames from figures
don't use blanks/spaces in file names, rename the file for instance to MyImage.png and include it then.
Btw. I would use \centering instead of \begin{center} ... \end{center}, perhaps have a look at center vs. \centering.
Stefan
Re: Removing Filenames from figures
And files with spaces can be used using the grffile package (AFAIR)
Re: Removing Filenames from figures
