0

I have a document that contains some proofs and some custom appendices. I would like to delay the proofs to the appendix, so am using apxproof package. However, apxproof does not seem to recognize that I have existing appendices (see below MWE). How can I get apxproof to update its naming to respect the existing appendix?

\documentclass[paper=letter,DIV=10]{scrartcl}

% %% %%% preamble %% %

%%% main packages \usepackage{import} \usepackage[utf8]{inputenc} \usepackage{babel}% https://tex.stackexchange.com/questions/482222/automatically-use-german-style-french-quotes \usepackage{geometry} \usepackage[titletoc,title]{appendix} \usepackage{xpatch} \xpretocmd{\appendixpagename}{\sffamily}{}{} \usepackage{amssymb,amsmath,amsthm,amsfonts,bm} \usepackage{thmtools} \usepackage{cleveref}

%%% appendix proofs \usepackage[bibliography=common]{apxproof} % \renewcommand{\appendixprelim}{\clearpage\onecolumn\appendix\appendixpage} \newtheorem{theorem}{Theorem} \newtheoremrep{lemma}[theorem]{Lemma}

\title{Test} \begin{document} \maketitle \tableofcontents

% main section \section{Test} Citing a paper \cite{lamport94}. \begin{lemmarep}[Test] Test! \end{lemmarep} \begin{proof} Test! \end{proof} \begin{toappendix} \label{apx:delayed_proofs} \end{toappendix} Here's a reference to the \cref{apx:delayed_proofs}!

% references \begin{thebibliography}{999} \bibitem{lamport94} Leslie Lamport, \emph{\LaTeX: A Document Preparation System}. Addison Wesley, Massachusetts, 2nd Edition, 1994. \end{thebibliography}

% appendix section \appendix \appendixpage \section{Test appendix} Some writeup about something.

\end{document}

rrrrr
  • 503

1 Answers1

0

The answer is addressed here.

Here's an example

\documentclass[paper=letter,DIV=10]{scrartcl}

% %% %%% preamble %% %

%%% main packages \usepackage{import} \usepackage[utf8]{inputenc} \usepackage{babel}% https://tex.stackexchange.com/questions/482222/automatically-use-german-style-french-quotes \usepackage{geometry} \usepackage[titletoc,title]{appendix} \usepackage{xpatch} \xpretocmd{\appendixpagename}{\sffamily}{}{} \usepackage{amssymb,amsmath,amsthm,amsfonts,bm} \usepackage{thmtools} \usepackage{cleveref}

%%% appendix proofs \usepackage[bibliography=common]{apxproof} % \renewcommand{\appendixprelim}{\clearpage\onecolumn\appendix\appendixpage} \renewcommand{\appendixprelim}{\onecolumn\appendix\appendixpage} \newtheorem{theorem}{Theorem} \newtheoremrep{lemma}[theorem]{Lemma}

\title{Test} \begin{document} \maketitle \tableofcontents

% \begin{toappendix} % \label{apx:delayed_proofs} % \end{toappendix}

% intro \section{Intro} \nosectionappendix

% main section \section{Test 2} \nosectionappendix

Citing a paper \cite{lamport94}. \begin{lemmarep}[Test] Test! \end{lemmarep} \begin{proof} Test! \end{proof} Here's a reference to the \cref{apx:delayed_proofs}!

% references \begin{thebibliography}{999} \bibitem{lamport94} Leslie Lamport, \emph{\LaTeX: A Document Preparation System}. Addison Wesley, Massachusetts, 2nd Edition, 1994. \end{thebibliography}

% appendix section % \appendix % \appendixpage \begin{toappendix} \label{apx:delayed_proofs} \section{My appendix} Some writeup about something. \end{toappendix} \end{document}

rrrrr
  • 503