CellTags
更多信息
- 单元标签通常用于允许检索单元.
- 标签通常是字符串.
- 当设置 ShowCellTags->True 时,显示单元标签.
范例
基本范例 (2)
CellPrint[TextCell["abcd", "Text", CellTags -> "tag"]]NotebookLocate["tag"];NotebookRead[EvaluationNotebook[]]利用 ShowCellTags->True 使单元标签可见:
CreateDocument[{TextCell["abc", "Text", CellTags -> "tag1"], TextCell["def", "Text", CellTags -> {"tag1", "tag2"}]}, ShowCellTags -> True];技术笔记
-
▪
- 作为 Wolfram 语言表达式的单元 ▪
- 通过内核操作笔记本 ▪
- 单元选项
相关指南
-
▪
- 底层笔记本编程
历史
1996年引入 (3.0)
文本
Wolfram Research (1996),CellTags,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CellTags.html.
CMS
Wolfram 语言. 1996. "CellTags." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CellTags.html.
APA
Wolfram 语言. (1996). CellTags. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/CellTags.html 年
BibTeX
@misc{reference.wolfram_2026_celltags, author="Wolfram Research", title="{CellTags}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/CellTags.html}", note=[Accessed: 17-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_celltags, organization={Wolfram Research}, title={CellTags}, year={1996}, url={https://reference.wolfram.com/language/ref/CellTags.html}, note=[Accessed: 17-August-2026]}