oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/tables/grid_cell.typ
367 bytes, 1 run
created by r1870400018:66188, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | // oracle: levels 4 |
| 2 | // A grid whose align is a function of the cell, with a cell that sets its own align and one that sets its own inset. |
| 3 | #set page(width: 220pt, height: 200pt, margin: 20pt) |
| 4 | #grid(columns: (1fr, 1fr), inset: 4pt, align: (x, y) => if x == 0 { right } else { left }, |
| 5 | grid.cell(align: center)[centred], [plain], [one], grid.cell(inset: 10pt)[padded]) |