I would like to put a proposition (say Proposition 4) in the main body without the proof, and in the meanwhile also put the same Proposition number with the same statement in the appendix with the proof. How can I do this? Thank you.
Asked
Active
Viewed 306 times
1 Answers
1
I couldn't find an answer of mine on this site, so I'll reproduce its code here:
\documentclass{article}
\usepackage{amsthm}
\usepackage{thmtools, thm-restate}
\declaretheorem[name=Proposition]{proposition}
\begin{document}
\begin{restatable}{proposition}{Firstprop}
This is a proposition.
\end{restatable}
\appendix
\section{Proofs}
\Firstprop*
\begin{proof}
add my proof to this part \qedhere
\end{proof}
\section{More results}
\begin{proposition}
This is another proposition.
\end{proposition}
\end{document}
As you can see, I first nest a proposition in a restatable environment, defined by the thm-restate package. To the second argument of the environment (Firstprop) is associated a \Firstprop* command, whch restates the proposition where it is used.
Bernard
- 271,350
-
Thank you so much Bernard, indeed it works! And it is very simple, without need of copying the statement of propositions in the appendix, which is very convenient! A matter I encountered in this way was that all propositions are ordered with Proposition 1, Proposition 2, .... In the current setting, Proposition 4 is following Definition 4.1. But it is supposed to be Proposition 4.2, instead of Proposition 4. I spent a lot of time fixing this, but failed. Do you know how to fix the problem? Thanks again. – Jie Feb 19 '21 at 06:03
-
A minimal compilable code would be necessary to try understanding what happens. Could you post one? – Bernard Feb 19 '21 at 09:52
thmtoolspackage documentation, §1.4 Repeating theorems, pp. 6-7. – Bernard Feb 17 '21 at 10:14