\documentclass{/media/documents/Cours/Prof/Enseignements/2014-2015/Archive/2014-2015/tools/style/classBilan} \usepackage{/media/documents/Cours/Prof/Enseignements/2014-2015/Archive/2014-2015/2014_2015} \usepackage{multicol} % Title Page \titre{DM 5} % \seconde \premiereS \PSTMG \TSTMG \classe{\TSTMG} \date{8 avril 2015} \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.DM_0408[0]} \end{flushright} \end{minipage} \vfill \fbox{% \begin{minipage}{0.9\linewidth} \hfill \vspace{3cm} \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:8].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[8:].T} \Var{question} & \Var{notes[question]} & \Var{barem[question][0]} \\ \hline \Block{endfor} \end{tabular} \end{multicols} %\begin{tabular}{|p{2cm}|p{2cm}|p{2cm}|p{2cm}|p{2cm}|} % \hline % Pas de réponse & Faux & Peu juste & Partiellement juste & Juste \\ % \hline % \NoRep & \RepZ & \RepU & \RepD & \RepT \\ % \hline %\end{tabular} \normalsize \pagebreak \Block{endfor} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: "master" %%% End: