Subversion Repositories wimsdev

Rev

Rev 5903 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
6133 bpr 2
<h3>The formats of the statement</h3>
23 reyssat 3
 
4
You can write the statement of the exercise under one of two formats: html or
5
TeX. Thanks to the recent development of the capacities of the html format,
6
TeX format is no longer very useful, and should be avoided.
7
<p>
8
If your exercise does not contain complicated mathematical formulae
9
(for example matrices), it is highly recommended to use the html format.
10
The execution will be faster, and there will be less problems of
11
compatibility, particularly in the future.
12
<p>
13
You can use the html format, if the statement of the exercise only contains
14
simple text. But you should take care to replace all appearences of the sign
5903 bpr 15
<span class="tt wims_code_words">&lt;</span> by the string <span class="tt wims_code_words">&#38;lt;</span>, to avoid it to be interpreted
23 reyssat 16
as the opening of an html tag. Otherwise, html tags can be used in the text,
5903 bpr 17
particularly those for the subscripts (<span class="tt wims_code_words">&lt;sub&gt;</span> and <span class="tt wims_code_words">&lt;/sub&gt;</span>)
23 reyssat 18
and superscripts
5903 bpr 19
(<span class="tt wims_code_words">&lt;sup&gt;</span> and <span class="tt wims_code_words">&lt;/sup&gt;</span>).
23 reyssat 20
<p>In particular, http links can be inserted into the statement. For
21
example, one can include figures in the exercise, without having to submit
22
these figures to the server. (You have only to declare the source of the
23
figure by a complete web address.)
24
<p>
25
You can also include mathematical symbols and formulas
26
!href cmd=help&special_parm=math very easily
4427 bpr 27
 into your exercise even if it is in html format. If this still does not
23 reyssat 28
satisfy you, the TeX format is available.
29
To use this format, you have to know the syntax of TeX.
30
<p>
31
Under html format, you may also embed
32
!href cmd=help&special_parm=embedans answers
33
 and
34
!href cmd=help&special_parm=draw dynamic pictures
35
 in your statement.
36
<p>
37
Remark also that the other fields of the exercise (prompts of replies,
38
hint and solution) only accept html format. Mathematical symbols and
39
formulas can be embedded into hint and solution as in the statement under
40
html format.
41