Rev 3469 | Rev 4091 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3469 | Rev 3797 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | < |
1 | <h4>Embed answers into the statements</h4> |
2 | 2 | ||
3 | :signification |
3 | :signification |
4 | It is possible to embed (include) answers into the statement of your |
4 | It is possible to embed (include) answers into the statement of your |
5 | exercises under html format. The embedded replies and choices should be |
5 | exercises under html format. The embedded replies and choices should be |
6 | defined usually. |
6 | defined usually. |
7 | 7 | ||
8 | 8 | ||
9 | :example |
9 | :example |
10 | <span class="wims_help_example">Examples</span> |
10 | <span class="wims_help_example">Examples</span> |
11 | <ul> |
11 | <ul> |
12 | <li><tt>\embed{reply 1}</tt> insert the first freestyle reply into the text. |
12 | <li><tt>\embed{reply 1}</tt> insert the first freestyle reply into the text.</li> |
13 | <li><tt>\embed{reply 2,10}</tt> insert the second freestyle reply into the text, |
13 | <li><tt>\embed{reply 2,10}</tt> insert the second freestyle reply into the text, |
14 | with an input field of size 10. |
14 | with an input field of size 10.</li> |
15 | <li><tt>\embed{choice 1}</tt> insert the first multiple choice into the text. |
15 | <li><tt>\embed{choice 1}</tt> insert the first multiple choice into the text.</li> |
16 | </ul> |
16 | </ul> |
17 | 17 | ||
18 | Special case. If the type of <tt>reply 1</tt> is among <tt>checkbox</tt>, |
18 | Special case. If the type of <tt>reply 1</tt> is among <tt>checkbox</tt>, |
19 | <tt>click</tt>, <tt>radio</tt>, <tt>\embed{reply 1,2}</tt> |
19 | <tt>click</tt>, <tt>radio</tt>, <tt>\embed{reply 1,2}</tt> |
20 | inserts only one of the choices (here the number 2 in this case), either |
20 | inserts only one of the choices (here the number 2 in this case), either |