Re: Restating theorems?
- From: "Ulrich Diez" <eu_angelion@xxxxxxxxxxxxxx>
- Date: Sun, 9 Jul 2006 23:12:28 +0200
I wrote:
Actually you can pass several optional arguments to....
environments created by \newtheoremWithMacro.
Another noteworthy restriction is:
You can e.g., write
\newtheorem{foo}...
...
\begin{foo}
\begin{verbatim}
\TeX is funny.
\end{verbatim}
\end{foo}
But you cannot write
\newtheoremWithMacro{foo}...
...
\begin{foo}
\begin{verbatim}
\TeX is funny.
\end{verbatim}
\end{foo}
[That's not true - you can write it. But it won't compile
successfully:-) ]
This is because amslatex' \collect@body will read ahead and
tokenize the whole stuff before catcode-changes of verbatim-
environment get into effect.
If such functionality is needed, an approach could be putting
everything into a box...
Ulrich
.
- References:
- Restating theorems?
- From: theran
- Re: Restating theorems?
- From: Ulrich Diez
- Re: Restating theorems?
- From: Ulrich M. Schwarz
- Re: Restating theorems?
- From: Ulrich Diez
- Restating theorems?
- Prev by Date: Problem with "{\.I}" accent in bibtex
- Next by Date: Re: Problem with "{\.I}" accent in bibtex
- Previous by thread: Re: Restating theorems?
- Next by thread: Re: Restating theorems?
- Index(es):