Wu Kai Chiu, ami wrote:
Hi all,
I am trying to use AMS Theorem (By Section) and its related modules,
I have a big problem in the display of the counter.
The theorems are numbered correctly, say Chapter 1 Section 2 the
first theorem is numbered 1.2.1
However, how can I set it to display only 2.1 rather than 1.2.1?
Also, in using the modules numbered (By Chapter), can I choose not to
display the chapter number?
Yes. You can do this in various ways. One is to redefine the LabelString
to display whatever you want. Another is to define a LabelString for the
relevant counter itself. See the Customization manual for details.
Note that this will only change the LyX display, not the LaTeX output.
If you want to change that, you need to redefine things like
\thetheorem, or whatever the relevant counter is.
rh