Import work from year 2014-2015

This commit is contained in:
Benjamin Bertrand
2017-06-16 09:48:07 +03:00
commit 7e5feb002b
1531 changed files with 418856 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
#!/usr/bin/env python
# encoding: utf-8
import jinja2, os
# Definition of jinja syntax for latex
texenv = jinja2.Environment(
block_start_string = '\Block{',
# Gros WTF!! Si on le met en maj ça ne marche pas alors que c'est en maj dans le template...
block_end_string = '}',
variable_start_string = '\Var{',
variable_end_string = '}',
loader = jinja2.FileSystemLoader(os.path.abspath('.')),
extensions = ['jinja2.ext.do']
)
# Filters
if __name__ == '__main__':
from pymath.expression import Expression
exp = Expression("2/4 + 18")
print(do_calculus(exp.simplify()))
# -----------------------------
# Reglages pour 'vim'
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
# cursor: 16 del

View File

@@ -0,0 +1,79 @@
\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{DS 7}
% \seconde \premiereS \PSTMG \TSTMG
\classe{\seconde}
\date{13 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.DS_0413[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:11].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[11:].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: