Generating PDF or Printing (with real printer)

69 views
Skip to first unread message

Johannes Franz

unread,
Oct 3, 2016, 8:19:04 AM10/3/16
to sympy
Hello there,

not sure if this is the right place to ask this question.
My setup is Ipython/Jupyter with sympy. Maybe the question is more Jupyter specific than sympy.

I've got the following problem. Whenever I want to print to real paper or create a pdf via the latex export method, real long formula outputs are capped off. 
Meaning, I can only see part of the output and the rest is hidden in a scrollable area, which is of course of no use if you print it out.
The funny thing is as long as I do not print the whole formula is shown correctly and I do not have to scroll?

Any suggestions?
Best regards,
Johannes.

Aaron Meurer

unread,
Oct 3, 2016, 2:27:28 PM10/3/16
to sy...@googlegroups.com
I would ask the Jupyter guys about this, or on stack overflow. I think
in the worst case you may need to export to latex and edit the file
manually to wrap the expressions.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/a085db2b-5bd6-4f55-b3cd-4f625afaa654%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Ondřej Čertík

unread,
Oct 4, 2016, 12:46:30 PM10/4/16
to sympy
On Mon, Oct 3, 2016 at 12:26 PM, Aaron Meurer <asme...@gmail.com> wrote:
> I would ask the Jupyter guys about this, or on stack overflow. I think
> in the worst case you may need to export to latex and edit the file
> manually to wrap the expressions.

Johannes, if you figure it out, please let us know. I would be
interested in knowing the solution.

Ondrej

Kasper Peeters

unread,
Oct 5, 2016, 6:50:27 AM10/5/16
to sympy
The standard way to make LaTeX automatically break displayed equations is to use the 'breqn' package. This requires changing your 'equation' environment to a 'dmath' environment as well, together with a number of smaller things (see the manual for details), which Jupyter may be able to do for you automatically (am not a Jupyter user myself).

Cheers,
Kasper
Reply all
Reply to author
Forward
0 new messages