\documentclass{article} \input{../lib/lib.tex} \begin{document} \thispagestyle{plain} \tittel \tableofcontents \newpage \section{Forberedende oppgaver} \begin{oppgaver} \oppg \input{tasks/1.tex} \end{oppgaver} \newpage \section{Innleveringsoppgaver} \begin{oppgaver} \setoppg{1} \oppg \input{tasks/2.tex} \oppg \input{tasks/3.tex} \oppg \input{tasks/4.tex} \oppg \input{tasks/5.tex} \end{oppgaver} \end{document}