# Change Table Caption Numbering

I want to change the caption number from 2.1 to 2.3.1 as my section is 2-3. I got try to use \usepackage{chngcntr} and \counterwithin{table}{section} but due to my section title is 2-3. It will label the '2.3.1' that I want as '2-3.1'. Anyone know how to change?

• Just to be clear, you want the table to be numbered 2-3.1 and not 2.3.1, correct? – Werner Dec 17 '13 at 7:26
• i want the table to be numbered as 2.3.1, not 2-3.1. I use the \counterwithin{table}{section} will produce 2-3.1, but i want 2.3.1 :D – superhuman1314 Dec 17 '13 at 7:29
• Is 2 the section and 3 the subsection and 1 the table? – Werner Dec 17 '13 at 7:30
• erm, i am not really sure, but the 'Eigenvalues and Eigenvectors' is inside chapter 2. So i guess is chapter 2, section 3 and table 1. – superhuman1314 Dec 17 '13 at 7:36