On 6/2/12 9:28 AM, ObsessiveMathsFreak wrote:
I have used the following sage code to create a nice table in the notebook
---------------------
var('n k')
N=5
K=8
H=[["$k$"]+["$L^{k}_{"+latex(n)+"}(x)$" for n in [0..(N)]]]
Pknz_draw= [ [k]+[ (0*x+ gen_laguerre(n,k,x)).expand() for n in [0..N]]
for k in [0..K] ]
html.table(H+Pknz_draw,header=True)
Note that you can now give the header argument the actual header list:
H=["$k$"]+["$L^{k}_{"+latex(n)+"}(x)$" for n in [0..(N)]]
html.table(Pknz_draw, header=H)
How can I save this table and use it in a seperate html file?
You could "edit" the worksheet and copy the html from the output area of
the cell.
Thanks,
Jason
--
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-support
URL: http://www.sagemath.org