GeneralRemoving Captions from Pictures

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bsb233
Posts: 5
Joined: Thu Nov 27, 2008 11:31 pm

Removing Captions from Pictures

Post by bsb233 »

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

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

Removing Captions from Pictures

Post by localghost »

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¹
bsb233
Posts: 5
Joined: Thu Nov 27, 2008 11:31 pm

Re: Removing Captions from Pictures

Post by bsb233 »

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
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Removing Captions from Pictures

Post by localghost »

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.
bsb233
Posts: 5
Joined: Thu Nov 27, 2008 11:31 pm

Re: Removing Captions from Pictures

Post by bsb233 »

Eureka!

Thank you very much localghost

Regards,

Barinder
Post Reply