On Saturday, 2 June 2012 16:28:54 UTC+2, 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)
> --------------------
>
>
> How can I save this table and use it in a seperate html file?
>
this is certainly doable; however, it won't render correctly as a
stand-alone
html file, as you will have to add an invocation of mathjax or another
latex-rendering library in the header of the html file.
>
> If not, in what other way could the table be exported?
>
> exporting a LaTeX table might be easier...
--
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