Hello, it’s fairly simple if you add a show rule to table.cell
.
#let ktable(..cells) = {
show table.cell: c => {
if c.y == 0 {
return strong(c)
}
if c.y > 0 and c.x == 0 {
return text(22pt, c)
}
c
}
table(
stroke: (
x: none,
y: color.rgb("#DEDEDE")
),
columns: (50pt, 50pt, auto, auto),
inset: 8pt,
table.hline(stroke: black),
table.cell(align: center)[Character],
table.cell(align: center)[Keyword],
table.cell(align: center)[Index],
table.cell(align: center)[Story],
table.hline(stroke: black),
..cells,
table.hline(stroke: black),
)
}
#ktable(
[吾], [I], [11], [#lorem(10)],
[明], [bright], [12], [#lorem(10)],
[唱], [chant], [13], [#lorem(10)],
)