Hi,
I want to create a caption for my tables using \caption, and to be able to reference the number of a given table from elsewhere (using \label and \ref), but I don't want \caption to put "Table 1:", "Table 2:", etc. in front of the contents of \caption. Is there any way I can disable this?
Thanks!
Graphics, Figures & Tables ⇒ How to get LaTeX not to print "Table X" in front of caption?
NEW: TikZ book now 40% off at Amazon.com for a short time.

How to get LaTeX not to print "Table X" in front of caption?
You need to redefine the name given to a table as nothing. Put this before the \begin{document}
Code: Select all
\renewcommand{\tablename}{}
Re: How to get LaTeX not to print "Table X" in front of caption?
Thanks. This gets rid of "Table", but it still prints the number and the colon. I don't want it to print anything at all (other than the argument to \caption). Is there any way to accomplish this?
Thanks a lot!
Cheers.
Thanks a lot!
Cheers.
How to get LaTeX not to print "Table X" in front of caption?
Code: Select all
\usepackage[labelformat=empty,labelsep=none]{caption}
Axel
Re: How to get LaTeX not to print "Table X" in front of caption?
Exactly what I wanted! Thank you very much.