1

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. enter image description here

8
  • 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
    Commented Aug 14, 2017 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? Commented Aug 14, 2017 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. Commented Aug 14, 2017 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. Commented Aug 14, 2017 at 0:38
  • since i'm not a lyx user, i'm afraid i can't offer any better suggestion. hope someone else can. Commented Aug 14, 2017 at 0:56

1 Answer 1

2

i Found a suitable solution for this problem. In order to have the theorem numbering by type (the numbering of theorems, propositions, examples, exercises ..etc will be independent) you should:

  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.

So Since we cannot add the module for numbering by type in Lyx editor (while we are working on IEEE classes), adding it directly in the source code will be a helpfull solution.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .