\documentclass{/media/documents/Cours/Prof/Enseignements/2015-2016/tools/style/classBilan} \usepackage{/media/documents/Cours/Prof/Enseignements/2015-2016/2015_2016} \usepackage{multicol} % Title Page \titre{\Var{latex_info['titre']}} % \seconde \premiereS \PSTMG \TSTMG \classe{\Var{latex_info['classe']}} \date{\Var{latex_info['date']}} \begin{document} \Block{for (name, notes) in eleves.iterrows()} \maketitle \begin{minipage}{0.5\linewidth} \large \Var{name} \end{minipage} \begin{minipage}{0.3\linewidth} \begin{flushright} \Large \Var{notes[ds_name]} / \Var{barem[ds_name][0]} \end{flushright} \end{minipage} \vfill \fbox{% \begin{minipage}{0.9\linewidth} \hfill \vspace{1cm} \end{minipage} } \vfill \scriptsize \begin{multicols}{2} \begin{tabular}{|p{3cm}|c|c|} \hline \rowcolor{highlightbg} Exercices & Réussite & Barème \\ \hline \Block{for question in barem.T[1:(nbr_questions//2)+1].T} \Var{question} & \Var{notes[question]} & \Var{barem[question][0]} \\ \hline \Block{endfor} \end{tabular} \begin{tabular}{|p{3cm}|c|c|} \hline \rowcolor{highlightbg} Exercices & Réussite & Barème \\ \hline \Block{for question in barem.T[(nbr_questions//2) + 1:].T} \Var{question} & \Var{notes[question]} & \Var{barem[question][0]} \\ \hline \Block{endfor} \end{tabular} \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: