How can you change table numbers in LyX. I want to get tables numbered within section (Table 1.1, 1.2 etc.). For some reason \numberwithin{table}{section} is not working.
Asked
Active
Viewed 1,178 times
2
buttercup
- 21
-
Have a look at http://tex.stackexchange.com/questions/28333/continuous-v-per-chapter-section-numbering-of-figures-tables-and-other-docume – lockstep Jul 07 '12 at 14:29
1 Answers
1
\numberwithin{<slave>}{<master>} is a macro defined by amsmath. So, in order to use it, you need to add the following to your LaTeX Preamble:
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
Similar functionality is provided by chngcntr, via macros like \counterwithin and \counterwithout. The latter package provides the means to removing any counter bindings, which amsmath does not offer.
Werner
- 603,163