summaryrefslogtreecommitdiffstats
path: root/templates/tex.jinja2
blob: bcc6aab7c7942262310c69597884475b5b07e4c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\documentclass{article}

\usepackage[margin=1in]{geometry} % margins
\usepackage{forest} % for the class tree
\usepackage{pdfpages}

\author{((( student_no )))}
\title{((( name ))) - Automatic marking report}

\begin{document}

\maketitle
\section{Class Tree}

\begin{figure}[h]
    \centering
    \begin{forest}
        ((( recurse_class_tree_forest(class_tree)|indent(8, False) )))
    \end{forest}
    \caption{Class inheritance tree}
\end{figure}

\section{Tests}
\includepdf[pages={1-},scale=0.9]{((( junit_xml_to_html(test_results["junitxml"], student_no) )))}

\end{document}