如何在 Isabelle 中写下标?
How to write subscripts in Isabelle?
如何在伊莎贝尔 (2021) text
命令中编写下标?
我尝试使用 <^sub>
符号(它会自动转换为向下箭头),如下所示:
text ‹
identity 1<^sub>S
›
但是报错:
Undefined document antiquotation: "sub"⌂
我也试过LaTex的方式,用下划线_
,但是jEdit好像不认识LaTex
你可以使用反引号text
:
text ‹
identity \<^text>‹1⇩S›
›
(*or simply*)
text‹identity ‹1⇩S››
有关命令text
的更多信息,请参阅 Isabelle2021 的官方文档(Isabelle/Isar参考手册 或 Isar-ref)中的第 4.1 小节,有关反引用的更多信息 text
请参阅 Isabelle2021 官方文档 (Isar-ref) 中的第 4.2 节。
I also tried the LaTex way and used underscore _, but jEdit does not
seem to recognize LaTex.
此外,请注意,一般来说,LaTeX 输出是在处理会话时生成的,并且可以使用任意 LaTeX 源代码来扩充理论文件,如下所示:
text‹identity _S$›
在这种情况下,_S$
应按预期出现在生成的 LaTeX 文档中。但是,当然,jEdit 会将其显示为原始 LaTeX。有关详细信息,请参阅文档 The Isabelle/Isar Implementation(Isabelle2021 官方文档的一部分),可能还有 LaTeX Sugar for Isabelle Documents (也是 Isabelle2021 官方文档的一部分)。
如何在伊莎贝尔 (2021) text
命令中编写下标?
我尝试使用 <^sub>
符号(它会自动转换为向下箭头),如下所示:
text ‹
identity 1<^sub>S
›
但是报错:
Undefined document antiquotation: "sub"⌂
我也试过LaTex的方式,用下划线_
,但是jEdit好像不认识LaTex
你可以使用反引号text
:
text ‹
identity \<^text>‹1⇩S›
›
(*or simply*)
text‹identity ‹1⇩S››
有关命令text
的更多信息,请参阅 Isabelle2021 的官方文档(Isabelle/Isar参考手册 或 Isar-ref)中的第 4.1 小节,有关反引用的更多信息 text
请参阅 Isabelle2021 官方文档 (Isar-ref) 中的第 4.2 节。
I also tried the LaTex way and used underscore _, but jEdit does not seem to recognize LaTex.
此外,请注意,一般来说,LaTeX 输出是在处理会话时生成的,并且可以使用任意 LaTeX 源代码来扩充理论文件,如下所示:
text‹identity _S$›
在这种情况下,_S$
应按预期出现在生成的 LaTeX 文档中。但是,当然,jEdit 会将其显示为原始 LaTeX。有关详细信息,请参阅文档 The Isabelle/Isar Implementation(Isabelle2021 官方文档的一部分),可能还有 LaTeX Sugar for Isabelle Documents (也是 Isabelle2021 官方文档的一部分)。