diff --git a/data/templates/linear-algebra/base/exam.tex b/data/templates/linear-algebra/base/exam.tex index 4c82b96..f5eed6f 100644 --- a/data/templates/linear-algebra/base/exam.tex +++ b/data/templates/linear-algebra/base/exam.tex @@ -1,53 +1,56 @@ \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} %Unicode \usepackage[T1]{fontenc} +\usepackage{xcolor} \usepackage{fix-cm} - \usepackage[lang=#LANG#,bloc]{automultiplechoice} +% Color used for signature box +\definecolor{light-Gray}{gray}{0.95} + %%% Default packages \input{./packages.tex} % #COMMON_PACKAGES# % Common packages for all exams % #EXTRA_PACKAGES# % Extra packages for this exam %%% Formating specific to EPFL \input{./style_extra.tex} \input{./true-false.tex} % Language dependent ! \input{./question-text.tex} % Language dependent ! %%% Professor specific imports \input{./professor.tex} \input{./style_professor.tex} %%% New commands (or renewed) % #COMMON_COMMANDS# % Common commands for all exams % #EXTRA_COMMANDS# % Extra commands for this exam %%% Randomseed \input{./random-seed.tex} \begin{document} %%% Import sections \input{./sections.tex} \newcommand{\sujet}{ \onecopy{1}{ %%% debut de l'en-tĂȘte des copies : \input{./first_page.tex} \input{./random-sections.tex} % #EXTRA_SECTION# % Extra section for this exam % Make sure that all the exams have the same number of pages (otherwise Repro will not be able to print!) \loop \ifnum \thepage < \totalPages \clearpage ~ \repeat \AMCassociation{\ID} } } \csvreader[head to column names]{./students.csv}{}{\sujet} \end{document} diff --git a/data/templates/maths/base/exam.tex b/data/templates/maths/base/exam.tex index 02c36d1..f5eed6f 100644 --- a/data/templates/maths/base/exam.tex +++ b/data/templates/maths/base/exam.tex @@ -1,56 +1,56 @@ \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} %Unicode \usepackage[T1]{fontenc} \usepackage{xcolor} \usepackage{fix-cm} - \usepackage[lang=#LANG#,bloc]{automultiplechoice} +% Color used for signature box \definecolor{light-Gray}{gray}{0.95} %%% Default packages \input{./packages.tex} % #COMMON_PACKAGES# % Common packages for all exams % #EXTRA_PACKAGES# % Extra packages for this exam %%% Formating specific to EPFL \input{./style_extra.tex} \input{./true-false.tex} % Language dependent ! \input{./question-text.tex} % Language dependent ! %%% Professor specific imports \input{./professor.tex} \input{./style_professor.tex} %%% New commands (or renewed) % #COMMON_COMMANDS# % Common commands for all exams % #EXTRA_COMMANDS# % Extra commands for this exam %%% Randomseed \input{./random-seed.tex} \begin{document} %%% Import sections \input{./sections.tex} \newcommand{\sujet}{ \onecopy{1}{ %%% debut de l'en-tĂȘte des copies : \input{./first_page.tex} \input{./random-sections.tex} % #EXTRA_SECTION# % Extra section for this exam % Make sure that all the exams have the same number of pages (otherwise Repro will not be able to print!) \loop \ifnum \thepage < \totalPages \clearpage ~ \repeat \AMCassociation{\ID} } } \csvreader[head to column names]{./students.csv}{}{\sujet} \end{document}