repytex/notes_tools/generate_bilan/templates/tpl_bilan_eval.tex

102 lines
2.1 KiB
TeX
Raw Normal View History

\documentclass{/media/documents/Cours/Prof/Enseignements/2016-2017/tools/style/classBilan}
\usepackage{/media/documents/Cours/Prof/Enseignements/2016-2017/theme}
\usepackage{booktabs}
% Title Page
\titre{\Var{bilan_info["Nom"]}}
% \seconde \premiereS \PSTMG \TSTMG
\classe{\Var{bilan_info["Classe"]}}
\date{\Var{bilan_info["Date"]}}
\begin{document}
\maketitle
Devoir sur \Var{eval_df["Bareme"].iloc[0]}
\vfill
\Var{eval_df.describe()[["Mark"]].T.to_latex()}
\vfill
\Var{eval_df| marks_hist | includegraphics(document_path=directory, scale=0.5)}
\pagebreak
%- for e in students
\maketitle
\begin{minipage}{0.5\linewidth}
\large
\Var{e["Nom"]}
\end{minipage}
\begin{minipage}{0.3\linewidth}
\begin{flushright}
\Large \Var{e["Total"]["Mark"]} / \Var{e["Total"]["Bareme"]}
\end{flushright}
\end{minipage}
\vfill
\fbox{%
\begin{minipage}{0.5\linewidth}
\hfill
\vspace{3cm}
\end{minipage}
}
\Var{e["quest"] | comp_radar | includegraphics(document_path=directory, scale=0.5)}
\vfill
\scriptsize
\begin{multicols}{3}
%- for exo in e["Exercices"]
\begin{tabular}{|p{2cm}|c|}
%- if exo["Nom"] in ["Bonus", "Malus", "Presentation"]
%- for _,q in exo["Questions"].iterrows()
%- if q["Mark"]
\hline
\rowcolor{highlightbg}
\Var{exo["Nom"]} (\Var{q["Question"]}) & \Var{q["Latex_rep"]} \\
%- endif
%- endfor
%- else
\hline
\rowcolor{highlightbg}
Exerice \Var{exo["Nom"]} & \Var{exo["Total"]["Mark"]} / \Var{exo["Total"]["Bareme"]} \\
%- for _,q in exo["Questions"].iterrows()
\hline
\Var{q["Question"]} \newline \Var{q["Commentaire"]} & \Var{q["Latex_rep"]} \\
%- endfor
%- endif
\hline
\end{tabular}
%- endfor
\end{multicols}
\vfill
\begin{center}
Pas de réponse \NoRep \hfill
Tout faux \RepZ \hfill
Beaucoup d'erreurs \RepU \hfill
Quelques erreurs \RepD \hfill
Juste \RepT \hfill
\end{center}
\normalsize
\pagebreak
%- endfor
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% End: