AutoSpacing
Details
- AutoSpacing->False leaves equal spaces between all characters.
- AutoSpacing->True inserts additional space around lower‐precedence operators.
- AutoSpacing->False is in effect automatically used inside ordinary strings and comments.
Examples
Basic Examples (1)
Create a cell that has automatic spacing between operands and operators:
CellPrint[ExpressionCell[-2x y ^ 2 == f[a, b], "Output", AutoSpacing -> True]]Create a cell that has no automatic spacing:
CellPrint[ExpressionCell[-2x y ^ 2 == f[a, b], "Output", AutoSpacing -> False]]See Also
Related Guides
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), AutoSpacing, Wolfram Language function, https://reference.wolfram.com/language/ref/AutoSpacing.html.
CMS
Wolfram Language. 1996. "AutoSpacing." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AutoSpacing.html.
APA
Wolfram Language. (1996). AutoSpacing. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AutoSpacing.html
BibTeX
@misc{reference.wolfram_2026_autospacing, author="Wolfram Research", title="{AutoSpacing}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/AutoSpacing.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_autospacing, organization={Wolfram Research}, title={AutoSpacing}, year={1996}, url={https://reference.wolfram.com/language/ref/AutoSpacing.html}, note=[Accessed: 13-June-2026]}