\documentclass{article}

\newcommand{\theTitle}{MA0001 Øving 5}
\newcommand{\theAuthor}{Øystein Tveit}

\input{../lib/lib.tex}

\usepackage{amssymb}

\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}