2015-2016/3e/DS/DS_15_09_25/Bilan/tpl_bilan.tex
2017-06-16 09:48:54 +03:00

80 lines
1.7 KiB
TeX

\documentclass{/media/documents/Cours/Prof/Enseignements/tools/style/classBilan}
\usepackage{/media/documents/Cours/Prof/Enseignements/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{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:(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}
%\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: