Page MenuHomec4science

exam.tex
No OneTemporary

File Metadata

Created
Tue, Nov 12, 20:54

exam.tex

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc} %Unicode
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{fix-cm}
\usepackage[lang=FR,bloc]{automultiplechoice}
% Color used for signature box
\definecolor{light-Gray}{gray}{0.95}
\input{./packages.tex}
% \input{./commands.tex}
\input{./style_extra.tex}
%%% increase the space between header and bottom for AMC control dots
\renewcommand{\baselinestretch}{1.10}% ESPACEMENT VERTICAL
\geometry{includeheadfoot,hmargin=2.25cm,headheight=2cm,headsep=0.2cm}
\geometry{footskip=.8cm,top=.5cm,bottom=1.1cm,paper=a4paper}
\newcommand{\TRUE}{
\bareme{b=1/4,m=0}
\begin{choiceshoriz}[o]
\bonne{VRAI}
\mauvaise{FAUX}
\end{choiceshoriz}
\medskip
}
\newcommand{\FALSE}{
\bareme{b=1/4,m=0}
\begin{choiceshoriz}[o]
\mauvaise{VRAI}
\bonne{FAUX}
\end{choiceshoriz}
\medskip
}
%%% Randomseed
\input{./random-seed.tex}
%%% Exam info
\input{./exam-info.tex}
\begin{document}
%%% Import sections
\input{./section_1.tex}
\input{./section_2.tex}
\input{./sub_section_2.tex}
\def\multiSymbole{}
\makeatletter
\def\AMCforcecorrect{\AMC@correctrue}
\makeatother
\AMCforcecorrect
\newcommand{\sujet}{
\onecopy{1}{
% \setcounter{equation}{0}
\input{./first_page.tex}
\input{./header_1.tex}
\restituegroupe{section1}
\input{./header_2.tex}
\restituegroupe{section2}
% 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}

Event Timeline