I’m probably overlooking something simple (I’ve had about… 2 hours sleep) so apologies. But how do I tell Typst that the font size within a specific table should be smaller, for example?
I can’t see what parameter of table I would use. I’m guessing I need to be setting a parameter on something else, or creating a show rule, but it’s just not clicking.
You can’t just change the layout and expect to produce the same result/bug.
#{
table[a]
show table.cell: set text(size: 54pt)
// show table: set text(size: 54pt)
// set text(size: 54pt)
table[a]
}
Only first doesn’t increase vertical spacing.
They are equivalent, only the scope of set rule changes. If all tables should have same base font size, then the show-set rule works in global scope, but the set rule does not.
Thank you very much @bluss and @Andrew, this makes much more sense now. I’ve edited my post suggesting the way to address the original problem to reflect this.
I would think that there is some logic/explanation behind each one of the cases as they all behave in a different way.