Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

restate previous theorem/lemma

1,931 views
Skip to first unread message

Mauro

unread,
Sep 1, 2009, 5:44:50 AM9/1/09
to
In an appendix to my paper, I need to restate a previous theorem and
give a proof. Now, when I write my theorem in the appendix I would
like it to have the same reference number as the one in the main text
(e.g. 3.1) rather than a new one created in the appendix (e.g. A.1).
How can I do that?

Thanks.

Lars Madsen

unread,
Sep 1, 2009, 5:48:41 AM9/1/09
to

depends on how you define your theorems

--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html

Ulrich M. Schwarz

unread,
Sep 1, 2009, 9:56:43 AM9/1/09
to
On Tue, 01 Sep 2009 11:44:50 +0200, Mauro <msmsca...@googlemail.com>
wrote:

This should work, as long as you don't pull too many tricks within your
theorem (like a float within the body).

\documentclass{book}

\usepackage{thm-restate}% CTAN:macros/experimental/thmtools

\newtheorem{theorem}{Theorem}[chapter]

\begin{document}

\chapter{Stuff}

\begin{theorem}
This is a test.
\end{theorem}

\begin{restatable}[Badoo's theorem]{theorem}{mainclaim}
\label{thm:1}
This is the main claim, which is proven in the appendix.
\end{restatable}

\begin{theorem}
This is just another one.
\end{theorem}

\appendix
\chapter{Omitted proofs}

\mainclaim*
(The original appears on p.\,\pageref{thm:1})

\end{document}

HTH
Ulrich

Varun Narasimhachar

unread,
Apr 27, 2023, 12:06:12 AM4/27/23
to
Thank you for this. May I know if there's a way to create separate hyperref labels that display the same name (e.g. "Theorem 1") but point to different occurrences of a restatable? For example, I want to state Theorem 1 in the main text, then refer to it later in the main text, then restate it in the appendix as Theorem 1, and then refer to this restated version (i.e. create hyperlinks that point to the appendix copy of the theorem).
0 new messages