Graphics, Figures & TablesTable without table number

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Mir
Posts: 6
Joined: Fri Oct 16, 2009 7:35 pm

Table without table number

Post by Mir »

How can I have table caption without table number?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: Table without table number

Post by sommerfee »

You could either typeset the caption for yourself (without label and number the caption is usually just plain text) or use \caption* offered by the caption package.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Table without table number

Post by gmedina »

Hi Mir,

if you want to suppress only the number but retaining the name ("Table"), then you could redefine the \thetable command, as the following example suggests:

Code: Select all

\documentclass{article}

\begin{document}

\begin{table}[!ht]
  \renewcommand\thetable{}
  \centering
  \rule{5cm}{3cm}% to simulate a table
  \caption{a test table}
  \label{tab:test}
\end{table}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Mir
Posts: 6
Joined: Fri Oct 16, 2009 7:35 pm

Re: Table without table number

Post by Mir »

Thank you.
Post Reply