Table Caption Numbering help

5 views
Skip to first unread message

Chris Rose

unread,
Dec 5, 2008, 1:25:59 PM12/5/08
to LaTeX Users Group
I'm writting a procedure where I have used a long table to list out
the required hardware to be used. Later in the document, I am using a
table to place some information (fastener torque) into that would be
table 1. Instead, it the caption shows it as Table 2. Any suggestions?

\setcounter{table}{1}
\begin{table}[!htb]
\caption{Access Port Cover A}
\begin{minipage}{.45\linewidth}
\begin{tabular}{l p{1in} r}
\\
Fastener 1: & &in-oz \\\cline{2-2}
\\
Fastener 2: & &in-oz \\\cline{2-2}
\\
Fastener 3: & &in-oz \\\cline{2-2}
\end{tabular}
\end{minipage}
\begin{minipage}{.45\linewidth}
\begin{tabular}{l p{1in} r}
\\
Fastener 4: & & in-oz \\\cline{2-2}
\\
Fastener 5: & &in-oz \\\cline{2-2}
\\
Fastener 6: & &in-oz \\\cline{2-2}
\end{tabular}
\end{minipage}
\end{table}

Werner Grundlingh

unread,
Dec 5, 2008, 8:19:29 PM12/5/08
to LaTeX Users Group
It wasn't that clear from you post, but I assume you want to the later
table to be numbered 1, correct? If so, you should remember that
counters for figures and tables are incremented once the environment
is invoked. So, to obtain a table numbered 1 in your example, it
should suffice to have
\setcounter{table}{0}

Werner
Reply all
Reply to author
Forward
0 new messages