+\documentclass[11pt,a4paper,norsk]{book}
+\usepackage[norsk]{babel}
+\usepackage{multicol}
+\usepackage{color}
+\usepackage{fancyhdr}
+\usepackage{bibunits}
+\usepackage{graphicx}
+\usepackage{colordvi}
+\usepackage{times}
+\usepackage[latin1]{inputenc}
+\usepackage{makeidx}
+\usepackage{xspace}
+\usepackage{varioref}
+\usepackage{minitoc}
+\usepackage{amsmath}
+\usepackage{amssymb} %Ekstra symboler
+\makeindex
+\title{Kjemi i skolen - grønt hefte}
+\date{utkast 2020}
+\author{Cato Hauge}
+%%----------------------------------------------------------%%
+ %%----------------------------------------------------------%%
+%\pagestyle{fancyplain}
+\pagestyle{plain}
+ \addtolength{\headwidth}{\marginparsep}
+\addtolength{\headwidth}{\marginparwidth}
+\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
+\renewcommand{\subsectionmark}[1]{\markright{\thesubsection\ #1}}
+
+\lhead[\fancyplain{}{\bfseries\thepage}]{\fancyplain{}{\bfseries\rightmark}}
+\rhead[\fancyplain{}{\bfseries\leftmark}]{\fancyplain{}{\bfseries\thepage}}
+\cfoot{}
+
+
+%%----------------------------------------------------------%%
+
+%%----------------------------------------------------------%%
+\begin{document}
+\newcommand{\sv}{svovelsyre, H$_{2}$SO$_{4}$\xspace}
+\newcommand{\trijodid}{nitrogentrijodid, NI$_{3}$\xspace}
+\newcommand{\pik}{C$_{6}$H$_{2}$O$_{7}$N$_{3}$, Pikrinsyre\xspace}
+\newcommand{\vann}{H$_{2}$O\xspace}
+\newcommand{\amm}{ammoniakk, NH$_{3}$\xspace}
+\newcommand{\sal}{salpetersyre, HNO$_{3}$\xspace}
+\newcommand{\ma}{malonsyre CH$_{2}$(COOH)$_{2}$}
+\newcommand{\hyd}{hydrogenperoksyd, H$_{2}$O$_{2}$\xspace}
+\newcommand{\am}{NH$_{3}$\xspace}
+\setcounter{tocdepth}{2}
+
+\maketitle
+
+\makeatletter
+
+\tableofcontents
+
+\chapter{Grønn avdeling}
+
+\input{all-groenn}
+
+\printindex
+
+\end{document}