This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Input and Output / Formatting Functions /


FilledSmallSquare MakeBoxes[expr, form] is the low-level function used in Mathematica sessions to convert expressions into boxes.

FilledSmallSquare MakeBoxes does not evaluate expr.

FilledSmallSquare form can be StandardForm, TraditionalForm, or any other output form.

FilledSmallSquare You can give definitions for MakeBoxes[expr, form] to specify your own rules for how expressions should be converted to boxes.

FilledSmallSquare MakeBoxes is not automatically called on the results it generates. This means that explicit MakeBoxes calls must typically be inserted into definitions that are given.

FilledSmallSquare If you change the output format for an expression by giving a definition for MakeBoxes, there is no guarantee that output you get will subsequently be able to be interpreted by Mathematica.

FilledSmallSquare Definitions you give for MakeBoxes will override built-in Mathematica rules for generating output.

FilledSmallSquare See Section 2.9.17.

FilledSmallSquare See also: MakeExpression, ToBoxes, Format.

FilledSmallSquare New in Version 3.

Further Examples