WeBWorK Problems

Array construction problems, no idea how to fix it

Array construction problems, no idea how to fix it

by Nicole Wilson -
Number of replies: 1

Can a table made this way contain answer rules?

In reply to Nicole Wilson

Array construction problems, no idea how to fix it

by Glenn Rice -

A table made the way Alex suggests can contain answer rules.  Note that you have to use the ans_rule and ANS methods to accomplish this though, instead of the PGML way.  In the table code where you want to add an answer call the ans_rule method of the MathObject answer, and then call ANS with the cmp method of each of those answers after the table code is generated.