Re: Restating theorems?



Hi Louis

Some people don't have the preceding posts at hand (like me), and I also
assume that code posted here was tested for errors.
So perhaps you could post a minimal example showing the relevant code you
use and where the error occurs.

Michael.

"Louis Theran" <theran@xxxxxxxxx> schreef in bericht
news:1152610333.210261.22600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Ulrich Diez wrote:

Actually you can pass several optional arguments to
environments created by \newtheoremWithMacro.
The first one will be grabbed for defining macros.
You can leave it empty. It takes only a line or so for
forking on its emptiness.

Thanks! This is the kind of thing I was looking for. I tried
compiling it and got an error on this line:

\newtheoremWithMacro{Mytheorem}{My Theorem}[section]

! Paragraph ended before \newtheoremwithmacrobraceopt was complete.
<to be read again>
\par
l.109 \newtheoremWithMacro{Mytheorem}
{My Theorem}[section]
? x

Is there a debug mode for latex that will give a more useful error?

^L



.