is an option for Cell that specifies whether styles that are specified to be automatically used for various syntactic and other constructs should be shown.
ShowAutoStyles
is an option for Cell that specifies whether styles that are specified to be automatically used for various syntactic and other constructs should be shown.
Details
- The default setting is ShowAutoStyles->True.
- Details of automatic styles can be specified in the setting for AutoStyleOptions.
- For example, unmatched delimiters such as brackets are by default shown in purple.
Examples
Basic Examples (1)
Create a raw box structure with an unmatched brace:
unmatched = RawBoxes[RowBox[{"{", "a", ",", "b"}]];Compare a cell that automatically highlights the unmatched brace with one that does not:
CellPrint[{ExpressionCell[unmatched, "Input", ShowAutoStyles -> True, Evaluatable -> False],
ExpressionCell[unmatched, "Input", ShowAutoStyles -> False, Evaluatable -> False]}]{a, b{a, bTech Notes
Related Guides
History
Introduced in 1999 (4.0)
Text
Wolfram Research (1999), ShowAutoStyles, Wolfram Language function, https://reference.wolfram.com/language/ref/ShowAutoStyles.html.
CMS
Wolfram Language. 1999. "ShowAutoStyles." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ShowAutoStyles.html.
APA
Wolfram Language. (1999). ShowAutoStyles. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ShowAutoStyles.html
BibTeX
@misc{reference.wolfram_2026_showautostyles, author="Wolfram Research", title="{ShowAutoStyles}", year="1999", howpublished="\url{https://reference.wolfram.com/language/ref/ShowAutoStyles.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_showautostyles, organization={Wolfram Research}, title={ShowAutoStyles}, year={1999}, url={https://reference.wolfram.com/language/ref/ShowAutoStyles.html}, note=[Accessed: 15-June-2026]}