[Tutkielma-TeX] Theorem/equation/etc. numbering in appendices
Tuomo Valkonen
tujumava at jyu.fi
Thu Apr 24 09:35:37 EEST 2008
On Wed, Apr 23, 2008 at 05:23:12PM +0300, Miika Nurminen wrote:
> Something like this?
>
> %preamble
> \newcounter{appthm}
> \newtheorem*{thma}{Theorem A\thechapter.\arabic{appthm}}
\gdef\redef#1#2{
\newcounter{app#1}
\setcounter{app#1}{1}
\newtheorem*{app#1}{#2 A\thechapter.\arabic{apptheorem}}
\renewenvironment{#1}{\begin{app#1}}{\end{app#1}\addtocounter{app#1}{1}}
}
\redef{theorem}{Theorem}
But I was hoping for something that wouldn't require redefining all
the environments (definition, theorem, lemma, corollary, remark,
example, ...). Some function that these environments use to
generate the number, which could be redefined.
But maybe it won't come to that, because although the style guide
doesn't know about theorems, equations, etc., it appears to require
figures and tables to have continuous numbering. Thus, for consistency,
theorem-like environments and equations should also have continuous
numbering, which becomes very unwieldy (with equation numbers in the
hundreds, and lemmas in the tens, with little hint about location
in the number). *sigh*
More information about the Tutkielma-TeX
mailing list