Basically I need something like https://tex.stackexchange.com/questions/103408/symbol-for-corresponds-to-equals-sign-with-hat – I have tried hat(=)
or with ouset
using ouset(=, hat)
but both have the hat too small. I’m wondering if I can overlap just = and hat
, but didn’t find a function to do that.

Thanks in advance!
I managed to do something very cursed:
$=#box(width: -.3em)[#move(dx: -.95em, $hat$)] AA BB$
$=#move(dx: -.95em, $hat$) AA BB$
$= AA BB$
but this feels very brittle and probably will break in surprising ways. Is there something a bit better?
Would that work for you? From Accent Function – Typst Documentation .
#math.hat("=")
$hat(=)$

2 Likes
$phi hat(=) hat("=") eq.est (0, theta.alt)$

I think I prefer the second one a bit better. Thansk a lot @vmartel08 and @ssotoen !
Edit: no I think hat("=")
won’t work: it creates a very narrow gap:
flokl
6
You can use class
to set the correct variant.
class("relation", hat("="))
3 Likes