When I create a table and use \caption, Latex automatically adds "Table 1.1" or something similarly numbered. I'm using the book format, and want the caption numbering to be of the form "Table x.y.z", where x is the chapter number, y is the section number, and z is the table number within x.y. For example, the second table in section 4 in chapter 2 should say "Table 2.4.2".
How do I make Latex change the numbering of the tables?
Tell me more
×
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.
|
|
|||
|
Although your question is closely related to the following question, the numbering scheme you want is different. The general solution is the same, however: Use the
|
|||||||||||
|
|
For this two things are needed:
You achieve the first by placing
into the preamble of your document. The second step is done through
where When using amsmathIf you use the
|
|||
|
|


chngcntrpackage, plus\counterwithin{table}{section}. See this question Continuous v. per-chapter/section numbering of figures, tables, and other document elements for more details. – Alan Munn Apr 1 '12 at 4:28