Subversion Repositories wimsdev

Rev

Rev 2886 | Rev 4091 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2886 Rev 3925
Line 1... Line -...
1
 
-
 
2
 
-
 
3
<h3><center>Using a document block for worksheet presentation</center></H3>
1
<h3><center>Using a document block for worksheet presentation</center></h3>
4
 
2
 
5
You may put the address of a document block
3
You may put the address of a document block
6
(such as <tt>c1/main</tt>) to be the presentation page of the work sheet.
4
(such as <tt>c1/main</tt>) to be the presentation page of the work sheet.
7
The document itself need not be readable by participants.
5
The document itself need not be readable by participants.
8
<p>
6
<p>
Line 10... Line 8...
10
<p>
8
<p>
11
Links to individual exercises should be defined using the command
9
Links to individual exercises should be defined using the command
12
<tt>\exercise</tt>.
10
<tt>\exercise</tt>.
13
You can use the following pre-defined variables:<ul>
11
You can use the following pre-defined variables:<ul>
14
 <li><tt>\scorerequire</tt> Required points of each exercise
12
 <li><tt>\scorerequire</tt> Required points of each exercise
15
 <li><tt>\scoregot</tt> Participant's point achievements on each exercise
13
 </li><li><tt>\scoregot</tt> Participant's point achievements on each exercise
16
 <li><tt>\scoremean</tt> Participant's average score on each exercise
14
 </li><li><tt>\scoremean</tt> Participant's average score on each exercise
17
 <li><tt>\expiration</tt> Expiration date of the sheet, yyyymmdd
15
 </li><li><tt>\expiration</tt> Expiration date of the sheet, yyyymmdd
18
 <li><tt>\today</tt> Date of today, yyyymmdd
16
 </li><li><tt>\today</tt> Date of today, yyyymmdd
-
 
17
 </li>
19
</ul>
18
</ul>
20
All the score parameters are lists of numbers, each member of the list
19
All the score parameters are lists of numbers, each member of the list
21
corresponding to the number for an exercise of the sheet.
20
corresponding to the number for an exercise of the sheet.
22
 
21
 
23
 
22
 
24
<p>
23
<p>
25
<b>Un exemple</b> : vous êtes en train de créer la feuille d'exercices numéro 5.
24
<b>For example</b>, if you are creating worksheet number 5, write the following instructions
26
Dans le bloc du document </tt>c1/main</tt>, écrivez par exemple
25
in the </tt>c1/main</tt> block of the document:
27
<pre>
26
<pre>
28
\exercise{5/1} : Points à obtenir : \scorerequire[1]
27
\exercise{5/1} : Score required: \scorerequire[1]
29
                 Points déjà obtenus : \scoregot[1]
28
                 Score obtained: \scoregot[1]
30
 
29
 
31
\exercise{5/2} : Points à obtenir  : \scorerequire[2]
30
\exercise{5/2} : Score required: \scorerequire[2]
32
                 Points déjà obtenus : \scoregot[2]
31
                 Score obtained: \scoregot[2]
33
 
32
 
34
\exercise{5/3}{Un autre titre} : Points à obtenir \scorerequire[3] ;
33
\exercise{5/3}{Un autre titre}: Score required \scorerequire[3]
35
                Points déjà obtenus \scoregot[3]
34
                Score obtained: \scoregot[3]
36
</pre>
35
</pre>
37
 
36
 
38
 
37