#How can I change the font of for example the math operators?

9 messages · Page 1 of 1 (latest)

keen idol
#

How can I change the font of for example the math operators? I tried

#show math.op: set text(font: "Allura")
$
lim_(x→∞)f(x)
$

but that does not work

hallow gazelle
#

What you tried seems very sensible, so I'd classify this as a bug. Feel free to make an issue on GitHub!

magic mural
#

?render

#show math.op: it => math.limits(text(font: "Allura", it.text))

$
lim_(x→oo)f(x)
$
magic mural
#

oh, it does not support the font...

#

anyway, it loses the limits information for some reason

#

you can redefine lim if this is acceptable for now:

#let lim = math.limits(text(font: "Allura")[lim])

$
lim_(x→oo)f(x)
$
#

(also I've noticed you are using the unicode character for infinity, you can use predefined sym.oo or sym.infinity instead)