Add verbatim file overview

This commit is contained in:
Oystein Kristoffer Tveit 2021-05-10 22:31:46 +02:00
parent 0e7df400ab
commit ac0033057e
3 changed files with 40 additions and 3 deletions

View File

@ -7,3 +7,11 @@ AB
AC
CD
DE
HA
FD
CB
FG
DE
DG
AH
FB

View File

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

View File

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