[IPython-User] py2tex magic

klo uo klonuo@gmail....
Mon Nov 12 13:14:26 CST 2012


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?


On Mon, Nov 12, 2012 at 10:47 AM, Johan Beke <johanbeke@hotmail.com> wrote:

>  I fixed the bug and added documentation strings:
> https://gist.github.com/4032651
> I also contacted the original author of the code snippet (at stackoverflow
> which I used and modified) to see what is possible for the license.
>
> Johan
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121112/b8c504a5/attachment.html 


More information about the IPython-User mailing list