TraditionalForm

TraditionalForm[expr]

prints as an approximation to the traditional mathematical notation for expr.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Formatting of a trigonometric function:

Formatting of a hypergeometric function:

Partial derivative of an arbitrary function:

Scope  (9)

Basic Objects  (2)

Integer, Rational, Real, and Complex numbers:

Arbitrary-precision Real and Complex numbers:

Special constants:

Characters and strings of characters:

Control characters for strings:

Polynomials:

Special Input Forms  (4)

Different ways of representing Power expressions:

Special typeset expressions:

The same expressions entered as typical input:

Different list structures:

Mathematical functions with special representations:

Special Output Forms  (3)

Some objects use a special output representation:

Compare the TraditionalForm with the underlying FullForm of the expression:

Some objects use an elided output representation:

The elided information is visible in the InputForm:

Graphic objects display as graphics:

Applications  (2)

Euler's formula in traditional mathematical notation:

A triangle inequality:

Properties & Relations  (3)

TraditionalForm is two-dimensional:

StandardForm is two-dimensional and unambiguous for input:

OutputForm uses only keyboard characters:

InputForm and FullForm provide one-dimensional formatting:

Use ToBoxes to see the underlying box structure:

Use ToExpression to convert the boxes to the original expression:

Add formatting via Format:

Possible Issues  (1)

TraditionalForm is ambiguous, i.e. different expressions can display similarly:

The following box structure has similar display:

When interpreting the boxes, a particular interpretation is selected:

Wolfram Language-generated formatting includes data for unambiguous interpretation:

Neat Examples  (1)

Nested roots:

Introduced in 1996
 (3.0)
 |
Updated in 2007
 (6.0)
2008
 (7.0)