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

@ -6,4 +6,12 @@ A B C D E F G H
AB AB
AC AC
CD CD
DE DE
HA
FD
CB
FG
DE
DG
AH
FB

View File

@ -17,5 +17,13 @@
\draw (A) -- (C); \draw (A) -- (C);
\draw (C) -- (D); \draw (C) -- (D);
\draw (D) -- (E); \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} \end{tikzpicture}

View File

@ -15,6 +15,8 @@
\renewcommand{\theenumii}{(\arabic{enumii})} \renewcommand{\theenumii}{(\arabic{enumii})}
\renewcommand{\theenumiii}{\alph{enumiii})} \renewcommand{\theenumiii}{\alph{enumiii})}
\usepackage{verbatim}
\begin{document} \begin{document}
\ntnuTitle{} \ntnuTitle{}
@ -23,19 +25,38 @@
\tableofcontents \tableofcontents
\begin{excs} \begin{excs}
\exc{} \exc{}
\verbatiminput{graphics/src/hasse.txt}
\includeDiagram{graphics/hasse.tex} \includeDiagram{graphics/hasse.tex}
\break{}
\exc{} \exc{}
\verbatiminput{graphics/src/automata.txt}
\includeDiagram{graphics/automata.tex} \includeDiagram{graphics/automata.tex}
\break{}
\exc{} \exc{}
\verbatiminput{graphics/src/truthtable.txt}
\input{graphics/truthtable.tex} \input{graphics/truthtable.tex}
\exc{} \break{}
\includeDiagram{graphics/undirectedGraph.tex}
\exc{} \exc{}
\verbatiminput{graphics/src/undirectedGraph.txt}
\includeDiagram{graphics/undirectedGraph.tex}
\break{}
\exc{}
\verbatiminput{graphics/src/complete6.txt}
\includeDiagram{graphics/complete6.tex} \includeDiagram{graphics/complete6.tex}
\end{excs} \end{excs}