Answers for "how to shift to nee page in latex"

1

move appendix to next page overleaf

documentclass{article}

usepackage{appendix}
usepackage{etoolbox}

% Inserts clearpage before begin{appendices}
BeforeBeginEnvironment{appendices}{clearpage}
% Inserts clearpage after end{appendices}
%AfterEndEnvironment{appendices}{clearpage}

% Inserts clearpage before every section within appendices environment
%AtBeginEnvironment{appendices}{pretocmd{section}{clearpage}{}{}}{}

begin{document}
    section{Pre1}
    section{Pre2}

    begin{appendices}
        section{App1}
        section{App2}
    end{appendices}

    section{Post1}
    section{Post2}
end{document}
Posted by: Guest on November-28-2020

Code answers related to "how to shift to nee page in latex"

Browse Popular Code Answers by Language