Erweiterung Analysis
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 15s

This commit is contained in:
alexander
2026-01-25 17:12:34 +01:00
parent 1c7b4decdb
commit 62d6ce0e5c
2 changed files with 153 additions and 42 deletions

View File

@@ -11,8 +11,8 @@
top+center,
text(
body,
size: 10pt,
weight: "regular",
size: 8pt,
weight: "bold",
style: "italic",
)
),
@@ -30,15 +30,21 @@
#let sinTable = [
#let data = json("../sintable.json")
#table(
columns: data.at("x").len() + 1,
columns: data.len(),
rows: data.keys().len(),
stroke: none,
table.hline(stroke: (thickness: 0.3mm)),
fill: (x, y) => if (calc.rem(y, 2) == 0) { color.lighten(gray, 50%) } else { white },
..for (label) in data.keys() {
([*#eval(label, mode: "math")*], table.hline(stroke: (thickness: 0.3mm)), )
for i in data.at(label) {
(eval(i, mode: "math"),)
..for (label) in data.keys() {
([*#eval(label, mode: "math")*], )
},
table.hline(stroke: (thickness: 0.3mm)),
..for (i, v) in data.at("x").enumerate() {
for (col) in data.keys() {
(eval(data.at(col).at(i), mode: "math"),)
}
}
)