Rev 409 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
152 | bpr | 1 | |
404 | bpr | 2 | |
2886 | bpr | 3 | <h3><center>Using a document block for worksheet presentation</center></H3> |
20 | reyssat | 4 | |
5 | 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. |
||
7 | The document itself need not be readable by participants. |
||
8 | <p> |
||
9 | Leave this field blank if you want to use the standard presentation page. |
||
10 | <p> |
||
11 | Links to individual exercises should be defined using the command |
||
12 | <tt>\exercise</tt>. |
||
13 | You can use the following pre-defined variables:<ul> |
||
14 | <li><tt>\scorerequire</tt> Required points of each exercise |
||
15 | <li><tt>\scoregot</tt> Participant's point achievements on each exercise |
||
16 | <li><tt>\scoremean</tt> Participant's average score on each exercise |
||
17 | <li><tt>\expiration</tt> Expiration date of the sheet, yyyymmdd |
||
18 | <li><tt>\today</tt> Date of today, yyyymmdd |
||
19 | </ul> |
||
20 | All the score parameters are lists of numbers, each member of the list |
||
21 | corresponding to the number for an exercise of the sheet. |
||
2886 | bpr | 22 | |
23 | |||
24 | <p> |
||
25 | <b>Un exemple</b> : vous êtes en train de créer la feuille d'exercices numéro 5. |
||
26 | Dans le bloc du document </tt>c1/main</tt>, écrivez par exemple |
||
27 | <pre> |
||
28 | \exercise{5/1} : Points à obtenir : \scorerequire[1] |
||
29 | Points déjà obtenus : \scoregot[1] |
||
30 | |||
31 | \exercise{5/2} : Points à obtenir : \scorerequire[2] |
||
32 | Points déjà obtenus : \scoregot[2] |
||
33 | |||
34 | \exercise{5/3}{Un autre titre} : Points à obtenir \scorerequire[3] ; |
||
35 | Points déjà obtenus \scoregot[3] |
||
36 | </pre> |
||
37 | |||
38 |