2
$\begingroup$

How do I set all output to be printed/shown in FullForm. Setting the FormatType of the stream as in e.g. https://mathematica.stackexchange.com/a/164360/45020 does not work because FullForm does not seem to be a valid FormatType ("FormatType::ftype: Value of option FormatType -> FullForm is not valid.").

$\endgroup$
2
  • $\begingroup$ try $Post = FullForm? $\endgroup$
    – kglr
    May 23, 2023 at 14:17
  • $\begingroup$ consider also $PrePrint. For example, keep = {Graphics, Graphics3D, MeshRegion, BoundaryMeshRegion, Image, Image3D}; $PrePrint = If[MemberQ[keep, Head@#], #, FullForm@#] & $\endgroup$
    – kglr
    May 23, 2023 at 14:22

1 Answer 1

5
$\begingroup$
$Post = FullForm

Example

2 + 2 Sin[x + 7]

Plus[2,Times[2,Sin[Plus[7,x]]]]


To reset:

$Post =.
$\endgroup$

Your Answer

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

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