I am getting the following error, but cannot figure out the problem yet
! LaTeX Error: No counter 'theorem' defined.
I have
\newtheorem{galex-theorem}{Theorem}[section]
\newtheorem{galex-corollary}{Corollary}[theorem]
which could be problematic, but I cannot see it clearly.
[theorem]
there?galex-theorem
.\newtheorem{galex-theorem}{Theorem}[section]
. I think one can number per theorem but[theorem]
is not being recognised. Perhaps a different keyword should be used for such a thing.theorem
but first you need to definetheorem
, so far you have only definedgalex-theorem