Subversion Repositories wimsdev

Rev

Rev 13704 | Rev 13715 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13704 Rev 13714
Line 20... Line 20...
20
:\title{Typed property}
20
:\title{Typed property}
21
:\author{XIAO, Gang}
21
:\author{XIAO, Gang}
22
:\email{qualite@wimsedu.info}
22
:\email{qualite@wimsedu.info}
23
:\credits{}
23
:\credits{}
24
 
24
 
25
:Size of the field to type.
25
:Width of the field to type
26
Sufficient space must be provided for the longest property.
26
Sufficient space must be provided for the longest property.
27
\integer{size=20}
27
\integer{size=20}
28
 
28
 
29
:Main data.
29
:Main data.
30
<p>Define an object by line, first the name of the object to be displayed, then its property as it should be typed, separated by a comma.
30
<p>Define an object by line, first the name of the object to be displayed, then its property as it should be typed, separated by a comma.
Line 42... Line 42...
42
mouse, mice
42
mouse, mice
43
tooth, teeth
43
tooth, teeth
44
foot, feet
44
foot, feet
45
}
45
}
46
 
46
 
47
:Type of response analysis.
47
:Type of response analysis
48
The <span class="tt">case</ span> and <span class="tt">nocase</ span> types are mostly suitable for language applications.
48
The <span class="tt">case</ span> and <span class="tt">nocase</ span> types are mostly suitable for language applications.
49
In other cases, prefer <span class="tt"> atext </span>.
49
In other cases, prefer <span class="tt"> atext </span>.
50
\text{atype=item(1,case (no error tolerance),
50
\text{atype=item(1,case (no error tolerance),
51
	nocase (tolerate lowercase / uppercase),
51
  nocase (tolerate lowercase / uppercase),
52
	atext (ignore plural / singular and articles))}
52
  atext (ignore plural / singular and articles))}
53
 
53
 
54
:Embraced random items
54
:Embraced random items
55
$embraced_randitem
55
$embraced_randitem
56
\text{accolade=item(1,1 yes,
56
\text{accolade=item(1,1 yes,
57
2 no)}
57
2 no)}
Line 76... Line 76...
76
\text{explain=\accolade=1 ? wims(embraced randitem \explain)}
76
\text{explain=\accolade=1 ? wims(embraced randitem \explain)}
77
 
77
 
78
::One does not need to modify the statement directly in general.
78
::One does not need to modify the statement directly in general.
79
 
79
 
80
\statement{
80
\statement{
81
	<label for="reply1" class="oef_explain">\explain</label>
81
  <label for="reply1" class="oef_explain">\explain</label>
82
	<span class="oef_input">
82
  <span class="oef_input">
83
	\embed{r1,\size
83
  \embed{r1,\size
84
	autocomplete="off"}.
84
  autocomplete="off"}.
85
	</span>
85
  </span>
86
}
86
}
87
 
87
 
88
:%%%%%%%%%%%%% Nothing to modify after. %%%%%%%%%%%%%%%%%5
88
:%%%%%%%%%%%%% Nothing to modify after. %%%%%%%%%%%%%%%%%5
89
 
89
 
90
\answer{The answer}{\prop}{type=\atype}
90
\answer{The answer}{\prop}{type=\atype}