add a workaround for mathrlap{/}{\backslash}

problems are not labeled in obsidian. so remove problem number
This commit is contained in:
2026-03-21 12:33:22 +08:00
parent c65e9722a5
commit 6daea71f00
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
\newcommand{\argmax}{\operatorname{arg\,max}} \newcommand{\argmax}{\operatorname{arg\,max}}
\newcommand{\del}{\setminus} \newcommand{\del}{\setminus}
\newcommand{\con}{/} \newcommand{\con}{/}
\newcommand{\minor}{\mathrlap{/}{\setminus}} \newcommand{\minor}{\times}
\newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor} \newcommand{\floor}[1]{\left\lfloor #1 \right\rfloor}
\newcommand{\ceil}[1]{\left\lceil #1 \right\rceil} \newcommand{\ceil}[1]{\left\lceil #1 \right\rceil}
\newcommand{\set}[1]{\left\{ #1 \right\}} \newcommand{\set}[1]{\left\{ #1 \right\}}

View File

@@ -68,7 +68,7 @@ incrementalBlock =
"Definition", "Definition",
"Example", "Example",
"Lemma", "Lemma",
"Problem", -- "Problem",
"Proposition", "Proposition",
"Corollary", "Corollary",
"Observation", "Observation",
@@ -78,14 +78,14 @@ incrementalBlock =
"定义", "定义",
"", "",
"引理", "引理",
"问题", -- "问题",
"命题", "命题",
"推论", "推论",
"观察" "观察"
] ]
otherBlock :: [Text] otherBlock :: [Text]
otherBlock = ["Proof", "Remark", "证明", "备注"] otherBlock = ["Problem", "Proof", "Remark", "问题", "证明", "备注"]
theoremClasses :: [Text] theoremClasses :: [Text]
theoremClasses = incrementalBlock ++ otherBlock theoremClasses = incrementalBlock ++ otherBlock