Highlighted

Highlighted[expr]

displays a highlighted version of expr.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Highlight any expression:

Scope  (2)

Highlight any object:

When copied and pasted, Highlighted evaluates the inner expression with the Highlighted head:

Options  (10)

Background  (1)

Specify a highlight color:

BaselinePosition  (1)

Bottom align a series of highlighted expressions:

BaseStyle  (1)

Set the base style for the contents to a different font size and color:

ContentPadding  (1)

Remove extra whitespace around a label with no ascenders or descenders:

Frame  (1)

Add a frame around the highlighted expression:

FrameMargins  (1)

Add margins within the highlighted frame:

FrameStyle  (1)

Change the frame style:

ImageMargins  (1)

Add margins outside the highlighted region:

ImageSize  (1)

Set the highlighted frame to a fixed image size:

RoundingRadius  (1)

Change the rounding radius for the corners:

Introduced in 2016
 (10.4)