There are probably some problems like this in the OPL, but something broke this macro when using old problem methods.
This fails to render correctly.
DOCUMENT();
loadMacros(qw(
PGstandard.pl
PGML.pl
PGmatrixmacros.pl
));
BEGIN_TEXT
\{ display_matrix([
[ans_rule(5),ans_rule(5),ans_rule(5),ans_rule(5)],
[ans_rule(5),ans_rule(5),ans_rule(5),ans_rule(5)],
[ans_rule(5),ans_rule(5),ans_rule(5),ans_rule(5)]
],
'align'=>"ccc|c") \}
END_TEXT
ENDDOCUMENT();
For some reason mathjax is creating a very large vertical bar and the matrix doesn't really render.
This renders fine:
DOCUMENT();
loadMacros(qw(
PGstandard.pl
PGML.pl
PGmatrixmacros.pl
));
BEGIN_PGML
[@ display_matrix([
[ans_rule(5),ans_rule(5),ans_rule(5),ans_rule(5)],
[ans_rule(5),ans_rule(5),ans_rule(5),ans_rule(5)],
[ans_rule(5),ans_rule(5),ans_rule(5),ans_rule(5)]
],
'align'=>"ccc|c") @]*
END_PGML
ENDDOCUMENT();
We should probably fix this method as it is used in the OPL.
There are probably some problems like this in the OPL, but something broke this macro when using old problem methods.
This fails to render correctly.
For some reason mathjax is creating a very large vertical bar and the matrix doesn't really render.
This renders fine:
We should probably fix this method as it is used in the OPL.