$bx$ usually results in error: unknown variable: bx, so I thought why not turn it into a way to make x bold?
I am not sure how exactly I would go about doing this though, and if it is even possible in Typst. Any ideas?
$bx$ usually results in error: unknown variable: bx, so I thought why not turn it into a way to make x bold?
I am not sure how exactly I would go about doing this though, and if it is even possible in Typst. Any ideas?
You can define the variable bx as being a bold x in math mode:
#let bx = $bold(x)$
Thanks @Simon2. I was also wondering if it were possible to make a single function for any character to become bold. It sounds like the only way would be to generate a lot of variables, but maybe I’m wrong.
Yes. It is actually already mentioned by @Simon2: it’s bold.
I think they want to use the b prefix as a short form for bold(x): ba for bold(a), bb for bold(b), …
I don’t think there is a way to do this without manually defining all variables manually.