Neither, Arial, Helvetica, or sans-serif, works.
#set text(font: (
"sans-serif",
"Helvetica",
"Arial"
))
Some text.
So what gives? How can I make my text sans-serif, which fonts are actually supported?
You can check the list of supported fonts by clicking on the "Ag" button in the toolbar if you are using the web app.
Try
#set text(font: "TeX Gyre Heros")
or
#set text(font: "Inter")
for Helvetica-like fonts that come with the web app. If you'd like to bring your own fonts instead, you can upload a .ttf, .ttc, .otf, or .otc file into your project.
If you are using the local compiler instead, Typst will make all fonts of your system available. You can list them using the typst fonts command on the command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With