[Tutkielma-TeX] Theorem/equation/etc. numbering in appendices
Tuomo Valkonen
tujumava at jyu.fi
Thu Apr 24 10:02:34 EEST 2008
On Thu, Apr 24, 2008 at 09:52:15AM +0300, Tuomo Valkonen wrote:
> On Thu, Apr 24, 2008 at 09:35:37AM +0300, Tuomo Valkonen wrote:
> > \newtheorem*{app#1}{#2 A\thechapter.\arabic{apptheorem}}
>
> Actually this doesn't even get the references right: they're to the
> chapter only. You need a lot more effort to tell \label the current
> location, as newtheorem* doesn't know about the counter.
Well, for the record, this appears to work:
\makeatletter
\def\redef#1{\expandafter\gdef\csname the#1\endcsname{A\arabic{chapter}.\arabic{#1}}}
\makeatother
\redef{theorem}
% and so on...
More information about the Tutkielma-TeX
mailing list