MorganBauer / tufte-latex

Automatically exported from code.google.com/p/tufte-latex
0 stars 0 forks source link

cannot number equation based on section or chapter #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(Please attach an example .tex file demonstrating the problem or bug.)

Please describe the feature, problem, or bug:
I wanna number the equation within section. Using the command:

\usepackage{amsmath}
\numberwithin{equation}{section}

In default "book" class, it works fine, shows such as 1.1, 1.2, 2.1, 2.2.
But in "tufte-book", it cannot work

What is the expected output? What do you see instead?
The expected output 1.1.1, 1.2.1, 2.1.1, 2.2.1
But tufte-book output 0.0.1, 0.0.2, 0.0.3, 0.0.4

What version of Tufte-LaTeX are you using?  With which TeX distribution?
tufte-latex-3.5.0
TeXlive 2012

Please provide any additional information below.

Original issue reported on code.google.com by Ofey.sun...@gmail.com on 17 Jan 2013 at 3:50

Attachments:

GoogleCodeExporter commented 9 years ago
Try increasing the secnumdepth counter.  Add the following to the preamble of 
your document:

    \setcounter{secnumdepth}{1}

Note that this will cause the chapters and sections to be numbered as well.

Original comment by godbyk@gmail.com on 17 Jan 2013 at 3:58

GoogleCodeExporter commented 9 years ago
@godbyk@gmail.com

thx, it works :)

Original comment by Ofey.sun...@gmail.com on 17 Jan 2013 at 4:15

GoogleCodeExporter commented 9 years ago
Glad to hear it!

Original comment by godbyk@gmail.com on 17 Jan 2013 at 4:16

GoogleCodeExporter commented 9 years ago
I have the same problem but it didn't work for me.
Can you help me it keep enumerate like this:

0.0.1, 0.0.2, 0.0.3, 0.0.4

Original comment by memis...@gmail.com on 12 Jan 2015 at 1:48