#Redefine symbols

1 messages · Page 1 of 1 (latest)

lilac python
#

Typst can make => into arrow.r.double (in math mode), can I redefine this? Say I want == to be equiv?

final iris
#

?render

#import "@preview/quick-maths:0.1.0": shorthands

#show: shorthands.with(
  ($==$, math.equiv),
)

$==$
cyan garnetBOT
lilac python
#

Great! Thank you!

final iris
#

?render

#import "@preview/quick-maths:0.1.0": shorthands

#show: shorthands.with(
  ($|-->$, math.arrow.r.long.bar ),
  ($\(+)$, math.plus.circle ),
  ($\(*)$, math.times.circle ),
  ($==$, math.equiv),
)

$A == B, x |--> x^2, A (+) B, A (*) B$
final iris
#

These are the ones I use