This commit is contained in:
@@ -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"),)
|
||||
}
|
||||
}
|
||||
)
|
||||
]
|
||||
Reference in New Issue
Block a user