BaseStyle

BaseStyle

is an option for formatting and related constructs that specifies the base style to use for them.

Details

  • An option setting BaseStyle->spec in a construct obj specifies that the construct should always automatically be displayed as Style[obj,spec].
  • Any style specification as used in Style can be used as a setting for BaseStyle.
  • Typical forms of settings include:
  • "style"a named style from the current stylesheets
    {opt1->val1,}a list of explicit option settings
    {"style",opt1->val1,}a named style modified by option settings
  • Color directives such as Red, as well as text specifications such as Bold or Small, can be given in place of options, just as in Style.
  • Any outside styles not explicitly overridden by settings in BaseStyle will still be used.
  • BaseStyle is effectively applied after DefaultBaseStyle.
  • Style specifications given in BaseStyle are typically added to default specifications given in the current stylesheet.
  • For an object of type obj, the default style specifications are typically those associated with a style named "obj".

Examples

Basic Examples  (3)

Set the starting style:

Use a named style:

Set multiple font option settings:

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

Text

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

BibTeX

@misc{reference.wolfram_2021_basestyle, author="Wolfram Research", title="{BaseStyle}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/BaseStyle.html}", note=[Accessed: 23-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_basestyle, organization={Wolfram Research}, title={BaseStyle}, year={2008}, url={https://reference.wolfram.com/language/ref/BaseStyle.html}, note=[Accessed: 23-October-2021 ]}

CMS

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

APA

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