4
$\begingroup$

I have long expressions in my Mathematica file, which gets shortened with <<...>> structures. How can I tell mathematica to not do this and show me the complete expression?

I've read the Short and Shallow Output section of the documentation, but I don't see anything about preventing the shortening behaviour (my expressions don't get put into a box with a Set Size Limit button). I have tried to use Short[..., <Large Number>] but this doesn't make a difference, so I'm not sure what else to do.

This is an image of the sort of expression I'm working with (but the expression continues). It's basically a differential form (technically a 3-form) with algebraic coefficients: enter image description here

Edit: I find that changing the size of $OutputSizeLimit does not improve the situation. In fact, on my system at least, for the variables I am working with, I see no change when I make $OutputSizeLimit much larger (i.e., 1000 times larger). Surely there must be a way to tell Mathematica to give the raw output in full, or something similar?

$\endgroup$
3

1 Answer 1

5
$\begingroup$

You can set the output size limit using the Preferences dialog which can be accessed from the Edit menu:

Mathematica graphics

Mathematica graphics

Alternatively, you can find the current output size limit programatically evaluating

$OutputSizeLimit

or

Options[EvaluationNotebook[], OutputSizeLimit]

and set the output size limit to a number of your choice, say sizelimit, using

SetOptions[EvaluationNotebook[], OutputSizeLimit -> sizelimit]
$\endgroup$
1
  • $\begingroup$ I saw that menu option before and changed it from the default value (1048576) by a factor of 100 and then 1000 but that makes no difference. I'll attach an image of the sort of expression I'm trying to simply (but telling you how to generate it yourself would involve running a lot of mathematica code). $\endgroup$
    – Zorawar
    Oct 11, 2016 at 1:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.