diff --git a/notes_tools/generate_bilan/templates/tpl_bilan.tex b/notes_tools/generate_bilan/templates/tpl_bilan.tex new file mode 100644 index 0000000..78cb1fb --- /dev/null +++ b/notes_tools/generate_bilan/templates/tpl_bilan.tex @@ -0,0 +1,28 @@ +\documentclass{/media/documents/Cours/Prof/Enseignements/2016-2017/tools/style/classBilan} +\usepackage{/media/documents/Cours/Prof/Enseignements/2016-2017/theme} + +\usepackage{booktabs} + +% Title Page +\titre{\Var{bilan_info["Nom"]}} +% \seconde \premiereS \PSTMG \TSTMG +\classe{\Var{bilan_info["Classe"]}} +\date{\Var{bilan_info["Date"]}} + + +\begin{document} + +\Block{block classPOV}\Block{endblock} + +\pagebreak + + +\Block{block students}\Block{endblock} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "master" +%%% End: + diff --git a/notes_tools/generate_bilan/templates/tpl_bilan_eval.tex b/notes_tools/generate_bilan/templates/tpl_bilan_eval.tex index dfcc529..d3d6300 100644 --- a/notes_tools/generate_bilan/templates/tpl_bilan_eval.tex +++ b/notes_tools/generate_bilan/templates/tpl_bilan_eval.tex @@ -1,16 +1,8 @@ -\documentclass{/media/documents/Cours/Prof/Enseignements/2016-2017/tools/style/classBilan} -\usepackage{/media/documents/Cours/Prof/Enseignements/2016-2017/theme} +%- extends "tpl_bilan.tex" -\usepackage{booktabs} +% FILENAME: "tpl_bilan_eval.tex -% Title Page -\titre{\Var{bilan_info["Nom"]}} -% \seconde \premiereS \PSTMG \TSTMG -\classe{\Var{bilan_info["Classe"]}} -\date{\Var{bilan_info["Date"]}} - - -\begin{document} +%- block classPOV \maketitle Devoir sur \Var{eval_df["Bareme"].iloc[0]} @@ -21,9 +13,10 @@ Devoir sur \Var{eval_df["Bareme"].iloc[0]} \vfill \Var{eval_df| marks_hist | includegraphics(document_path=directory, scale=0.5)} -\pagebreak +%- endblock +%-block students %- for e in students \maketitle @@ -91,11 +84,6 @@ Devoir sur \Var{eval_df["Bareme"].iloc[0]} \normalsize \pagebreak %- endfor +%- endblock -\end{document} - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: "master" -%%% End: diff --git a/notes_tools/generate_bilan/templates/tpl_bilan_term.tex b/notes_tools/generate_bilan/templates/tpl_bilan_term.tex index 27e70d4..fccb167 100644 --- a/notes_tools/generate_bilan/templates/tpl_bilan_term.tex +++ b/notes_tools/generate_bilan/templates/tpl_bilan_term.tex @@ -1,17 +1,10 @@ -\documentclass{/media/documents/Cours/Prof/Enseignements/2016-2017/tools/style/classBilan} -\usepackage{/media/documents/Cours/Prof/Enseignements/2016-2017/theme} +%- extends "tpl_bilan.tex" +% FILENAME: "tpl_bilan_term.tex -\usepackage{booktabs} - -% Title Page -\titre{Trimestre \Var{bilan_info["Trimestre"]}} -% \seconde \premiereS \PSTMG \TSTMG -\classe{\Var{bilan_info["Classe"]}} -\date{} - - -\begin{document} +%- block classPOV +%- endblock +%-block students %- for e in students \maketitle @@ -35,11 +28,5 @@ \normalsize \pagebreak %- endfor - -\end{document} - -%%% Local Variables: -%%% mode: latex -%%% TeX-master: "master" -%%% End: +%- endblock