$MessagePrePrint

$MessagePrePrint
is a global variable whose value, if set, is applied to expressions before they are included in the text of messages.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Have expressions in messages print out in TraditionalForm:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Restore the default. Now the expressions are shown in StandardForm:

In[3]:=
Click for copyable input
Out[3]=
New in 2
New to Mathematica? Find your learning path »
Have a question? Ask support »