#4575: [with patch, positive review] Option to show nested lists as html tables
-------------------------+--------------------------------------------------
 Reporter:  whuss        |        Owner:  whuss     
     Type:  enhancement  |       Status:  closed    
 Priority:  major        |    Milestone:  sage-4.0.1
Component:  notebook     |   Resolution:  fixed     
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by whuss):

 Replying to [comment:22 mvngu]:
 > Can someone upload a screenshot that shows an example of a nicely
 formatted HTML table. Code sample would be good as well, if relevant. I
 plan to showcase this ticket in the release tour, and having a visual is
 worth a thousand words.

 The first picture is produced by:

 {{{
 sage: functions = [sin(x), cos(x), tan(x), acos(x)]
 sage: t = [[f, taylor(f, x, 0, 10)] for f in functions]
 sage: html.table([["Function", "Series"]] + t, header = True)
 }}}

 It is also possible to put graphic objects into the table:

 {{{
 sage: f = 1/x*sin(x)
 sage: t = [["Function", "Plot"],[f, plot(f, x, -4*pi, 4*pi)]]
 sage: html.table(t, header = True)
 }}}

 I hope this helps.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4575#comment:23>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to