AutoIndent
更多信息
- AutoIndent 的可能设置:
-
False 不缩进 True 与前行采用同样的缩进 Automatic 根据表达式的结构缩进(缺省) - 若 AutoIndent->True,用于前行缩进的制表键或空格符将被显式插入新一行的开头.
- 若 AutoIndent->Automatic,行的断开总是由一个\[IndentingNewLine] 属性来指定,它们通常以 ↵ 或\[NewLine]的形式被输入.
- \[IndentingNewLine]之后的缩进会在每显示一个表达式时自动重新执行.
- \[IndentingNewLine]之后的缩进量通过设置 LineIndent 和LineIndentMaxFraction 的选项来确定.
范例
基本范例 (2)
技术笔记
历史
1996年引入 (3.0) | 在以下年份被更新:1999 (4.0) ▪ 2000 (4.1) ▪ 2002 (4.2)
文本
Wolfram Research (1996),AutoIndent,Wolfram 语言函数,https://reference.wolfram.com/language/ref/AutoIndent.html (更新于 2002 年).
CMS
Wolfram 语言. 1996. "AutoIndent." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2002. https://reference.wolfram.com/language/ref/AutoIndent.html.
APA
Wolfram 语言. (1996). AutoIndent. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/AutoIndent.html 年
BibTeX
@misc{reference.wolfram_2025_autoindent, author="Wolfram Research", title="{AutoIndent}", year="2002", howpublished="\url{https://reference.wolfram.com/language/ref/AutoIndent.html}", note=[Accessed: 01-May-2026]}
BibLaTeX
@online{reference.wolfram_2025_autoindent, organization={Wolfram Research}, title={AutoIndent}, year={2002}, url={https://reference.wolfram.com/language/ref/AutoIndent.html}, note=[Accessed: 01-May-2026]}