X-Git-Url: https://pere.pagekite.me/gitweb/text-smell-og-bang-hauge.git/blobdiff_plain/816092b97c7dbbfa7fa6c765af3565b7a4f7caae..06c3b93fe6bc2c99a0985f977580c30bf48a56fb:/hefte-groenn.tex

diff --git a/hefte-groenn.tex b/hefte-groenn.tex
index 7750edd..1fd119f 100644
--- a/hefte-groenn.tex
+++ b/hefte-groenn.tex
@@ -3,7 +3,7 @@
 \usepackage{multicol}
 \usepackage{color}
 \usepackage{fancyhdr}
-\usepackage{bibunits}
+\usepackage[refsection=section+]{biblatex}
 \usepackage{graphicx}
 \usepackage{colordvi}
 \usepackage{times}
@@ -14,6 +14,10 @@
 \usepackage{minitoc}
 \usepackage{amsmath}
 \usepackage{amssymb} %Ekstra symboler
+
+\addbibresource{references.bib}
+\defbibheading{bibliography}[Referanser]{\subsubsection*{#1}\markboth{#1}{#1}}
+
 \makeindex
 \title{Kjemi i skolen - grønt hefte}
 \date{utkast 2020}
@@ -36,15 +40,7 @@
 
 %%----------------------------------------------------------%%
 \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}
+\include{ourmacros}
 \setcounter{tocdepth}{2}
 
 \maketitle
