AutoMultiplicationSymbol
Details
- AutoMultiplicationSymbol{cond1,…} specifies the conditions under which to automatically display a multiplication symbol.
- Values for condi include:
-
"Functions" non-numerical functions "LineBreaks" hard line breaks that imply multiplication "Numbers" numbers and number‐like elements (such as fractions) "Symbols" symbols, including % and local variables - AutoMultiplicationSymbol{} prevents any automatically displayed multiplication symbols from appearing.
- The multiplication operator is specified by the NumberMultiplier option. The default value is "∖[Times]".
- The global setting for AutoMultiplicationSymbol can be changed in the Preferences dialog.
Examples
open all close allBasic Examples (1)
Format an expression with automatic multiplication symbols:
ExpressionCell[HoldForm[2 * 3 * 5], AutoMultiplicationSymbol -> {"Numbers"}]Format an expression without automatic multiplication symbols:
ExpressionCell[HoldForm[2 * 3 * 5], AutoMultiplicationSymbol -> {}]Scope (5)
Multiplication symbols are not inserted where explicit * or × operators are present:
ExpressionCell[RawBoxes[RowBox[{"2", " ", "3", "*", "5", "×", "7"}]], AutoMultiplicationSymbol -> {"Numbers"}]Automatic multiplication symbols between non-numeric functions:
ExpressionCell[f[x] * g[x], AutoMultiplicationSymbol -> {"Functions"}]Functions representing numeric operations will not have automatic multiplication symbols:
ExpressionCell[Sin[x] * Cos[x], AutoMultiplicationSymbol -> {"Functions"}]Automatic multiplication symbols at hard line breaks:
ExpressionCell[Framed[RawBoxes[RowBox[{"(", RowBox[{"longsymbolname1", "
", "longsymbolname2"}], ")"}]], ImageSize -> 150], AutoMultiplicationSymbol -> {"LineBreaks"}]Automatic multiplication symbols between numbers:
ExpressionCell[HoldForm[2 * 3.5], AutoMultiplicationSymbol -> {"Numbers"}]Numeric fractions are recognized as numbers:
ExpressionCell[RawBoxes[RowBox[{FractionBox["1", "2"], " ", FractionBox["3", "4"]}]], AutoMultiplicationSymbol -> {"Numbers"}]Automatic multiplication symbols between symbols:
ExpressionCell[a * b, AutoMultiplicationSymbol -> {"Symbols"}]See Also
NumberForm ShowAutoStyles NumberMultiplier AutoOperatorRenderings
Characters: \[InvisibleTimes] \[ImplicitPlus]
Tech Notes
Related Guides
Text
Wolfram Research (2007), AutoMultiplicationSymbol, Wolfram Language function, https://reference.wolfram.com/language/ref/AutoMultiplicationSymbol.html (updated 2021).
CMS
Wolfram Language. 2007. "AutoMultiplicationSymbol." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/AutoMultiplicationSymbol.html.
APA
Wolfram Language. (2007). AutoMultiplicationSymbol. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AutoMultiplicationSymbol.html
BibTeX
@misc{reference.wolfram_2026_automultiplicationsymbol, author="Wolfram Research", title="{AutoMultiplicationSymbol}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AutoMultiplicationSymbol.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_automultiplicationsymbol, organization={Wolfram Research}, title={AutoMultiplicationSymbol}, year={2021}, url={https://reference.wolfram.com/language/ref/AutoMultiplicationSymbol.html}, note=[Accessed: 12-June-2026]}