diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2022-03-03 18:13:24 +0000 | 
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-03-03 18:13:24 +0000 | 
| commit | 92f710554dac6fb75e0c3b4bcf4a0305ee4df4c3 (patch) | |
| tree | caf1f528de60c96dfa4f346e93b314bb8afa76a3 /templates | |
| parent | 9d1668c5e4820213406d18278116aad98fe83331 (diff) | |
| download | Smarker-92f710554dac6fb75e0c3b4bcf4a0305ee4df4c3.tar.gz Smarker-92f710554dac6fb75e0c3b4bcf4a0305ee4df4c3.zip | |
started working on rendering junitxml's nicely to pdfs
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/tex.jinja2 | 26 | 
1 files changed, 26 insertions, 0 deletions
| diff --git a/templates/tex.jinja2 b/templates/tex.jinja2 new file mode 100644 index 0000000..bcc6aab --- /dev/null +++ b/templates/tex.jinja2 @@ -0,0 +1,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}
\ No newline at end of file | 
