My university wants a double sided thesis, but the dedication, the acknowledgement, the TOC and so on should be single sided.
My idea is to add the following code to a macro that already exists, but apply it to every page...
The existing macro changes the page number style to roman and changes a few other styles. It's called immediately after \begin{document}. Before the main section of the thesis another macro is called that sets the page numbering to arabic and also applies some specific styles for the following pages.
The problem is, that I have no idea how to say LaTeX in the first macro that it should add \addblankpage after every page it compiles and to stop in the second macro.
\newcommand{\addblankpage}{%
\clearpage%
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\clearpage%
}
\begin{document}
\maketitle
% Single sided, a blank page after every page should be generated
\preface % The first macro
\input{statutory-declaration}
\input{note-of-thanks}
\input{dedication}
\input{abstract}
\tableofcontents
% Double sided, no extra page should be generated
\main % The second macro
\input{sections/introduction}
\input{sections/experiments}
\input{sections/interpretation}
...
\end{document}
\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. Also, we don't have your local files, so remove the\inputs and replace them with some dummy stuff. – Skillmon Feb 24 '18 at 18:57\AtBeginPage{}of packagebophook? Not tested, but a counter or \thepage could could help to "decide" when the command will be applied. – koleygr Feb 24 '18 at 19:01\prevdepthisn't usable. – Skillmon Feb 24 '18 at 19:49