Is there a way to hide the '//form' part of Output cell labels but keep the Input cell labels the same?

For example, I'd like to keep "In[2]:=" but get rid of the "TreeForm=" here:

enter image description here

  • 1
    $\begingroup$ Using $POST, you could wrap all output in an extra Row: $Post = Row[{#}] &; $\endgroup$ – Jens Apr 14 '17 at 4:30
  • 2
    $\begingroup$ I like $PrePrint=SequenceForm better, so that Out[n] doesn't include the wrapper. $\endgroup$ – Carl Woll Apr 14 '17 at 5:06
  • $\begingroup$ You could remove these from $OutputForms (after Unprotecting it), but that would also have the unfortunate side effect of not stripping these wrappers from the value assigned to Out[...]. I do not know if there will be any more serious consequences. I guess there is a reason why it is Protected. $\endgroup$ – Szabolcs Apr 14 '17 at 12:45
  • $\begingroup$ The problem is that the new statement Out[n]:= will not be true. $\endgroup$ – Kuba Apr 19 '17 at 11:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.