How do I create in-text citations without the comma between the source and the supplement?

Hello, I am currently working on a report that is in MLA format and so the in-text citation format looks like this for a book: (LASTNAME PAGENUMBER), without a comma between the name and the page number. However, trying to replicate this in Typst with

@tsokos_physics_2023[266]

renders as (Tsokos, 266). Is there any way to delete the comma in between the author and the page number?

Thanks!

This is not for all use cases, like if you also have comas in LASTNAME, but a show rule doing a search-and-replace works here:

#show cite: it => {
  show ", ": " "
  it
}
2 Likes

That works for me, thank you!