# Formatting All Appropriate Output as Desired Automatically

I want to output in MatrixForm whenever I have a list/vector/matrix, but I do not want to have to type out the command each time.

How can I write one command at the beginning of the notebook so that all output is so formatted? (Also: generalization to any formatting would be better, with additional specific detail included for this case.)

-
closely related –  Kuba Apr 15 at 7:22

You can use $Post: $Post = If[ArrayQ@#, MatrixForm@#, #] &;

@kevin There is not much there, what is that you have problems with? Have you seen \$Post? –  Kuba Apr 16 at 6:16