Page MenuHomec4science

exam.tex
No OneTemporary

File Metadata

Created
Sat, May 4, 10:55

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,m=-1}
\begin{choiceshoriz}[o]
\bonne{VRAI}
\mauvaise{FAUX}
\end{choiceshoriz}
\medskip
}
\newcommand{\FALSE}{
\bareme{b=1,m=-1}
\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{./sections.tex}
\def\multiSymbole{}
\makeatletter
\def\AMCforcecorrect{\AMC@correctrue}
\makeatother
\AMCforcecorrect
\newcommand{\sujet}{
\onecopy{1}{
\setcounter{equation}{0}
\input{./first_page.tex}
\input{./random-sections.tex}
\input{./extra_section.tex}
% 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