\documentclass[a4paper,french]{maclasse}




	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%   																					 %
	%   																					 %
    %			          			 GROUPES DES QUESTIONS      							 %
 	%   																					 %
	%   																					 %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   



\begin{document}

\makeatletter
\def\setoutsidebox{\AMC@outside@boxtrue}
\makeatother

\newcounter{numQuestInu}
\setcounter{numQuestInu}{1}
\newsavebox{\correc}

\newcounter{compteurConversionNumeriq}% compteur gérant les numéros de question de \ConversionNumeriq
\newcounter{compteurConversionVolumeNumeriq}% compteur gérant les numéros de question de \ConversionVolumeNumeriq
\newcounter{compteurLectureVolume}% compteur gérant les numéros de question de \LectureVolume
\newcounter{compteurEprouvetteRepNumeric}% compteur gérant les numéros de question de \EprouvetteRepNumeric

\newcounter{mot}%Compteur texte à trou
\setcounter{mot}{1}

\setcounter{compteurConversionNumeriq}{1}
\setcounter{compteurConversionVolumeNumeriq}{1}
\setcounter{compteurLectureVolume}{1}
\setcounter{compteurEprouvetteRepNumeric}{1}



\element{prepExperience}{%

	\Competences[
		label=preparation, competence={3XDe-3}, decal=-1.8cm,
		text={Équilibrer.}
		]
		{
		lineup=true,
		lineuptext={Dépôt des gouttes préparation du papier}
		}


}



\element{exploitation}{

	\Competences[competence={1XDe-4},numQuest=true, text={Observe l'expérience. Que se passe-t-il entre l'eau salée et la feuille?},decal=-1.8cm,label=Qexploitation1, reponse={L'eau salée remonte le long de la feuille par capillarité. Elle entraîne avec elle les colorants alimentaires}]{lines=6, dots=true}

	\Competences[competence=3XCo-1, text={Schématise le montage ainsi que la feuille de papier filtre.},decal=-1.8cm, label=QSchema]{lines=12, dots=false, framerulecol=gray}
	
	\Competences
		[competence={1XDe-4},
		label=Qexploitation3,
		numQuest=true,
		decal=-1.8cm,
		text={A-t-on séparé des constituants au cours de cette expérience? Explique. Donne les constituants séparés.},
		reponse={Oui, nous avons bien sépareé des constituants. On observe que le colorant vert est constitué des colorants jaune et bleu. Ces deux derniers ont donc été séparés lors de la chromatographie.}
		]
		{lines=10, dots=true}

	
	
}




\element{CompetencesGlobales}{%permet d'afficher des compétences sur le controle dans sa globalité

	\noindent
	\fcolorbox{black}{lightgray!15}{\begin{minipage}{.986\linewidth}
		\vspace*{-.1cm}\insertRedactionPhrase{2}%bareme
	\vspace{-.6cm}\end{minipage}}

	\noindent
	\fcolorbox{black}{lightgray!15}{\begin{minipage}{.986\linewidth}\vspace*{-.1cm}
		\insertCompetenceProf[competence={De-4}, text={Observe l'expérience. Que se passe-t-il entre l'eau salée et la feuille?},label=Qexploitcghatioyn1, quatreCase=true]{lines=6, dots=true}
		\vspace*{-.4cm}\end{minipage}
	}

	\noindent
	\fcolorbox{black}{lightgray!15}{\begin{minipage}{.986\linewidth}\vspace*{-.1cm}
		\insertCompetenceProf[competence={De-4}, text={Observe l'expérience. Que se passe-t-il entre l'eau salée et la feuille?}, nbrePoints=3,label=Qexplovfyuitatioyn1, quatreCase=true]{}
		\vspace*{-.4cm}\end{minipage}
	}
}



	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%   																					 %
	%   																					 %
    %			          		           	 COPIE      									 %
 	%   																					 %
	%   																					 %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   


\newcommand*{\texteHautDroite}{
	\begin{minipage}{\linewidth}
		\large\textbf{Ch2~\bm{$3^{eme}$}\hfill \the\month /\the\year}
	\end{minipage}
}

\newcommand{\sujet}{
\onecopy{1}{





%Comteur texte a trou
\setcounter{numQuestInu}{0}
    
%Compteur texte a trou
\setcounter{mot}{0}


%%Création des listes vide de chaque compétences , du score
\def\ListeDeUN{}
\def\essai{}
\def\ListeDeDEUX{}
\def\ListeDeTROIS{}
\def\ListeDeQUATRE{}
\def\ListeCoUN{}%
\def\ListeCoDEUX{}%
\def\ListeAppUN{}%
\def\ListeAppDEUX{}%
\def\ListeAppTROIS{}%
\def\ListeOutUN{}%
\def\ListeOutDEUX{}%
\def\ListeInvUN{}%
\def\ListeInvDEUX{}%
\def\ListeLanUN{}%
\def\ListeLanDEUX{}%
\def\ListeLanTROIS{}%
\def\ListeLanQUATRE{}%
\def\ListeComUN{}%
\def\ListeComDEUX{}%
\def\ListeSitUN{}%
\def\ListeSitDEUX{}%

\AMCassociation{\identifiant}
	%\entete
	\enteteDEUX





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% fin de l'en-tête

	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
    %			          		   Titre				     								 %
	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% debut de l'en-tête des copies :    
\begin{cursive}
	\vspace{.3cm}\hspace{.33\linewidth}	
	 \Large T.P.~:~~~ La chromatographie.
\end{cursive}

\normalsize
%\DureeConsignes{30}{2}{Aucun document autorisé}
%{#1} durée (mn)
%{#2} 1:affichage de la duree  2:consignesimple 3:consignecomplete
%{#3} Affiche ce que l'on veut comme texte supplémentaire

\begin{minipage}{.05\linewidth}
		\includegraphics[scale=.06]{Images/PointInterrogation.eps}
\end{minipage}
\psframebox[shadow=true,framearc=.3, fillcolor=lightgray!15, framesep=5pt]{\cursive{Objectif}}
\vspace{.5cm}

	Nous allons réaliser une chromatographie. Nous verrons que cette technique peut être utilisée pour \textbf{séparer} les constituants d'un mélange.
\vspace{.5cm}


\begin{minipage}{.05\linewidth}
	\includegraphics[scale=.04]{Images/iconeExperience.eps}
\end{minipage}
\psframebox[shadow=true,framearc=.3, fillcolor=lightgray!15, framesep=5pt]{\cursive{Mode opératoire}}

\vspace{.5cm}
\begin{minipage}{.6\linewidth}
	\begin{enumerate}
		\item Il faut découper dans une feuille de papier filtre un rectangle d'environ 4 cm sur 7 cm.
		\item Sur cette feuille, tracer  au crayon à papier un trait à deux centimètres du bas sans abîmer le papier. (ne pas appuyer)
		\item Déposer sur cette ligne de dépôt (le trait), trois petites gouttes, régulièrement espacée, de chaque colorant alimentaire.
		\item Remplir un bécher avec de l'eau salée (1 cm de hauteur).
		\item Placer le papier filtre dans le bécher en pliant légèrement la feuille. Attention : il ne faut pas que l'eau salée touche les taches de colorants!
		\item Observer ce qui se passe.
	\end{enumerate}
\end{minipage}
\begin{minipage}{.3\linewidth}
	\includegraphics[scale=.6]{Images/SchemaDepotChromato.eps}
\end{minipage}

\restituegroupe{prepExperience}

\begin{minipage}{.05\linewidth}
	\includegraphics[scale=.16]{Images/iconeAnalyse.eps}
\end{minipage}
\psframebox[shadow=true,framearc=.3, fillcolor=lightgray!15, framesep=5pt]{\cursive{Exploitation}}

\restituegroupe{exploitation}



	

	\restituegroupe{CompetencesGlobales}



\tableauCompetences

\AMClabel{dernierepage} 

\clearpage   %si sujet nb pages paires
%\AMCcleardoublepage %%%% si sujet nb pages impaires
%\thispagestyle{AMCpageNoMarks}
%\AMCaddpagesto{3} %ajouter des pages blanches en fin de sujet

}}

\csvreader[head to column names]{listetest.csv}{}{\sujet} % lecture du fichier csv

\end{document}



