How can I set the font properties of text within a table?

Hi there, you can use a simple show-set rule on table.cell. And braces if needed to limit the scope.

#table(
  columns: 2,
  table.header[Amount][Ingredient],
  [360g], [Baking flour],
 // ... the remaining cells
)

#{
  show table.cell: set text(size: 14pt)

  table(
    columns: 2,
    table.header[Amount][Ingredient],
    [360g], [Baking flour],
   // ... the remaining cells
  )
}

See Table guide – Typst Documentation for more examples.

Edit: No need for a show-set rule if the table is alone in the code block:

Edit: As indicated by @Andrew, changing font size on a table changes block spacing. show table.cell is the proper way to achieve the desired output without changing block spacing.

4 Likes