AutoOperatorRenderings

AutoOperatorRenderings

is an option for cells and notebooks that specifies automatic renderings to be used for strings representing operators.

Details

  • AutoOperatorRenderings{"op1""rend1",} specifies that the operator string opi should be automatically rendered as rendi.
  • In a typical case, the opi are multicharacter strings (such as "->") that are specified to be rendered as single-character forms (such as "").
  • Renderings specified in AutoOperatorRenderings affect display but not underlying content of expressions.
  • Auto renderings are only performed in BoxData cells.
  • Moving the text caret through an operator with an auto rendering will temporarily disable the rendering.
  • The stylesheet "Core.nb" specifies many auto renderings on some commonly used styles by default. However, auto renderings are generally disabled in documentation styles to better demonstrate exactly how to type inputs.

Examples

open allclose all

Basic Examples  (1)

Display the function operator "|->" as the equivalent "":

Properties & Relations  (2)

An auto rendering does not work for a token that is not parsed to an operator:

The rendering changes the appearance of an operator but not the underlying box representation:

Possible Issues  (1)

A poorly chosen rendering can be confusing or misleading:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_autooperatorrenderings, organization={Wolfram Research}, title={AutoOperatorRenderings}, year={2021}, url={https://reference.wolfram.com/language/ref/AutoOperatorRenderings.html}, note=[Accessed: 30-December-2024 ]}