Subversion Repositories wimsdev

Rev

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

  1. <center><h3>Embed answers into the statements</h3></center>
  2.  
  3. It is possible to embed (include) answers into the statement of your
  4. exercises under html format. The embedded replies and choices should be
  5. defined usually.
  6. <p>
  7.  
  8. Examples:<ul>
  9. <li><tt>\embed{reply 1}</tt> insert the first freestyle reply into the text.
  10. <li><tt>\embed{reply 2,10}</tt> insert the second freestyle reply into the text,
  11. with an input field of size 10.
  12. <li><tt>\embed{choice 1}</tt> insert the first multiple choice into the text.
  13. </ul>
  14.  
  15. Special case. If the type of <tt>reply 1</tt> is among <tt>checkbox</tt>,
  16. <tt>click</tt>, <tt>radio</tt>, <tt>\embed{reply 1,2}</tt>
  17. inserts only one of the choices (here the number 2 in this case), either
  18. clickable (<tt>click</tt>) or with a button for marking it. This allows
  19. insertions of the choices in versatile text structures.
  20.