-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreamble.typ
More file actions
37 lines (33 loc) · 838 Bytes
/
Copy pathpreamble.typ
File metadata and controls
37 lines (33 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#import "@preview/ctheorems:1.1.3": *
#show: thmrules
// Preamble file
#let theorem = thmbox("theorem", "Theorem", fill:rgb("#eeffee"))
#let corollary = thmplain("corollary",
"Corollary",
base: "theorem",
titlefmt: strong
)
#let porism = thmplain("porism",
"Porism",
base: "theorem",
titlefmt: strong
)
#let lemma = thmplain("lemma",
"Lemma",
base: "theorem",
titlefmt: strong
)
#let definition = thmbox(
"definition",
"Definition",
inset: (x : 1.2em, top:1em)
)
#let observation = thmbox(
"observation",
"Observation",
inset: (x : 1.2em, top:1em)
)
#let proof = thmproof("proof", "Proof")
// #theorem[There are infinitely many prime numbers.]
// #corollary[There is a prime number greater than 9.]
// #definition[A natural number $n$ is said to be *prime* if it has no factors either than itself or 1.]