Hi,
This is probably redundant at this point, but here is my summary of WeBWorK's behavior in displaying matrices.
DOCUMENT() ;
loadMacros( PG.pl, PGbasicmacros.pl, PGchoicemacros.pl, PGanswermacros.pl, PGauxiliaryFunctions.pl, PGdiffeqmacros.pl, PGmatrixmacros.pl ) ; ############
TEXT(beginproblem()); @a = (0,1,2,3,4,5,6,7,8);
@b= (1,2,3,4,5,6,7,8, 9);
BEGIN_TEXT
Displays in jsMath but not in images mode (native TeX) $PAR ( left(matrix{1&2&3&4&5&6&7\ $a[0] & $a[1] & $a[2] & $a[3] & $a[4] & $a[5] & $a[6]cr}right) ) $PAR Displays in images mode but not in jsMath (LateX commands) $PAR ( left(begin{matrix}1&2&3&4&5&6&7\ $a[0] & $a[1] & $a[2] & $a[3] & $a[4] & $a[5] & $a[6]crend{matrix}right) ) $PAR Displays in both modes (see http://webhost.math.rochester.edu/webworkdocs/docs/pglanguage/pod/pgmatrixmacros#display_matrix) $PAR { display_matrix([~~@a,~~@b]) }
END_TEXT
ENDDOCUMENT();
Display in jsMath mode:
Display in image mode:
<| Post or View Comments |>
|