2015-2016/tools/example/DS.tex
2017-06-16 09:48:54 +03:00

147 lines
4.0 KiB
TeX

\documentclass[a4paper,12pt, addpoints]{/media/documents/Cours/Prof/Enseignements/tools/style/classDS}
\usepackage{/media/documents/Cours/Prof/Enseignements/tools/example/annee}
% 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 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}
\end{enumerate}
\pagebreak
\section{Solutions sauvées}
\showallsolutions
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% End: