[IPython-User] py2tex magic
Matthias BUSSONNIER
bussonniermatthias@gmail....
Mon Nov 12 13:22:49 CST 2012
Le 12 nov. 2012 à 20:14, klo uo a écrit :
> Thanks Johan, works without error here.
> But, now I just don't get what's the meaning of the output:
>
> ========================================
> In [7]: %%tex a=1.0
> ...: b = -1.0
> ...: c = -1.0
> ...: x_1=(-b+sqrt(b**2-4*a*c))/(2*a)
> ...: x_2=(-b-sqrt(b**2-4*a*c))/(2*a)
> ...: varphi = x_1
> ...:
> a=1.0
> b = -1.0
> c = -1.0
> x_1=(-b+sqrt(b**2-4*a*c))/(2*a) = 1.618
> x_2=(-b-sqrt(b**2-4*a*c))/(2*a) = -0.618
> varphi = x_1 = 1.618
> ========================================
>
> I expected TeX formatted output.
> What is this output for?
I guess the output is html, so the qtconsole does not know how to render it and fallback to plain text.
Notebook should be able to render until we have a webkit console.
--
Matthias
More information about the IPython-User
mailing list