"Uwe Stöhr" wrote:
>Virgil schrieb:

>>But how can one choose per-section numbering 
> Enable in the document settings dialog explicitely amsmath, 
> then use this command in the preamble:
> \numberwithin{counter}{section}
>where counter is the counter of your theorem.

Hi:
It appears to work well. Thank you, very much! 
Some additional related comments:

Apparently, one needs to put in the preamble a version of the command 
\numberwithin{counter}{section}
for EACH theorem-like construct used. 
Ex:
\numberwithin{thm}{section}
\numberwithin{cor}{section}
\numberwithin{lemma}{section}

Also, there does not appear to be a direct way of knowing the short form
(abbreviated version) of the name of the construct that LyX uses, and
these forms appear to  be inconsistent... example
thm for theorem
cor for Corollary
lemma for Lemma

I don't know if these abbreviations are LaTeX conventions. 
If not, it would be best to have a uniform convention within LyX 
(first 3 letters in lower case. or
full name in lower case, etc.  etc). 
(To know the above forms I exported to LaTeX and viewed the result).

I did not know the difference between "Use AMS Math package automatically" 
and "Use AMS math package".
I found the answer in the math help doc: 
"The option 'Use AMS math package automatically' only uses AMS-math 
when math constructs are found that are supported by LyX.".

However, the math help doc appears NOT to discuss theorems, 
proofs and related issues at all.

Thanks again.

Virgil
P.S. For some insanity, Gname wont't let me post this as a follow-up in 
the original thread ("lines longer than 80 characters")


Reply via email to