Lars Bergemann wrote:
Hi!
I am using the document class article (AMS) together with the modules Theorems
(AMS) and Theorems (By Section). Looks like Example x.y, where x is the Section.
But what I really need would be something like Theorems (By Section and
Subsection) - does that exist? I.e. the numbering of
definitions/exapmles/theorems is like Example x.y.z, x is the Section, y is the
Subsection. How can I get that?
I might be ok if I found the modules Theorems (AMS) and Theorems (By Section)
and had a look at them - but where do I find them? I'm using an Intel Mac.
They are in the lib/layouts directory of wherever LyX itself is stored.
You can definitely copy theorems-sec.module into your local layout
directory (wherever that is on Mac) and modify it. It should be fairly
clear how to do that. I'm not sure, though, if this will get you the
LaTeX output you want. You may have to redefine how the theorem counter
is displayed.
rh