auto-update(nvim): 2025-01-07 01:01:29
This commit is contained in:
parent
f854b9ba88
commit
7e1a4ccb66
2 changed files with 24 additions and 6 deletions
|
@ -286,14 +286,23 @@
|
||||||
#let example = example-style("item", "Example")
|
#let example = example-style("item", "Example")
|
||||||
|
|
||||||
#let proof(body, name: none) = {
|
#let proof(body, name: none) = {
|
||||||
thmtitle[Proof]
|
[_Proof_]
|
||||||
if name != none {
|
if name != none {
|
||||||
[ #thmname[#name]]
|
[ #thmname[#name]]
|
||||||
}
|
}
|
||||||
thmtitle[.]
|
[.]
|
||||||
body
|
body
|
||||||
h(1fr)
|
h(1fr)
|
||||||
$square$
|
|
||||||
|
// Add a word-joiner so that the proof square and the last word before the
|
||||||
|
// 1fr spacing are kept together.
|
||||||
|
sym.wj
|
||||||
|
|
||||||
|
// Add a non-breaking space to ensure a minimum amount of space between the
|
||||||
|
// text and the proof square.
|
||||||
|
sym.space.nobreak
|
||||||
|
|
||||||
|
$square.stroked$
|
||||||
}
|
}
|
||||||
|
|
||||||
#let fact = thmplain(
|
#let fact = thmplain(
|
||||||
|
|
|
@ -286,14 +286,23 @@
|
||||||
#let example = example-style("item", "Example")
|
#let example = example-style("item", "Example")
|
||||||
|
|
||||||
#let proof(body, name: none) = {
|
#let proof(body, name: none) = {
|
||||||
thmtitle[Proof]
|
[_Proof_]
|
||||||
if name != none {
|
if name != none {
|
||||||
[ #thmname[#name]]
|
[ #thmname[#name]]
|
||||||
}
|
}
|
||||||
thmtitle[.]
|
[.]
|
||||||
body
|
body
|
||||||
h(1fr)
|
h(1fr)
|
||||||
$square$
|
|
||||||
|
// Add a word-joiner so that the proof square and the last word before the
|
||||||
|
// 1fr spacing are kept together.
|
||||||
|
sym.wj
|
||||||
|
|
||||||
|
// Add a non-breaking space to ensure a minimum amount of space between the
|
||||||
|
// text and the proof square.
|
||||||
|
sym.space.nobreak
|
||||||
|
|
||||||
|
$square.stroked$
|
||||||
}
|
}
|
||||||
|
|
||||||
#let fact = thmplain(
|
#let fact = thmplain(
|
||||||
|
|
Loading…
Reference in a new issue