Hi
I've noticed that irrespective of which document class is used (I admit
to not trying every single one) the following is put in the preamble
automatically by Lyx.
\usepackage{amsthm}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}
\numberwithin{figure}{section}
\makeatother
Is this a feature of Lyx or my setup? I can't find where these things
might be defined - they are not in the layouts.
Apart from being strange in classes like Letter they don't allow
compilation unless the package amsmath is loaded as \numberwithin comes
from it.
--
Steve Hnizdur