\documentclass{article}

\usepackage[norsk]{babel}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage[fleqn]{amsmath}
\usepackage[many]{tcolorbox}
\usepackage{graphicx}
\usepackage{parskip}
\usepackage{gensymb}

\definecolor{ntnublue}{RGB}{0,80,158}

\input{../lib/geometry.tex}
\input{../lib/header.tex}
\input{../lib/math.tex}

\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,
    urlcolor=blue,
}

\pgfplotsset{compat=newest}

\author{Øystein Tveit}
\title{MA0001 Øving 1}

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

\begin{document}

  \thispagestyle{plain}
  \tittel
  \tableofcontents

  \newpage

  \section{Forberedende oppgaver}

  \begin{oppgaver}
    
    \oppg
    \input{tasks/1.tex}

    \oppg
    \input{tasks/2.tex}

  \end{oppgaver}

  \section{Innleveringsoppgaver}

  \begin{oppgaver}
    \setoppg{2}

    \oppg
    \input{tasks/3.tex}

    \oppg
    \input{tasks/4.tex}

    \break

    \oppg
    \input{tasks/5.tex}

  \end{oppgaver}



\end{document}