Hi All,
I'm using TexCenter, and have inserted a picture. A caption automatically comes up, but I do not want this. How can I remove this caption?
I have declared \usepackage{graphicx}
Regards,
Barinder Banwait
General ⇒ Removing Captions from Pictures
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
Removing Captions from Pictures
Your information is very poor. You left out the most relevant parts. That concerns first of all the way typeset your figures. I assume that you put your pictures into a figure environment with a \caption command. Omit at least the \caption command (or both) and just include the graphics file. If that doesn't help, provide a minimal working example (MWE). Basic LaTeX documentation is given with lshort (introduction) and l2tabu (forbidden things).
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Removing Captions from Pictures
Hi,
All I typed in was
\includegraphics{C:/Users/Barinder/Documents/Latex Documents/Line.jpg}
It's not even in a float environment, but the words "Documents/Line.jpg" appear next to the picture.
Regards,
Barinder
All I typed in was
\includegraphics{C:/Users/Barinder/Documents/Latex Documents/Line.jpg}
It's not even in a float environment, but the words "Documents/Line.jpg" appear next to the picture.
Regards,
Barinder
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Removing Captions from Pictures
You should have been much more clearer in your initial post. Your problem has nothing to do with what is called a caption. To get rid of that text pieces, avoid blank spaces and any other special characters like underscores in both the name and the complete path of the file.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Removing Captions from Pictures
Eureka!
Thank you very much localghost
Regards,
Barinder
Thank you very much localghost
Regards,
Barinder