title: LaTex table numbering
body: <p>How could I number the tables in my article chapter based ? So I want all the tables in the fifth section to be numbered like "Table 5.1", ..., "Table 5.n".</p>
  
  <p>I tried </p>
  
  <pre><code>\usepackage{chngcntr}
  
  \counterwithin{figure}{section}
  
  \counterwithin{table}{section}
  
  \counterwithin{equation}{section}
  </code></pre>
  
  <p>but I am having some problems (missing package I guess).</p>
  
  <p>However, I need a simpler solution, without the need to use such packages.</p>