2017-2018/tools/example/DS.tex

157 lines
4.4 KiB
TeX

\documentclass[a4paper,12pt, addpoints]{classDS}
% Title Page
\titre{Examples}
% \quatreC \quatreD \troisB \troisPro
\classe{Une classe}
\date{Une date}
\duree{durée}
\typedoc{DS}
\begin{document}
\maketitle
\section{Section}
Différentes façons de présenter les questions et les points:
\begin{center}
\gradetable[v]
\hspace{1cm}
\pointtable[v]
\begin{tabular}{|p{10cm} | c |}
\hline
Exercice 1 & \pointsofquestion{1} point \\
\hline
Exercice 2 & \pointsofquestion{2} points \\
\hline
Exercice 3 & \pointsofquestion{3} points \\
\hline
Exercice 4 & \pointsofquestion{4} points \\
\hline
Exercice 5 & \pointsofquestion{5} points \\
\hline
Maîtrise de la langue & 4 points \\
\hline
\end{tabular}
\end{center}
\begin{questions}
\question[2]
\begin{parts}
\part
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
\begin{savedSolution}
Voici la belle solution (question \thequestion, part \partlabel, subpart \subpartlabel)
\end{savedSolution}
\part
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
\begin{savedSolution}
Voici la belle solution (question \thequestion, part \partlabel, subpart \subpartlabel)
\end{savedSolution}
\part
\begin{subparts}
\subpart
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
\begin{savedSolution}
Voici la belle solution (question \thequestion, part \partlabel, subpart \subpartlabel)
\end{savedSolution}
\subpart
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
\begin{savedSolution}
Voici la belle solution (question \thequestion, part \partlabel, subpart \subpartlabel)
\end{savedSolution}
\subpart
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
\begin{savedSolution}
Voici la belle solution (question \thequestion, part \partlabel, subpart \subpartlabel)
\end{savedSolution}
\end{subparts}
\end{parts}
\question
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
\begin{savedSolution}
Voici la belle solution (question \thequestion, part \partlabel, subpart \subpartlabel)
\end{savedSolution}
\question[2\half] Coucou
\question[2] Coucou
\titledquestion{Design}[10]
\end{questions}
\section{Commandes custom}
\begin{enumerate}
\item x, $x$ et $\times$
\item Ensembles
\begin{itemize}
\item \verb"\N" $\N$
\item \verb"\Z" $\Z$
\item \verb"\Q" $\Q$
\item \verb"\R" $\R$
\item \verb"\C" $\C$
\end{itemize}
\item Intervalles
\begin{itemize}
\item \verb"\intOO{1}{2}" $\intOO{1}{2}$
\item \verb"\intOF{1}{2}" $\intOF{1}{2}$
\item \verb"\intFO{1}{2}" $\intFO{1}{2}$
\item \verb"\intFF{1}{2}" $\intFF{1}{2}$
\end{itemize}
\item Logique
\begin{itemize}
\item \verb"\equiv" $\equiv$
\end{itemize}
\item Vecteurs
\begin{itemize}
\item \verb"\vec{A}" $\vec{AB}$
\item \verb"\norme{AB}" $\norme{AB}$
\item \verb"\scal{u}{u}" $\scal{u}{v} $
\item \verb"\vectCoord{1}{2}" $\vectCoord{1}{2}$
\end{itemize}
\item Proba
\begin{itemize}
\item \verb"\coefBino{20}{2}" $\coefBino{20}{2}$
\end{itemize}
\item Les compétences
\begin{itemize}
\item Connaître \Con
\item Chercher \Cher
\item Modéliser \Mod
\item Représenter \Rep
\item Raisonner \Rai
\item Calculer \Cal
\item Communiquer \Com
\end{itemize}
\end{enumerate}
\pagebreak
\section{Solutions sauvées}
\showallsolutions
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% End: