Debian Codegraph @

texmf-dist/doc/latex/competences/example.tex

raw
1 \documentclass{article}
2
3 \usepackage[
4 % nomargin, % Remove margin competence tag
5 ]{competences}
6
7 \renewcommand \thesection{\Alph{section}}
8
9 \begin{document}
10
11 \declareprefix{CA}
12 \declareprefix{CB}
13 \declareprefix{CC}
14
15 % Declare competences is not mandantory,
16 % but it defines order in sumup tables
17 % and allows to detect forgiven competences.
18 \declarecompetence{CA1}
19 \declarecompetence{CA2}
20 \declarecompetence{CB1}
21 \declarecompetence{CB2}
22 \declarecompetence{CC1}
23 \declarecompetence{CC2}
24 \declarecompetence{CC3}
25 \declarecompetence{CC4}
26 \declarecompetence{FOO}
27
28 % Some competences are global,
29 % ie not link to a particular question.
30 \addGlobalCompetence[1]{CC4}
31 \addGlobalCompetence[2]{CC3}
32
33
34 \section{Test}
35 Question one.
36 \addcompetence{CA1}
37
38 \section{test2}
39 Question two with 2 competences.
40 \addcompetence{CA1}\addcompetence{CA2}
41
42 \subsection{test3}
43 Question three with points different from 1.
44 \addcompetence[3]{CB1}\addcompetence[1]{CC1}
45
46 \subsubsection{test4}
47 Question four in a subsubsection.
48 \addcompetence[3]{CB1}
49
50
51 \section{test5}
52 \subsection{test6}
53 \begin{enumerate}
54 \item Question five in enumerate \addcompetence[1]{CB2}
55 \item Question six \addcompetence[1]{CC2}
56 \begin{enumerate}
57 \item text seven in enumerate in enumerate\addcompetence[3]{CC1}
58 \item text hight \addcompetence[1]{CB2}
59 \end{enumerate}
60 \end{enumerate}
61
62 \section{Test 7}
63 \subsection{test10}
64 \begin{enumerate}
65 \item text nine in enumerate\addcompetence{CB1}
66 \end{enumerate}
67
68
69 \section{Résumé des compétences}
70 \tableaupartie{A}
71 % \tableaupartie{A}
72 \tableaupartie{B}
73 \tableaupartie{C}
74 %\tableaupartie{D}
75
76 \tableaupartie{Global}
77
78
79 \tableauprefix{A,B,C,Global}
80
81 \end{document}