Subversion Repositories wimsdev

Rev

Rev 6133 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. <h3>Using a document block for worksheet presentation</h3>
  2.  
  3. You may put the address of a document block
  4. (such as <span class="tt wims_fname">c1/main</span>) to be the presentation page of the work sheet.
  5. The document itself need not be readable by participants.
  6. <p>Leave this field blank if you want to use the standard presentation page.</p>
  7. <p>
  8. Links to individual exercises should be defined using the command
  9.     <span class="tt wims_code_variable">\exercise</span>.</p>
  10. You can use the following pre-defined variables:
  11. <ul>
  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</li>
  17. </ul>
  18. <p>All the score parameters are lists of numbers, each member of the list
  19. corresponding to the number for an exercise of the sheet.</p>
  20.  
  21. <b>For example</b>, if you are creating worksheet number 5, write the following instructions
  22. in the </tt>c1/main</tt> block of the document:
  23. <pre>
  24. \exercise{5/1} : Score required: \scorerequire[1]
  25.                  Score obtained: \scoregot[1]
  26.  
  27. \exercise{5/2} : Score required: \scorerequire[2]
  28.                  Score obtained: \scoregot[2]
  29.  
  30. \exercise{5/3}{Un autre titre}: Score required \scorerequire[3]
  31.                 Score obtained: \scoregot[3]
  32. </pre>
  33.