use extend in templates

This commit is contained in:
Benjamin Bertrand 2016-11-28 08:00:29 +03:00
parent e9c1bdaa76
commit a061b18c45
3 changed files with 40 additions and 37 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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