CopyFunction
是 TemplateBox 的一个选项,指定如何复制框符.
更多信息
- CopyFunction 用于生成框符表达式的函数.
- TemplateBox 参数代入创建框符表达式的函数,该表达式在框符被计算时发送给内核.
- 当复制 TemplateBox 时,剪贴板上会放置一个完全复制的版本. 当使用剪贴板粘贴到外部文本编辑器时,CopyFunction 可控制 TemplateBox 如何转换为普通文本.
- 当 TemplateBox 被复制为普通文本时,设置 CopyFunctionAutomatic 会触发使用 DisplayFunction. 如果 TemplateBox 被复制为输入文本,则会使用到 InterpretationFunction.
范例
基本范例 (2)
相关指南
-
▪
- 底层笔记本结构
文本
Wolfram Research (2020),CopyFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/CopyFunction.html.
CMS
Wolfram 语言. 2020. "CopyFunction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/CopyFunction.html.
APA
Wolfram 语言. (2020). CopyFunction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/CopyFunction.html 年
BibTeX
@misc{reference.wolfram_2025_copyfunction, author="Wolfram Research", title="{CopyFunction}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/CopyFunction.html}", note=[Accessed: 29-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_copyfunction, organization={Wolfram Research}, title={CopyFunction}, year={2020}, url={https://reference.wolfram.com/language/ref/CopyFunction.html}, note=[Accessed: 29-April-2026]}