Rev 13715 | Rev 13741 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13715 | Rev 13725 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | $embraced_randitem |
59 | $embraced_randitem |
60 | \text{accolade=item(1,1 yes, |
60 | \text{accolade=item(1,1 yes, |
61 | 2 no)} |
61 | 2 no)} |
62 | 62 | ||
63 | :%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%% |
63 | :%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%% |
64 | \css{<style> |
- | |
65 | .question {background-color: #FFC;margin: 2% 2%;padding: 1%;} |
- | |
66 | .reponse {background-color: #FC9;color: black;margin: 2% 2%;padding: 0;} |
- | |
67 | ol li {list-style: upper-alpha;} |
- | |
68 | </style>} |
64 | |
69 |
|
65 | ##if a file name exist, use the file, otherwise use data |
70 | \if{\file notsametext}{ |
66 | \if{\file notsametext}{ |
71 | \text{data=wims(randrecord \file)} |
67 | \text{data=wims(randrecord \file)} |
72 | \text{Nature=wims(record 0 of \file)} |
68 | \text{Nature=wims(record 0 of \file)} |
73 | \text{nom_nature=row(2,\Nature)} |
69 | \text{nom_nature=row(2,\Nature)} |
74 | \text{Nature=row(1,\Nature)} |
70 | \text{Nature=row(1,\Nature)} |
Line 114... | Line 110... | ||
114 | } |
110 | } |
115 | \integer{question_cnt=items(\question)} |
111 | \integer{question_cnt=items(\question)} |
116 | \steps{\Step} |
112 | \steps{\Step} |
117 | 113 | ||
118 | \statement{\instruction |
114 | \statement{\instruction |
119 | <div class=" |
115 | <div class="oef_question">\phrase</div> |
120 | <table class="wimsnoborder"> |
116 | <table class="wimsnoborder"> |
121 | \for{ s = 1 to \question_cnt}{ |
117 | \for{ s = 1 to \question_cnt}{ |
122 | <tr><th>\nom_question[\s]</th><td>\embed{\Step[\s],80 x 30 x \cnt}</td></tr> |
118 | <tr><th>\nom_question[\s]</th><td>\embed{\Step[\s],80 x 30 x \cnt}</td></tr> |
123 | } |
119 | } |
124 | </table> |
120 | </table> |
125 | } |
121 | } |
126 | \answer{\nom_question[1]}{\tableau[1;]}{type=dragfill}{option=noorder} |
122 | \answer{\nom_question[1]}{\tableau[1;]}{type=dragfill}{option=noorder} |
127 | \answer{\nom_question[2]}{\tableau[2;]}{type=dragfill}{option=noorder} |
123 | \answer{\nom_question[2]}{\tableau[2;]}{type=dragfill}{option=noorder} |
128 | \answer{\nom_question[3]}{\tableau[3;]}{type=dragfill}{option=noorder} |
124 | \answer{\nom_question[3]}{\tableau[3;]}{type=dragfill}{option=noorder} |
129 | \answer{\nom_question[4]}{\tableau[4;]}{type=dragfill}{option=noorder} |
125 | \answer{\nom_question[4]}{\tableau[4;]}{type=dragfill}{option=noorder} |