Is there a way to get tex formulas as cells in the table? Victor
On Jul 21, 4:02 am, Jason Grout <jason-s...@creativetrax.com> wrote: > VictorMiller wrote: > > I have a program which calculates a table of values, and I'd like to > > display it nicely formatted. I've written a function to produce latex > > for it (using tabular), but I can't figure out how to get SAGE to > > display this in a notebook. I've tried the html command but that > > doesn't work. Here's a small example. I can put the following in a > > cell: > > > %latex > > \begin{tabular}{c|c} \hline A & B \\ \hline \hline 1 & 2 \\ \hline \end > > {tabular} > > > and it renders as I expect. however, if I put the above latex in a > > string and try html or view it just spits out the latex (minus the > > first two characters!). > > Did you try the html.table command? > > Seehttp://sagenb.org/home/pub/669/ > > or do > > html.table? > > in the notebook. > > Thanks, > > Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---