Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
迁移到 tcolorbox 后定理环境语法有变。对有编号的定理环境(即除了
proof
和solution
),旧语法是:新语法:
这些定理环境不需要再手动标记
\label
. 但相对的,即使没有标题 / label 的环境也需要带上空花括号,如\begin{theorem}{}{}
.同时,
<引用标签>
不再需要手动标记前缀. tcolorbox 会自动加上前缀:definition
def:
theorem
thm:
example
ex:
lemma
lem:
corollary
cor:
axiom
axm:
这些设置可以在
LALUbook.cls
中更改. 例:https://github.com/45gfg9/Linear-Algebra-Left-Undone/blob/cf0d35f05f110634c22a5a0c1df713121eeb13aa/%E8%AE%B2%E4%B9%89/%E4%B8%93%E9%A2%98/5%20%E7%BA%BF%E6%80%A7%E6%98%A0%E5%B0%84.tex#L9-L18
定义的标题为
线性映射
,通过\autoref{def:线性映射的定义}
产生定义 5.1
的引用,同时可以通过\nameref{线性映射的定义}
直接产生线性映射
的引用.