StyleBox

StyleBox[boxes,options]

is a low-level representation of boxes to be shown with the specified option settings.

StyleBox[boxes,"style"]

uses the option setting for the specified style in the current notebook.

Details

Examples

Basic Examples  (4)

Style boxes or text according to a style option:

Use a named style:

Display some text that cannot be selected except as a whole:

By default, spanning characters such as braces do not grow arbitrarily large:

Use SpanMaxSize to allow braces to grow to the full size:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_stylebox, author="Wolfram Research", title="{StyleBox}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/StyleBox.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_stylebox, organization={Wolfram Research}, title={StyleBox}, year={2007}, url={https://reference.wolfram.com/language/ref/StyleBox.html}, note=[Accessed: 21-December-2024 ]}