diff --git a/exam_template_graphics/graphics/src/undirectedGraph.txt b/exam_template_graphics/graphics/src/undirectedGraph.txt index 3975bfe..143c9af 100644 --- a/exam_template_graphics/graphics/src/undirectedGraph.txt +++ b/exam_template_graphics/graphics/src/undirectedGraph.txt @@ -6,4 +6,12 @@ A B C D E F G H AB AC CD -DE \ No newline at end of file +DE +HA +FD +CB +FG +DE +DG +AH +FB \ No newline at end of file diff --git a/exam_template_graphics/graphics/undirectedGraph.tex b/exam_template_graphics/graphics/undirectedGraph.tex index 3d34bbd..142fc6a 100644 --- a/exam_template_graphics/graphics/undirectedGraph.tex +++ b/exam_template_graphics/graphics/undirectedGraph.tex @@ -17,5 +17,13 @@ \draw (A) -- (C); \draw (C) -- (D); \draw (D) -- (E); +\draw (H) -- (A); +\draw (F) -- (D); +\draw (C) -- (B); +\draw (F) -- (G); +\draw (D) -- (E); +\draw (D) -- (G); +\draw (A) -- (H); +\draw (F) -- (B); \end{tikzpicture} diff --git a/exam_template_graphics/main.tex b/exam_template_graphics/main.tex index 52e3697..9996190 100644 --- a/exam_template_graphics/main.tex +++ b/exam_template_graphics/main.tex @@ -15,6 +15,8 @@ \renewcommand{\theenumii}{(\arabic{enumii})} \renewcommand{\theenumiii}{\alph{enumiii})} +\usepackage{verbatim} + \begin{document} \ntnuTitle{} @@ -23,19 +25,38 @@ \tableofcontents \begin{excs} + \exc{} + \verbatiminput{graphics/src/hasse.txt} + \includeDiagram{graphics/hasse.tex} + \break{} + \exc{} + \verbatiminput{graphics/src/automata.txt} + \includeDiagram{graphics/automata.tex} + \break{} + \exc{} + \verbatiminput{graphics/src/truthtable.txt} + \input{graphics/truthtable.tex} - \exc{} - \includeDiagram{graphics/undirectedGraph.tex} + \break{} \exc{} + \verbatiminput{graphics/src/undirectedGraph.txt} + + \includeDiagram{graphics/undirectedGraph.tex} + + \break{} + + \exc{} + \verbatiminput{graphics/src/complete6.txt} + \includeDiagram{graphics/complete6.tex} \end{excs}