2016-2017/Notes/tpl_bilan.tex
2017-06-16 09:49:23 +03:00

89 lines
1.8 KiB
TeX

\documentclass{/media/documents/Cours/Prof/Enseignements/2016-2017/tools/style/classBilan}
\usepackage{/media/documents/Cours/Prof/Enseignements/2016-2017/theme}
\usepackage{multicol}
% Title Page
\titre{\Var{ds_info["Nom"]}}
% \seconde \premiereS \PSTMG \TSTMG
\classe{\Var{ds_info["Classe"]}}
\date{\Var{ds_info["Date"]}}
\begin{document}
\Block{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.9\linewidth}
\hfill
\vspace{3cm}
\end{minipage}
}
\vfill
\scriptsize
\begin{multicols}{3}
\Block{for exo in e["Exercices"]}
\begin{tabular}{|p{2cm}|c|}
\Block{if exo["Nom"] in ["Bonus", "Malus", "Presentation"]}
\Block{for _,q in exo["Questions"].iterrows()}
\Block{if q["Mark"]}
\hline
\rowcolor{highlightbg}
\Var{exo["Nom"]} (\Var{q["Question"]}) & \Var{q["Latex_rep"]} \\
\Block{endif}
\Block{endfor}
\Block{else}
\hline
\rowcolor{highlightbg}
Exerice \Var{exo["Nom"]} & \Var{exo["Total"]["Mark"]} / \Var{exo["Total"]["Bareme"]} \\
\Block{for _,q in exo["Questions"].iterrows()}
\hline
\Var{q["Question"]} \newline \Var{q["Commentaire"]} & \Var{q["Latex_rep"]} \\
\Block{endfor}
\Block{endif}
\hline
\end{tabular}
\Block{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
\Block{endfor}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% End: