Subversion Repositories wimsdev

Rev

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

Rev 13477 Rev 13489
Line 65... Line 65...
65
:%%%%%%%%%%%%%% Nothing to modify before the statement%%%%%%%%%%%%%%%%
65
:%%%%%%%%%%%%%% Nothing to modify before the statement%%%%%%%%%%%%%%%%
66
maximum 40 cases
66
maximum 40 cases
67
\integer{w=\size[1]+10}
67
\integer{w=\size[1]+10}
68
 
68
 
69
\css{<style type="text/css">
69
\css{<style type="text/css">
70
   .question {background-color: #FFFFCC;margin: 2% 2%;padding: 1%;}
70
   .question {margin: 2% 2%;padding: 1%;}
71
   table.tableau {border:solid 1px;margin-left:auto;margin-right:auto;
-
 
72
    border-collapse:collapse;}
-
 
73
    table.tableau td, th {text-align:center;border:solid 1px;min-width:50px;}
71
   .wimstable td, th {text-align:center;min-width:50px;}
74
   ol li {list-style: upper-alpha; }
-
 
75
    table.tableau th { background-color:#CCCFFF;}
-
 
76
 </style>}
72
</style>}
-
 
73
 
77
\if{\file notsametext}{
74
\if{\file notsametext}{
78
  \text{file=randitem(\file)}
75
  \text{file=randitem(\file)}
79
  \text{attribut=wims(record 0 of \file)}
76
  \text{attribut=wims(record 0 of \file)}
80
  \integer{datacnt=wims(recordcnt \file)}
77
  \integer{datacnt=wims(recordcnt \file)}
81
  \integer{N=min(\N,\datacnt)}
78
  \integer{N=min(\N,\datacnt)}
Line 110... Line 107...
110
}
107
}
111
\matrix{STEP=\STEP}
108
\matrix{STEP=\STEP}
112
\text{STEP1=wims(replace internal ; by , in \STEP)}
109
\text{STEP1=wims(replace internal ; by , in \STEP)}
113
\text{STEP1=wims(nonempty items \STEP1)}
110
\text{STEP1=wims(nonempty items \STEP1)}
114
\steps{\STEP1}
111
\steps{\STEP1}
115
\statement{<div class="question">\instruction
-
 
116
 
112
 
-
 
113
\statement{
-
 
114
  <div class="question">
-
 
115
    <div class="instruction">\instruction</div>
117
<table class="tableau"><tr><th></th>
116
    <table class="wimstable">
-
 
117
      <tr>
-
 
118
        <th></th>
118
\for{k=1 to \attribut_cnt}{<th>\attribut[\k]</th>}
119
        \for{k=1 to \attribut_cnt}{<th>\attribut[\k]</th>}
119
</tr>
120
      </tr>
120
\for{j=1 to \N}{
121
      \for{j=1 to \N}{
-
 
122
        <tr>
121
  <tr><th>\data[\j;1]</th>
123
          <th>\data[\j;1]</th>
122
   \for{k=1 to \attribut_cnt}{
124
          \for{k=1 to \attribut_cnt}{
123
     <td>\embed{\STEP[\j;\k], \size[1] x \size[2]}</td>
125
            <td>\embed{\STEP[\j;\k], \size[1] x \size[2]}</td>
-
 
126
          }
-
 
127
        </tr>
124
    }
128
      }
-
 
129
    </table>
125
  </tr>
130
  </div>
126
}
131
}
127
</table>
-
 
128
 
132
 
129
</div>
-
 
130
}
-
 
131
\answer{}{\Data[1]}{type=clickfill}
133
\answer{}{\Data[1]}{type=clickfill}
132
\answer{}{\Data[2]}{type=clickfill}
134
\answer{}{\Data[2]}{type=clickfill}
133
\answer{}{\Data[3]}{type=clickfill}
135
\answer{}{\Data[3]}{type=clickfill}
134
\answer{}{\Data[4]}{type=clickfill}
136
\answer{}{\Data[4]}{type=clickfill}
135
\answer{}{\Data[5]}{type=clickfill}
137
\answer{}{\Data[5]}{type=clickfill}