nus/ma1522/ch_05.typ

13 lines
690 B
Plaintext

#import "@preview/ctheorems:1.1.2": *
#show: thmrules
#let theorem = thmbox("theorem", "Theorem", fill: rgb("#eeffee"), padding: (top: 0em, bottom: 0em)).with(numbering: none)
#let remark = thmbox("remark", "Remark", padding: (top: 0em, bottom: 0em)).with(numbering: none)
#let definition = thmbox("definition", "Definition", inset: (x: 1.2em, top: 1em), padding: (top: 0em, bottom: 0em)).with(numbering: none)
#let example = thmplain("example", "Example", padding: (top: 0em, bottom: 0em)).with(numbering: none)
#let proof = thmproof("proof", "Proof", padding: (top: 0em, bottom: 0em))
#definition[Dot Product. Let $u, v = (u_1, u_2), (v_1, v_2) in RR^2$
$u dot v = u_1 v_1 + u_2 v_2$
]