When I run it, I do:
ipython notebook --profile=sympy
which loads sympy as if you ran isympy and gets the latex printing working.
The same --profile=sympy works for the qtconsole.

Sean

On Wed, Dec 28, 2011 at 11:50, Matthew <mrock...@gmail.com> wrote:

> What are precise steps to get pretty or latex printing? I've tried the
> following with no success
>
> I load up ipython using
> $ ipython notebook
>
> I then start a new notebook and enter
> from sympy import *
> %load_ext sympy
> x = Symbol('x')
> Integral(x**2, (x, 0, 1))
>
> The output I get is
> Integral(x**2, (x, 0, 1))
>
> If I use
> pprint(Integral(x**2, (x, 0, 1)))
> I get an ascii integral
>  1
>  /
>  |
>  |   2
>  |  x  dx
>  |
> /
> 0
>
>
>
>
>
>
> On Dec 28, 7:30 am, Mateusz Paprocki <matt...@gmail.com> wrote:
> > Hi,
> >
> > On 28 December 2011 16:25, Matthew Rocklin <mrock...@gmail.com> wrote:
> >
> > > I just took a look at the ipython 0.12 notebook interface and it's very
> > > neat.
> > > Has anyone played around with making this work well with sympy printing
> > > (either latex or unicode)?
> >
> > There is an extension for sympy which can be loaded with:
> >
> > %load_ext sympy
> >
> > This will setup latex pretty printing.
> >
> >
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "sympy" group.
> > > To post to this group, send email to sympy@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > sympy+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/sympy?hl=en.
> >
> > Mateusz
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to sympy@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to