Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have four tables. The first table has a caption of Table A: Title. The other three tables have captions of Table 1: Title, Table 2: Title, and Table 3: Title.

When I use

 \caption{Title}

it gives me Table 1: Title, Table 2, Table 3, and Table 4, but I don't want this format.

share|improve this question
    
Do you use the hyperref package at all? –  Werner Aug 30 '12 at 14:18
    
I didnt use any packages –  reem Aug 30 '12 at 14:25
add comment

1 Answer

up vote 7 down vote accepted

You need to change the numbering to Alph for the first table, and then change it back to arabic. In addition, you need to step the table counter back by one, so that you don't get table A followed by table 2.

\documentclass{article}
\begin{document}
\renewcommand\thetable{\Alph{table}}
%
\begin{table}
\centering\rule{2cm}{2cm} %Replace with tabular
\caption{The first}
\end{table}
%
\addtocounter{table}{-1}
\renewcommand\thetable{\arabic{table}}
%
\begin{table}
\centering\rule{2cm}{2cm} %Replace with tabular
\caption{The second}
\end{table}
%
\begin{table}
\centering\rule{2cm}{2cm} %Replace with tabular
\caption{The third}
\end{table}
\end{document}
share|improve this answer
    
This was Really helpful I am really thankful :) –  reem Aug 30 '12 at 15:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.