fix: update statement numbering with headings

This commit is contained in:
Popa committed 2026-09-11 15:08:56 +02:00
1 parent 337ff33853
commit 66b6c98cd0
6 files changed
+103 -72

No files matched your search

+53 -31
View File
@@ -1,4 +1,4 @@
#import "@preview/clean-sheets:0.3.0": Cal, base-template, exercise, qed
#import "@preview/clean-sheets:0.3.0": *
#let logo = box(
width: 2.4cm,
@@ -17,12 +17,12 @@
([Jane Doe], [Joe Shmoe]),
[John Q. Public, James X. Smith],
tutor-label: [Tutors:],
sheet-label: [Example Exercise Sheet],
sheet-label: [Example Sheet],
logo: logo,
page-numbering: "— I of I —",
table-header-smallcaps: true,
text-font: "IBM Plex Sans",
math-font: "IBM Plex Math",
text-font: "Noto Sans",
math-font: "Noto Sans Math",
no-pagebreak: true,
show-credits: true,
credits: [_Typset with #link("https://typst.app")[Typst]._],
@@ -48,20 +48,39 @@
#lorem(40)
]
#lorem(20)#footnote[#lorem(21)]
== Part (i)
$
bold("B")(P) =
mu_0 / (4 pi)
integral
(I times bold(hat("r"))) / r^2 dif bold(l)
= (mu_0 I) / (4 pi)
integral
(dif bold(l) times bold(hat("r"))) / r^2
$
#lorem(40)#footnote[#lorem(21)]
== Part (ii)
#axiom[
#lorem(30)
$
bold("F") = #[$m$]bold("a")
$
#lorem(10)
]
#theorem(label: [#smallcaps[Biot--Savard] law])[
#lorem(20)
$
bold("B")(bold("r")) =
mu_0 / (4 pi)
integral
(I times bold(hat("r"))') / abs(bold("r")')^2 dif bold(l)
= (mu_0 I) / (4 pi)
integral
(dif bold(l) times bold(hat("r"))') / abs(bold("r")')^2
$
]
#lorem(30) #qed
== Part (iii)
#corollary(nobreak: true)[#lorem(8)]
#table(
columns: (1fr,) * 5,
align: (start,) + (center,) * 3 + (end,),
@@ -76,30 +95,33 @@ $
= Exercise 2
#exercise(points: [$25$ Points])[
#lorem(41)
#lorem(90)
#lorem(26)
#lorem(20)
]
#lorem(17) $-pi/2 < arctan(x) := integral_0^x (dif t) / (1 + t^2) < pi/2 space forall x in RR$. #lorem(24)
$
V(x_1, ..., x_n) := mat(
1, x_1, x_1^2, dots.c, x_1^(n-1);
1, x_2, x_2^2, dots.c, x_2^(n-1);
1, x_3, x_3^2, dots.c, x_3^(n-1);
dots.v, dots.v, dots.v, dots.down, dots.v;
1, x_n, x_n^2, dots.c, x_n^(n-1)
)
$
#definition[
#lorem(15) $
V(x_1, ..., x_n) := mat(
1, x_1, x_1^2, dots.c, x_1^(n-1);
1, x_2, x_2^2, dots.c, x_2^(n-1);
1, x_3, x_3^2, dots.c, x_3^(n-1);
dots.v, dots.v, dots.v, dots.down, dots.v;
1, x_n, x_n^2, dots.c, x_n^(n-1)
)
$
]
#lorem(20)
#lemma(label: [#smallcaps[Vandermonde] determinant])[
#lorem(20)
$
det V(x_1, ..., x_n) = product_(1 <= i < j <= n)(x_j - x_i)
$
]
$
det V(x_1, ..., x_n) = product_(1 <= i < j <= n)(x_j - x_i)
$
#lorem(59)#footnote[#lorem(31)]#footnote[#lorem(13)]
#lorem(50)#footnote[#lorem(31)]#footnote[#lorem(13)]
#lorem(30) #qed
+18 -10
View File
@@ -1,4 +1,4 @@
#import "@preview/clean-sheets:0.3.0": Cal, chevrons, computer-science-template, exercise, lemma, qed
#import "@preview/clean-sheets:0.3.0": Cal, chevrons, computer-science-template, definition, exercise, korollar, lemma, qed
#show: body => computer-science-template(
1,
@@ -16,6 +16,7 @@
attestations-from: datetime(day: 1, month: 1, year: 2027, hour: 18, minute: 0, second: 0),
attestations-until: datetime(day: 8, month: 1, year: 2027, hour: 10, minute: 0, second: 0),
info-text: lorem(40),
track-heading-counter: true,
page-numbering: "Blatt I von I",
group-digits: true,
decimal-comma: true,
@@ -62,6 +63,10 @@ DEF magic_recursive(string s, string p):
+ $forall i in NN_0: x y^i z in L$.
]
#definition[
Sei $Sigma$ ein Alphabet. Eine Sprache $L subset.eq Sigma^*$ heißt _regulär_, wenn es einen endlichen Automaten gibt, der $L$ akzeptiert.
]
= Aufgabe 2
#exercise(
@@ -73,12 +78,15 @@ DEF magic_recursive(string s, string p):
#lorem(50) #qed
$
bold("B")(P) =
mu_0 / (4 pi)
integral
(I times bold(hat("r"))) / r^2 dif bold(l)
= (mu_0 I) / (4 pi)
integral
(dif bold(l) times bold(hat("r"))) / r^2
$
#korollar[
#lorem(10)
$
bold("B")(P) =
mu_0 / (4 pi)
integral
(I times bold(hat("r"))) / r^2 dif bold(l)
= (mu_0 I) / (4 pi)
integral
(dif bold(l) times bold(hat("r"))) / r^2
$
]