I would like to prove all my theorems in the appendix. To do that, I would like to remind the readers what the theorem is, by reprinting it in the appendix.
However, I have not figured out a way to do this without directly copy and pasting. The the problem with copy and pasting is that the theorem number is completely off. Take for example:
Does anyone know how to deal with this problem elegantly?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsthm}
\setlength\parindent{0pt}
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\theoremstyle{thm}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}{Lemma}[section]
\newtheorem{prop}{Proposition}[section]
\newtheorem{cor}{Corollary}[section]
\newtheorem{conj}{Conjecture}[section]
\newtheorem{claim}{Claim}[section]
\theoremstyle{remark}
\newtheorem{remark}{Remark}[section]
\newtheorem{example}{Example}[section]
\newcommand{\thmautorefname}{Theorem}
\newcommand{\propautorefname}{Proposition}
\newcommand{\lemautorefname}{Lemma}
\newcommand{\corautorefname}{Corollary}
\newcommand{\conjautorefname}{Conjecture}
\newcommand{\claimautorefname}{Claim}
\begin{document}
\section{Introduction}
\begin{thm}
We'd like to introduce the \bfseries{theorem of the universe}, the theorem says that $1+1 = 2$
\end{thm}
This is a remarkable theorem indeed!
\section{Appendix}
In the Appendix, we will prove theorem
We will reprint the theorem here:
\begin{thm}
We'd like to introduce the \bfseries{theorem of the universe}, the theorem says that $1+1 = 2$
\end{thm}
\begin{proof}
2 - 1 = 1.
\end{proof}
\bibliographystyle{plain}
\bibliography{references}
\end{document}
Best Answer
The
thmtools
definesrestatable
theorems. Here is how it goes. B.t.w., thethm
theorem style does not exist, as this is defined bythmtools
. I suppose you meant theplain
style. Also, I had to comment theautorefname
s, as they're already defined bythmtools
.