[Tutkielma-TeX] Theorem/equation/etc. numbering in appendices

Miika Nurminen minurmin at jyu.fi
Wed Apr 23 17:23:12 EEST 2008


Tuomo Valkonen wrote:
> With chapter-dependent theorem/equation/etc. numbers 
> (i.e. Theorem 1.2 etc.), they're not useful in the appendices
> presently, because the chapter counter is reset and is arabic.
> A simple solution is \gdef\thechapter{\@Alph\c at chapter}, to get
> alphabetical appendix numbering. It unfortunately seems that the 
> numbering should be arabic according to the style guide at 
>
>   http://kirjasto.jyu.fi/showtext.php?lang=fin&keyword=palvelut-julkaisut-vaitokset
>
> Therefore some more complex numbering mechanism is needed to not 
> get duplicate numbers. Theorem A1.2, equation (A2.3), or so. 
> Unfortunately simply redefining \thechapter changes the number
> in the title and contents as well, so that doesn't work.

Something like this?

%preamble
\newcounter{appthm}
\newtheorem*{thma}{Theorem A\thechapter.\arabic{appthm}}

...

%appendix
\setcounter{appthm}{1}

\begin{thma}
some formula
\end{thma}
\addtocounter{appthm}{1}


--
Miika Nurminen




More information about the Tutkielma-TeX mailing list