3

Possible Duplicate:
Continuous v. per-chapter/section numbering of figures, tables, and other document elements

My table references are showing up with the section number in them. I'd like all tables in the article to be numbered sequentially with out regard to section.

Here's my header. Thanks!

\usepackage[utf8x]{inputenc}
\usepackage{linguex}
\usepackage{graphicx}
\usepackage{booktabs} % for fancy tables
\usepackage{amsmath,amsfonts,amsthm,amssymb} % for llbracket, rrbracket
\usepackage{stmaryrd} % for llbracket, rrbracket
\usepackage{qtree}
\usepackage{multirow}
\usepackage{tree-dvips}
\usepackage{fancyhdr,lastpage}

Update:

I'm already in article class. The tables themselves show up numbered simply and correctly, e.g. Table 3. References to the tables, though, seem to actually give only the section name the tables are in. E.g. a table from section 3.1 shows up as "3.1" when I use \ref{tablename}.

Tried this, no effect:

\usepackage{chngcntr}
\counterwithout{table}{section}

marked as duplicate by Werner, Thorsten, lockstep, Claudio Fiandrino, Joseph Wright Jun 14 '12 at 7:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

6

Always put \label after \caption inside your table, otherwise you may receive unwanted references. The reason for this is that \label captures the most recently updated and counter (set using \refstepcounter). This only occurs after a call to \caption.

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