I sort of solve my own problem. If I change the line feed '\\' to the tab &:
\left(\begin{array}{rrrrr} 1 & \a & \a^{2} & a^{3} & a^{4} & 0 & 1 & 2 a & 3 a^{2} & 4 a^{3} & 0 & 0 & 1 & 3 a & 6 a^{2} & 0 & 0 & 0 & 1 & 4 a & 0 & 0 & 0 & 0 & 1 \end{array}\right) Then both %slide and %latex display the correct matrix. My matrix is [ 1 a a^2 a^3 a^4] [ 0 1 2*a 3*a^2 4*a^3] [ 0 0 1 3*a 6*a^2] [ 0 0 0 1 4*a] [ 0 0 0 0 1] If the above matrix is C, the output from latex(C) is the form that %slide does not type set correctly. But %slide and %hide are great features!! They make sage better than PowerPoint, from my perspective. Elizabeth On Aug 21, 5:34 pm, Elizabeth Yip <el...@comcast.net> wrote: > Hi > > I am using the sage 4.1 notebook. > When I enter the following into a notebook cell, I get the correct > display of the matrix: > > %latex > \left(\begin{array}{rrrrr} > 1 & a & a^{2} & a^{3} & a^{4} \\ > 0 & 1 & 2 a & 3 a^{2} & 4 a^{3} \\ > 0 & 0 & 1 & 3 a & 6 a^{2} \\ > 0 & 0 & 0 & 1 & 4 a \\ > 0 & 0 & 0 & 0 & 1 > \end{array}\right) > > When I change %latex to %slide, I get the wrong matrix. > > %slide > \left(\begin{array}{rrrrr} > 1 & a & a^{2} & a^{3} & a^{4} \\ > 0 & 1 & 2 a & 3 a^{2} & 4 a^{3} \\ > 0 & 0 & 1 & 3 a & 6 a^{2} \\ > 0 & 0 & 0 & 1 & 4 a \\ > 0 & 0 & 0 & 0 & 1 > \end{array}\right) > > Help! > > Elizabeth --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---