General\numberwithin and the llncs style

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Cátia
Posts: 1
Joined: Fri Apr 18, 2008 4:32 pm

\numberwithin and the llncs style

Post by Cátia »

Hi,

I would like to know out to change the numbering of my equations, in a way such that
it appears the number of the chapter, the number of the theorem and the number of the equation.

Example A.1.1 (Chapter->Appendix A, theorem nº1, equation nº1)
Example A.2.1 (Chapter->Appendix A, theorem nº2, equation nº1)

I'm using the llncs style, and I only know how to put the number depending on the chapter. ex: A.1.

Does anyone know how can I do this?

Thank you,

Cátia

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

\numberwithin and the llncs style

Post by Stefan Kottwitz »

Hi Cátia,

welcome to the LaTeX Community board!
You could redefine \theequation like this:

Code: Select all

\renewcommand*\theequation{\thechapter.\thetheorem.\arabic{equation}}
If that's not producing what you want, let us know more details: what theorem package do you use and how, do you really mean chapters and not sections, ...

Stefan
Post Reply