# Problem with Lyx ! Numbering theorem, example, definition and proposition by type doesn't work within class IEEE journal!

I want to make the numbering of Theorems, propositions, examples and definitions independent in my article. It should appear like:

Theorem 1 .................... Proposition 1 .................... Theorem 2 .................... Example 1 .................... Definition 1 ....................

Not like the default dependent numbering of Lyx. The problem is that I can not activate the option Numbering by type on Setting-> Modules-> Theorem by type, it is disabled. I have verified the existing of all modules of Lyx theorems.

• Welcome! Please stop shouting at us. We can hear perfectly well without. Please provide a minimal working example i.e. code for a complete but minimal document demonstrating the issue. Preferably a .tex file. Failing that, a .lyx file. (More people can help if you post .tex code.) – cfr Aug 14 '17 at 0:22
• welcome to tex.sx. on the list, there seems to be an option "ams, number by type". that is the amsthm default. did you try that? – barbara beeton Aug 14 '17 at 0:22
• @amsthm thanks, Yes "ams, number by type" is selected as shown in the screanshoot. It is not added, and i cannot add it. – Hafidi Yousra Aug 14 '17 at 0:30
• @barbarabeeton thanks, Yes "ams, number by type" that i selected as shown in the screanshoot the problem is that It is not added, and i cannot add it too. – Hafidi Yousra Aug 14 '17 at 0:38
• since i'm not a lyx user, i'm afraid i can't offer any better suggestion. hope someone else can. – barbara beeton Aug 14 '17 at 0:56

1. Open the .lyx file of your IEEE paper on a text editor like "Bloc-notes"
2. Under this line \use_default_options false add those three lines of code and save:
\begin_modules theorems-bytype \end_modules 
1. Re-open your .lyx file on Lyx editor and the numbering will be independent.