WOLFRAM

Framed[expr]

displays a framed version of expr.

Details and Options

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Put a frame around any expression:

Out[1]=1

Scope  (7)Survey of the scope of standard use cases

Put a frame around any object:

Out[1]=1
Out[2]=2

Use a background color:

Out[1]=1

Use a style for the frame:

Out[1]=1

Use rounded corners:

Out[1]=1

Text can linewrap inside a frame:

Out[1]=1
Out[1]=1

Different framed expressions align as if their frames were not present:

Out[1]=1

Options  (11)Common values & functionality for each option

Alignment  (1)

Right-align a frame's contents:

Out[1]=1

Background  (1)

Change the background color:

Out[1]=1

BaselinePosition  (1)

Bottom align a series of frames:

Out[1]=1

BaseStyle  (1)

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

Out[1]=1

ContentPadding  (1)

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

Out[1]=1

FrameMargins  (1)

Add margins within the frame:

Out[1]=1

FrameStyle  (2)

Change the frame style:

Out[1]=1

Framed does not support the side specifications of FrameStyle:

Out[1]=1

ImageMargins  (1)

Add margins outside the frame:

Out[1]=1

ImageSize  (1)

Set the frame to a fixed image size:

Out[1]=1

RoundingRadius  (1)

Use rounded corners:

Out[1]=1

Applications  (1)Sample problems that can be solved with this function

Frame integers that are prime:

Out[1]=1

Properties & Relations  (2)Properties of the function, and connections to other functions

Panel provides additional features for framing objects:

Out[1]=1

Many functions have a Frame option:

Out[1]=1
Out[2]=2

Neat Examples  (1)Surprising or curious use cases

Out[1]=1
Wolfram Research (2007), Framed, Wolfram Language function, https://reference.wolfram.com/language/ref/Framed.html (updated 2024).
Wolfram Research (2007), Framed, Wolfram Language function, https://reference.wolfram.com/language/ref/Framed.html (updated 2024).

Text

Wolfram Research (2007), Framed, Wolfram Language function, https://reference.wolfram.com/language/ref/Framed.html (updated 2024).

Wolfram Research (2007), Framed, Wolfram Language function, https://reference.wolfram.com/language/ref/Framed.html (updated 2024).

CMS

Wolfram Language. 2007. "Framed." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/Framed.html.

Wolfram Language. 2007. "Framed." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/Framed.html.

APA

Wolfram Language. (2007). Framed. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Framed.html

Wolfram Language. (2007). Framed. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Framed.html

BibTeX

@misc{reference.wolfram_2025_framed, author="Wolfram Research", title="{Framed}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/Framed.html}", note=[Accessed: 16-April-2025 ]}

@misc{reference.wolfram_2025_framed, author="Wolfram Research", title="{Framed}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/Framed.html}", note=[Accessed: 16-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_framed, organization={Wolfram Research}, title={Framed}, year={2024}, url={https://reference.wolfram.com/language/ref/Framed.html}, note=[Accessed: 16-April-2025 ]}

@online{reference.wolfram_2025_framed, organization={Wolfram Research}, title={Framed}, year={2024}, url={https://reference.wolfram.com/language/ref/Framed.html}, note=[Accessed: 16-April-2025 ]}