Compare two revisions of: CindyJS

... ... @@ -217,8 +217,8 @@ Take into account that the assignments within that environment will be executed
217 217
218 218 For passing a value as answer to the problem, one uses the command `\answer{expression}{questionnr,answernr}` (see example below). `expression` has to be an expression that can be evaluated by Cindy's evalcs-function.
219 219
220 -In the problem, the answer-type of the specific answer has to be set to _graphics.number_ or _graphics.function_.
221 -The correction of answers of type _graphics.number_ is done in the same way as for _input.number_, and the correction of answers of type _graphics.function_ is done in the same way as for _input.function_. The only difference is that the student's solution is not given by input, but is passed to the problem from the Cindy component.
220 +In the problem, the answer-type of the specific answer has to be set to _graphics.number_, _graphics.function_ or _graphics.matrix_.
221 +The correction of answers of type _graphics.number_ is done in the same way as for _input.number_, the correction of answers of type _graphics.function_ is done in the same way as for _input.function_ and the correction of answers of type _graphics.matrix_ is done in the same way as for _input.matrix_. The only difference is that the student's solution is not given by input, but is passed to the problem from the Cindy component.
222 222
223 223 As in the `\question`-command, the value of `questionnr` in `\answer{expression}{questionnr,answernr}` is the number of the question in your tex-document, regardless whether you are using randomquestionpools or not.
224 224
225 225