How does one avoid caligraphic font difference between Typst and LaTeX?

One possible font with this style of calligraphic letters would be this Garamond Math with stylistic set 3. To only use this font for those letters, you can define a custom function like this (using some weird hacks to circumvent a current limitation of Typst) :

#let cal(it) = math.class("normal", box({
  show math.equation: set text(font: "Garamond-Math", stylistic-set: 3)
  $#math.cal(it)$
}) + h(0pt))