asd
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Failing after 15s

This commit is contained in:
alexander
2026-01-18 18:11:26 +01:00
parent a617d285f2
commit b16009f62a
6 changed files with 229 additions and 61 deletions

View File

@@ -25,4 +25,21 @@
#let MathAlignLeft(e) = {
align(left, block(e))
}
}
#let sinTable = [
#let data = json("../sintable.json")
#table(
columns: data.at("x").len() + 1,
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"),)
}
}
)
]