I want to independently number different environments e.g. theorems, definitions in beamer presentation done in Lyx. I did the module selection explained here Theorem/Definition/Lemma/etc independent numbering in Lyx and also tried other suggestions Theorem/Definition/Lemma problem --- Numbering but still get this error:

LaTeX Error: Command \example already defined. Undefined control sequence.

Can anyone explain where I am wrong?

closed as unclear what you're asking by Werner, Mensch, Stefan Pinnow, Svend Tveskæg, Maarten Dhondt Apr 29 '16 at 5:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to TeX.SX! Without any document to work with this question is hard to answer, but beamer does already provide an example environment – user31729 Jan 6 '16 at 15:20

Browse other questions tagged or ask your own question.