Erweiterung Analysis
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 15s
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 15s
This commit is contained in:
@@ -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"),)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user