Rev 5903 | Rev 15107 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6133 | bpr | 1 | <h3><Using a document block for worksheet presentation</h3> |
152 | bpr | 2 | |
20 | reyssat | 3 | You may put the address of a document block |
5903 | bpr | 4 | (such as <span class="tt wims_fname">c1/main</span>) to be the presentation page of the work sheet. |
20 | reyssat | 5 | The document itself need not be readable by participants. |
6 | <p> |
||
7 | Leave this field blank if you want to use the standard presentation page. |
||
8 | <p> |
||
9 | Links to individual exercises should be defined using the command |
||
5903 | bpr | 10 | <span class="tt wims_code_variable">\exercise</span>. |
20 | reyssat | 11 | You can use the following pre-defined variables:<ul> |
5903 | bpr | 12 | <li><span class="tt wims_code_variable">\scorerequire</span> Required points of each exercise |
13 | </li><li><span class="tt wims_code_variable">\scoregot</span> Participant's point achievements on each exercise |
||
14 | </li><li><span class="tt wims_code_variable">\scoremean</span> Participant's average score on each exercise |
||
15 | </li><li><span class="tt wims_code_variable">\expiration</span> Expiration date of the sheet, yyyymmdd |
||
16 | </li><li><span class="tt wims_code_variable">\today</span> Date of today, yyyymmdd |
||
3925 | bpr | 17 | </li> |
20 | reyssat | 18 | </ul> |
19 | All the score parameters are lists of numbers, each member of the list |
||
20 | corresponding to the number for an exercise of the sheet. |
||
2886 | bpr | 21 | |
22 | |||
23 | <p> |
||
3925 | bpr | 24 | <b>For example</b>, if you are creating worksheet number 5, write the following instructions |
25 | in the </tt>c1/main</tt> block of the document: |
||
2886 | bpr | 26 | <pre> |
3925 | bpr | 27 | \exercise{5/1} : Score required: \scorerequire[1] |
28 | Score obtained: \scoregot[1] |
||
2886 | bpr | 29 | |
3925 | bpr | 30 | \exercise{5/2} : Score required: \scorerequire[2] |
31 | Score obtained: \scoregot[2] |
||
2886 | bpr | 32 | |
3925 | bpr | 33 | \exercise{5/3}{Un autre titre}: Score required \scorerequire[3] |
34 | Score obtained: \scoregot[3] |
||
2886 | bpr | 35 | </pre> |
36 | |||
37 |