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