DefaultBaseStyle

DefaultBaseStyle

is a low-level option for formatting and related constructs that specifies a default base style to use before BaseStyle.

Details

  • An option setting DefaultBaseStyle->spec in a construct obj specifies that the construct should automatically be displayed by default as Style[obj,spec].
  • DefaultBaseStyle is applied before BaseStyle, so that it can be overridden by BaseStyle.
  • The default setting for DefaultBaseStyle is typically different for different constructs.
  • For Button, the default setting is DefaultBaseStyle->"Button", and in general for an object named obj it is typically "obj".
  • DefaultBaseStyle->{} introduces no default style specifications, thereby effectively allowing all outside style specifications in.
  • DefaultBaseStyle->style makes any specifications in style override corresponding outside style specifications.

Examples

Basic Examples  (3)

The current setting for DefaultBaseStyle:

The default styles used:

Explicit settings for BaseStyle override DefaultBaseStyle:

Wolfram Research (2008), DefaultBaseStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/DefaultBaseStyle.html.

Text

Wolfram Research (2008), DefaultBaseStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/DefaultBaseStyle.html.

CMS

Wolfram Language. 2008. "DefaultBaseStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DefaultBaseStyle.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_defaultbasestyle, organization={Wolfram Research}, title={DefaultBaseStyle}, year={2008}, url={https://reference.wolfram.com/language/ref/DefaultBaseStyle.html}, note=[Accessed: 11-December-2024 ]}