is an option for cells and notebooks that specifies an association containing hints used to control stylesheet behaviors.
- StyleHints provides a mechanism to allow a stylesheet to refer to parameters that can be set by a user to override the default stylesheet choices, while maintaining the overall integrity of the collection of styles. A hint might refer to a font family name, a color or any other style parameter. Setting the hints together allows the stylesheet to be tweaked to represent a theme with a different look while maintaining the overall integrity and choices set in the stylesheet.
- Hints used by built-in Wolfram stylesheets include:
"CodeFont" the default FontFamily for input, output, code and other code‐like styles "GroupOpener" the default ShowGroupOpener value for section and section‐like styles "OperatorRenderings" the default list of AutoOperatorRenderings used by input and similar styles
- StyleHints<|key1val1,…|> effectively merges the keyi with any keys inherited from a more general scope. The fully merged set of keys and values can be read using AbsoluteCurrentValue.
Examplesopen allclose all
Basic Examples (2)
Wolfram Research (2021), StyleHints, Wolfram Language function, https://reference.wolfram.com/language/ref/StyleHints.html.
Wolfram Language. 2021. "StyleHints." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StyleHints.html.
Wolfram Language. (2021). StyleHints. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StyleHints.html