Skip to content

Add font: main_font to override {gt} font injection #20

Description

@ASNDataAnalytics

Make the following changes in the typst-template.typ

Adding font: main_font
the show table.cell for column heads and table body

show table.cell.where(y: 0): it => {
    set text(fill: white, weight: 700, size: 0.9em, font: main_font)
    it
  }

  show table.cell: it => {
    set text(size: 0.95em, font: main_font)
    if it.x == 0 {
      // First column - left align, handle section headers
      set align(left)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions